Opened 12 years ago

Closed 10 years ago

#33400 closed defect (invalid)

mysql5: configure error

Reported by: elim.qiu@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: pixilla (Bradley Giesbrecht), peterwkknibbe@…
Port: mysql5

Description (last modified by ryandesign (Ryan Carsten Schmidt))

miniMac:~ elim$ sudo port install mysql5 mysql5-server
--->  Computing dependencies for mysql5
--->  Configuring mysql5
Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details)
Log for mysql5 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Attachments (1)

main.log (17.3 KB) - added by elim.qiu@… 12 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…
Port: mysql5 added
Summary: install mysql5 to snow leopart errormysql5: configure error

"sudo port clean mysql5" and try again. If it fails again, attach the main.log file.

Changed 12 years ago by elim.qiu@…

Attachment: main.log added

comment:2 Changed 12 years ago by jmroot (Joshua Root)

Cc: pixilla@… added

Need to see the config.log.

comment:3 Changed 12 years ago by pixilla (Bradley Giesbrecht)

Do you have xcode installed? FAQ missingxcode

comment:4 Changed 10 years ago by peterwkknibbe@…

I have a similar problem. I have Xcode installed but cannot install mysql5-server. The terminal report is as follows:

sudo port clean mysql5 Password: ---> Cleaning mysql5 peters-mbp-2:local peterknibbe$ sudo port install mysql5-server ---> Computing dependencies for mysql5-server ---> Dependencies to be installed: mysql5 ---> Fetching archive for mysql5 Warning: Your DNS servers incorrectly claim to know the address of nonexistent hosts. This may cause checksum mismatches for some ports. ---> Attempting to fetch mysql5-5.1.72_0.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/mysql5 ---> Attempting to fetch mysql5-5.1.72_0.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/mysql5 ---> Attempting to fetch mysql5-5.1.72_0.darwin_13.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/mysql5 ---> Fetching distfiles for mysql5 ---> Verifying checksums for mysql5 ---> Extracting mysql5 ---> Applying patches to mysql5 ---> Configuring mysql5 Error: Failed to configure mysql5, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72/config.log Error: org.macports.configure for port mysql5 returned: configure failure: command execution failed Error: Failed to install mysql5 Please see the log file for port mysql5 for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/main.log

Error: The following dependencies were not installed: mysql5 To report a bug, follow the instructions in the guide:

http://guide.macports.org/#project.tickets

Error: Processing of port mysql5-server failed peters-mbp-2:local peterknibbe$

The content of the log file is as follows: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake.

It was created by MySQL Server configure 5.1.72, which was generated by GNU Autoconf 2.63. Invocation command line was

$ ./configure --prefix=/opt/local --mandir=/opt/local/share/man --infodir=/opt/local/share/info --localstatedir=/opt/local/var/db/mysql5 --libdir=/opt/local/lib/mysql5 --bindir=/opt/local/lib/mysql5/bin --includedir=/opt/local/include/mysql5 --datadir=/opt/local/share/mysql5 --sysconfdir=/opt/local/etc/mysql5 --with-zlib-dir=/opt/local --with-ssl=/opt/local --with-extra-charsets=complex --with-unix-socket-path=/opt/local/var/run/mysql5/mysqld.sock --with-mysqld-user=_mysql --without-docs --with-plugins=all --enable-thread-safe-client --without-readline --with-embedded-server --with-pic

## --------- ## ## Platform. ## ## --------- ##

hostname = peters-mbp-2.home uname -m = x86_64 uname -r = 13.1.0 uname -s = Darwin uname -v = Darwin Kernel Version 13.1.0: Thu Jan 16 19:40:37 PST 2014; root:xnu-2422.90.20~2/RELEASE_X86_64

/usr/bin/uname -p = i386 /bin/uname -X = unknown

/bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = Mach kernel version:

Darwin Kernel Version 13.1.0: Thu Jan 16 19:40:37 PST 2014; root:xnu-2422.90.20~2/RELEASE_X86_64

Kernel configured for up to 4 processors. 2 processors are physically available. 4 processors are logically available. Processor type: i486 (Intel 80486) Processors active: 0 1 2 3 Primary memory available: 4.00 gigabytes Default processor set: 163 tasks, 795 threads, 4 processors Load average: 1.60, Mach factor: 2.66 /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown

PATH: /opt/local/bin PATH: /opt/local/sbin PATH: /bin PATH: /sbin PATH: /usr/bin PATH: /usr/sbin

## ----------- ## ## Core tests. ## ## ----------- ##

configure:2572: checking build system type configure:2590: result: i386-apple-darwin13.1.0 configure:2612: checking host system type configure:2627: result: i386-apple-darwin13.1.0 configure:2649: checking target system type configure:2664: result: i386-apple-darwin13.1.0 configure:2711: checking for a BSD-compatible install configure:2779: result: /usr/bin/install -c configure:2790: checking whether build environment is sane configure:2833: result: yes configure:2858: checking for a thread-safe mkdir -p configure:2897: result: ./install-sh -c -d configure:2910: checking for gawk configure:2940: result: no configure:2910: checking for mawk configure:2940: result: no configure:2910: checking for nawk configure:2940: result: no configure:2910: checking for awk configure:2926: found /usr/bin/awk configure:2937: result: awk configure:2948: checking whether make sets $(MAKE) configure:2970: result: yes configure:3149: checking how to create a ustar tar archive configure:3162: tar --version bsdtar 2.8.3 - libarchive 2.8.3 configure:3165: $? = 0 configure:3205: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar configure:3208: $? = 0 configure:3212: tar -xf - <conftest.tar configure:3215: $? = 0 configure:3228: result: gnutar configure:3272: checking for style of include used by make configure:3300: result: GNU configure:3370: checking for gcc configure:3397: result: /opt/local/bin/llvm-gcc-4.2 configure:3629: checking for C compiler version configure:3637: /opt/local/bin/llvm-gcc-4.2 --version >&5 i686-apple-darwin13-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11) (MacPorts llvm-gcc42 2336.11_1) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3641: $? = 0 configure:3648: /opt/local/bin/llvm-gcc-4.2 -v >&5 Using built-in specs. Target: i686-apple-darwin13 Configured with: /opt/local/var/macports/build/_opt_mports_dports_lang_llvm-gcc42/llvm-gcc42/work/objroot/src/configure --disable-checking --enable-werror --prefix=/opt/local --mandir=/opt/local/share/man --enable-languages=c,c++,objc,obj-c++ --libexecdir=/opt/local/libexec/llvm-gcc42 --libdir=/opt/local/lib/llvm-gcc42 --includedir=/opt/local/include/llvm-gcc42 --program-prefix=llvm- --program-suffix=-4.2 --with-system-zlib --disable-nls --with-slibdir=/usr/lib --build=x86_64-apple-darwin13 --enable-llvm=/opt/local/var/macports/build/_opt_mports_dports_lang_llvm-gcc42/llvm-gcc42/work/objroot/dst-llvmCore/Developer/usr/local --enable-werror-always --program-prefix=i686-apple-darwin13- --host=x86_64-apple-darwin13 --target=i686-apple-darwin13 --with-gxx-include-dir=/usr/include/c++/4.2.1 Thread model: posix gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11) (MacPorts llvm-gcc42 2336.11_1) configure:3652: $? = 0 configure:3659: /opt/local/bin/llvm-gcc-4.2 -V >&5 llvm-gcc-4.2: argument to `-V' is missing configure:3663: $? = 1 configure:3686: checking for C compiler default output file name configure:3708: /opt/local/bin/llvm-gcc-4.2 -pipe -Os -fPIC -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5 ld: library not found for -lcrt1.10.6.o collect2: ld returned 1 exit status configure:3712: $? = 1 configure:3750: result: configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "MySQL Server" | #define PACKAGE_TARNAME "mysql" | #define PACKAGE_VERSION "5.1.72" | #define PACKAGE_STRING "MySQL Server 5.1.72" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "mysql" | #define VERSION "5.1.72" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3756: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72': configure:3759: error: C compiler cannot create executables See `config.log' for more details.

## ---------------- ## ## Cache variables. ## ## ---------------- ##

ac_cv_build=i386-apple-darwin13.1.0 ac_cv_env_CCASFLAGS_set= ac_cv_env_CCASFLAGS_value= ac_cv_env_CCAS_set= ac_cv_env_CCAS_value= ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=/opt/local/bin/llvm-gcc-4.2 ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-pipe -Os -fPIC -arch x86_64' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value=-I/opt/local/include ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-pipe -Os -fPIC -arch x86_64' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=/opt/local/bin/llvm-g++-4.2 ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64' ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=i386-apple-darwin13.1.0 ac_cv_prog_AWK=awk ac_cv_prog_ac_ct_CC=/opt/local/bin/llvm-gcc-4.2 ac_cv_prog_make_make_set=yes ac_cv_target=i386-apple-darwin13.1.0 am_cv_prog_tar_ustar=gnutar

## ----------------- ## ## Output variables. ## ## ----------------- ##

ABI_CHECK= ACLOCAL='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72/missing --run aclocal-1.10' ALLOCA= AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE= AMTAR='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72/missing --run tar' AM_CFLAGS= AM_CXXFLAGS= AR= ARFLAGS= AS= ASFLAGS= ASSEMBLER_FALSE= ASSEMBLER_TRUE= ASSEMBLER_sparc32_FALSE= ASSEMBLER_sparc32_TRUE= ASSEMBLER_sparc64_FALSE= ASSEMBLER_sparc64_TRUE= ASSEMBLER_x86_FALSE= ASSEMBLER_x86_TRUE= AUTOCONF='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72/missing --run autoconf' AUTOHEADER='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72/missing --run autoheader' AUTOMAKE='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72/missing --run automake-1.10' AVAILABLE_LANGUAGES= AWK='awk' BUILD_INNODB_TOOLS_FALSE= BUILD_INNODB_TOOLS_TRUE= CC='/opt/local/bin/llvm-gcc-4.2' CCAS= CCASDEPMODE= CCASFLAGS= CCDEPMODE= CC_VERSION= CFLAGS='-pipe -Os -fPIC -arch x86_64' CHECK_PID= CHMOD= CLIENT_EXTRA_LDFLAGS= CLIENT_LIBS= CLIENT_THREAD_LIBS= CMP= COMPILATION_COMMENT= CONF_COMMAND= CP= CPP= CPPFLAGS='-I/opt/local/include' CXX='/opt/local/bin/llvm-g++-4.2' CXXCPP= CXXDEPMODE= CXXFLAGS='-pipe -Os -fPIC -arch x86_64' CXXLDFLAGS= CXX_VERSION= CYGPATH_W='echo' DARWIN_MWCC_FALSE= DARWIN_MWCC_TRUE= DEFS= DEPDIR='.deps' DIFF= DOT_FRM_VERSION= DOXYGEN= DSYMUTIL= DUMPBIN= DVIS= ECHO_C='\c' ECHO_N= ECHO_T= EGREP= EXEEXT= FGREP= FIND_PROC= GETCONF= GREP= GXX= HAVE_NETWARE_FALSE= HAVE_NETWARE_TRUE= HAVE_YASSL_FALSE= HAVE_YASSL_TRUE= HOSTNAME='peters-mbp-2.home' INNODB_DYNAMIC_CFLAGS= INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' KILL= LD= LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64' LD_VERSION_SCRIPT= LIBDL= LIBEDIT_LOBJECTS= LIBOBJS= LIBS= LIBTOOL= LIB_EXTRA_CCFLAGS= LIPO= LM_CFLAGS= LN= LN_CP_F= LN_S= LTLIBOBJS= MACHINE_TYPE= MAKEINDEX= MAKEINFO='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72/missing --run makeinfo' MAKE_BINARY_DISTRIBUTION_OPTIONS= MAKE_SHELL= MKDIR_P='./install-sh -c -d' MV= MYSQLD_DEFAULT_SWITCHES= MYSQLD_EXTRA_LDFLAGS= MYSQLD_EXTRA_LIBS= MYSQLD_USER= MYSQL_BASE_VERSION= MYSQL_COPYRIGHT_YEAR= MYSQL_NO_DASH_VERSION= MYSQL_PREVIOUS_BASE_VERSION= MYSQL_SERVER_SUFFIX= MYSQL_TCP_PORT= MYSQL_TCP_PORT_DEFAULT= MYSQL_UNIX_ADDR= MYSQL_U_SCORE_VERSION= MYSQL_VERSION_ID= NDB_DEFS= NDB_LD_VERSION_SCRIPT= NDB_SCI_INCLUDES= NDB_SCI_LIBS= NDB_SHARED_LIB_MAJOR_VERSION= NDB_SHARED_LIB_VERSION= NDB_SIZEOF_CHAR= NDB_SIZEOF_CHARP= NDB_SIZEOF_INT= NDB_SIZEOF_LONG= NDB_SIZEOF_LONG_LONG= NDB_SIZEOF_SHORT= NDB_VERSION_BUILD= NDB_VERSION_MAJOR= NDB_VERSION_MINOR= NDB_VERSION_STATUS= NEED_THREAD_FALSE= NEED_THREAD_TRUE= NM= NMEDIT= NOINST_LDFLAGS= NON_THREADED_LIBS= OBJDUMP= OBJEXT= OTOOL64= OTOOL= PACKAGE='mysql' PACKAGE_BUGREPORT= PACKAGE_NAME='MySQL Server' PACKAGE_STRING='MySQL Server 5.1.72' PACKAGE_TARNAME='mysql' PACKAGE_VERSION='5.1.72' PATH_SEPARATOR=':' PDFLATEX= PDFMANUAL= PERL5= PERL= PROTOCOL_VERSION= PS= RANLIB= RM= SAVE_ASFLAGS= SAVE_CC= SAVE_CFLAGS= SAVE_CXX= SAVE_CXXFLAGS= SAVE_CXXLDFLAGS= SAVE_LDFLAGS= SED= SET_MAKE= SHARED_LIB_MAJOR_VERSION= SHARED_LIB_VERSION= SHELL='/bin/sh' STATIC_NSS_FLAGS= STRIP= SYSTEM_TYPE= TAR= TARGET_LINUX= TERMCAP_LIB= TEST_NDBCLUSTER= THREAD_LOBJECTS= THREAD_SAFE_CLIENT_FALSE= THREAD_SAFE_CLIENT_TRUE= VERSION='5.1.72' WRAPLIBS= YACC= YACC_HEXT= ZLIB_DEPS= ZLIB_INCLUDES= ZLIB_LIBS= ac_ct_CC='/opt/local/bin/llvm-gcc-4.2' ac_ct_CXX= ac_ct_DUMPBIN= amfastdepCCAS_FALSE= amfastdepCCAS_TRUE= amfastdepCC_FALSE= amfastdepCC_TRUE= amfastdepCXX_FALSE= amfastdepCXX_TRUE= aminclude='include' amisrc= amleading_dot='.' amquote= amtar='tar --format=ustar -chf - "$$tardir"' amuntar='tar -xf -' bindir='/opt/local/lib/mysql5/bin' build='i386-apple-darwin13.1.0' build_alias= build_cpu='i386' build_os='darwin13.1.0' build_vendor='apple' condition_dependent_plugin_includes= condition_dependent_plugin_links= condition_dependent_plugin_modules= condition_dependent_plugin_objects= datadir='/opt/local/share/mysql5' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' docs_dirs= dvidir='${docdir}' exec_prefix='NONE' extra_docs= host='i386-apple-darwin13.1.0' host_alias= host_cpu='i386' host_os='darwin13.1.0' host_vendor='apple' htmldir='${docdir}' includedir='/opt/local/include/mysql5' infodir='/opt/local/share/info' innodb_system_libs= install_sh='$(SHELL) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72/install-sh' libdir='/opt/local/lib/mysql5' libexecdir='${exec_prefix}/libexec' libmysqld_dirs= localedir='${datarootdir}/locale' localstatedir='/opt/local/var/db/mysql5' lt_ECHO='/bin/echo' man1_files= man8_files= man_dirs= mandir='/opt/local/share/man' mkdir_p='$(top_builddir)/./install-sh -c -d' mysql_pg_dirs= mysql_pg_distdirs= mysql_pg_unittest_dirs= mysql_plugin_defs= mysql_plugin_dirs= mysql_plugin_libs= mysql_se_dirs= mysql_se_distdirs= mysql_se_unittest_dirs= ndb_bin_am_ldflags= ndb_cxxflags_fix= ndb_mgmclient_libs= ndb_opt_subdirs= ndb_port= ndb_transporter_opt_objs= ndbcluster_includes= ndbcluster_libs= ndbcluster_system_libs= netware_dir= oldincludedir='/usr/include' openssl_includes= openssl_libs= pdfdir='${docdir}' plugin_archive_shared_target= plugin_archive_static_target= plugin_blackhole_shared_target= plugin_blackhole_static_target= plugin_csv_shared_target= plugin_csv_static_target= plugin_daemon_example_shared_target= plugin_daemon_example_static_target= plugin_example_shared_target= plugin_example_static_target= plugin_federated_shared_target= plugin_federated_static_target= plugin_ftexample_shared_target= plugin_ftexample_static_target= plugin_heap_shared_target= plugin_heap_static_target= plugin_innobase_shared_target= plugin_innobase_static_target= plugin_innodb_plugin_shared_target= plugin_innodb_plugin_static_target= plugin_myisam_shared_target= plugin_myisam_static_target= plugin_myisammrg_shared_target= plugin_myisammrg_static_target= plugin_ndbcluster_shared_target= plugin_ndbcluster_static_target= plugin_partition_shared_target= plugin_partition_static_target= prefix='/opt/local' program_transform_name='s,x,x,' psdir='${docdir}' readline_basedir= readline_dir= readline_h_ln_cmd= readline_link= readline_topdir= sbindir='${exec_prefix}/sbin' server_scripts= sharedstatedir='${prefix}/com' sql_client_dirs= sql_server= sql_server_dirs= sql_union_dirs= sysconfdir='/opt/local/etc/mysql5' target='i386-apple-darwin13.1.0' target_alias= target_cpu='i386' target_os='darwin13.1.0' target_vendor='apple' tools_dirs= uname_prog= yassl_dir= yassl_h_ln_cmd= yassl_libs= yassl_taocrypt_extra_cxxflags= yassl_thread_cxxflags= zlib_dir=

## ----------- ## ## confdefs.h. ## ## ----------- ##

#define PACKAGE_NAME "MySQL Server" #define PACKAGE_TARNAME "mysql" #define PACKAGE_VERSION "5.1.72" #define PACKAGE_STRING "MySQL Server 5.1.72" #define PACKAGE_BUGREPORT "" #define PACKAGE "mysql" #define VERSION "5.1.72"

configure: exit 77

<macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72/config.log" 515L, 15506C

This log refers to being unable to compile and build an executable in C. It also says to look at the config.log which seems circular because this is the config.log. Do you have any suggestions for me?

Version 0, edited 10 years ago by peterwkknibbe@… (next)

comment:5 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: peterwkknibbe@… added
Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.