Changes between Initial Version and Version 1 of Ticket #42663


Ignore:
Timestamp:
Mar 1, 2014, 9:30:53 PM (10 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Please remember to use WikiFormatting when writing in Trac.

Your log says:

:info:configure configure: error: C compiler cannot create executables
:info:configure See `config.log' for more details.

The usual reason for this error is that you did not install the Xcode command line tools.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #42663

    • Property Summary changed from Unable to complete Myth MyQL builds to mysql5: configure: error: C compiler cannot create executables
    • Property Port mysql5 added
  • Ticket #42663 – Description

    initial v1  
    33Trying to build and install Myth 0.27  on my Mac running Mavericks.  I have installed the latest versions of Xcode and Macports compartibles with OS X 10.9.    Below is the log from the installation failure attempt:
    44
    5 version:1
    6 :debug:clean Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/databases/mysql5/work
    7 :debug:clean changing euid/egid - current euid: 0 - current egid: 0
    8 :debug:clean egid changed to: 501
    9 :debug:clean euid changed to: 502
    10 :debug:main Executing org.macports.main (mysql5)
    11 :debug:main Privilege de-escalation not attempted as not running as root.
    12 :debug:archivefetch archivefetch phase started at Sat Mar  1 15:17:19 EST 2014
    13 :msg:archivefetch --->  Fetching archive for mysql5
    14 :debug:archivefetch Executing org.macports.archivefetch (mysql5)
    15 :debug:archivefetch euid/egid changed to: 0/0
    16 :debug:archivefetch chowned /opt/local/var/macports/incoming to macports
    17 :debug:archivefetch euid/egid changed to: 502/501
    18 :info:archivefetch --->  mysql5-5.1.72_0.darwin_13.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
    19 :msg:archivefetch --->  Attempting to fetch mysql5-5.1.72_0.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/mysql5
    20 :debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
    21 :msg:archivefetch --->  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
    22 :debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
    23 :msg:archivefetch --->  Attempting to fetch mysql5-5.1.72_0.darwin_13.x86_64.tbz2 from http://packages.macports.org/mysql5
    24 :debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
    25 :debug:archivefetch Privilege de-escalation not attempted as not running as root.
    26 :debug:fetch fetch phase started at Sat Mar  1 15:17:20 EST 2014
    27 :notice:fetch --->  Fetching distfiles for mysql5
    28 :debug:fetch Can't run fetch on this port without elevated privileges. Escalating privileges back to root.
    29 :debug:fetch euid changed to: 0. egid changed to: 0.
    30 :debug:fetch changing euid/egid - current euid: 0 - current egid: 0
    31 :debug:fetch egid changed to: 501
    32 :debug:fetch euid changed to: 502
    33 :debug:fetch Executing org.macports.fetch (mysql5)
    34 :info:fetch --->  mysql-5.1.72.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/mysql51
    35 :notice:fetch --->  Attempting to fetch mysql-5.1.72.tar.gz from http://mirror.trouble-free.net/mysql_mirror/Downloads/MySQL-5.1
    36 :debug:fetch Privilege de-escalation not attempted as not running as root.
    37 :debug:checksum checksum phase started at Sat Mar  1 15:17:30 EST 2014
    38 :notice:checksum --->  Verifying checksums for mysql5
    39 :debug:checksum Executing org.macports.checksum (mysql5)
    40 :info:checksum --->  Checksumming mysql-5.1.72.tar.gz
    41 :debug:checksum Correct (rmd160) checksum for mysql-5.1.72.tar.gz
    42 :debug:checksum Correct (sha256) checksum for mysql-5.1.72.tar.gz
    43 :debug:checksum Privilege de-escalation not attempted as not running as root.
    44 :debug:extract extract phase started at Sat Mar  1 15:17:30 EST 2014
    45 :notice:extract --->  Extracting mysql5
    46 :debug:extract Executing org.macports.extract (mysql5)
    47 :info:extract --->  Extracting mysql-5.1.72.tar.gz
    48 :debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/mysql51/mysql-5.1.72.tar.gz'
    49 :debug:extract Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.9'
    50 :debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/mysql51/mysql-5.1.72.tar.gz' | /usr/bin/tar -xf -'
    51 :debug:extract Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/mysql51/mysql-5.1.72.tar.gz' | /usr/bin/tar -xf -
    52 :debug:extract changing euid/egid - current euid: 0 - current egid: 0
    53 :debug:extract egid changed to: 501
    54 :debug:extract euid changed to: 502
    55 :debug:patch patch phase started at Sat Mar  1 15:17:31 EST 2014
    56 :debug:patch Executing org.macports.patch (mysql5)
    57 :notice:patch --->  Applying patches to mysql5
    58 :info:patch --->  Applying patch-Makefile.in.diff
    59 :debug:patch Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.9'
    60 :debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72" && /usr/bin/patch -p1'
    61 :debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/databases/mysql5/files/patch-Makefile.in.diff'
    62 :info:patch patching file Makefile.in
    63 :info:patch --->  Applying patch-scripts-mysql_secure_installation.sh.diff
    64 :debug:patch Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.9'
    65 :debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72" && /usr/bin/patch -p1'
    66 :debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/databases/mysql5/files/patch-scripts-mysql_secure_installation.sh.diff'
    67 :info:patch patching file scripts/mysql_secure_installation.sh
    68 :debug:patch Executing proc-post-org.macports.patch-patch-0
    69 :debug:patch Executing reinplace: /usr/bin/sed s%@BINDIR@%/opt/local/lib/mysql5/bin%g < /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72/scripts/mysql_secure_installation.sh >@ file14
    70 :debug:patch euid/egid changed to: 0/0
    71 :debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72/scripts/mysql_secure_installation.sh to macports
    72 :debug:patch euid/egid changed to: 502/501
    73 :debug:patch euid/egid changed to: 0/0
    74 :debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72/scripts/mysql_secure_installation.sh
    75 :debug:patch euid/egid changed to: 502/501
    76 :debug:patch Privilege de-escalation not attempted as not running as root.
    77 :debug:configure configure phase started at Sat Mar  1 15:17:31 EST 2014
    78 :notice:configure --->  Configuring mysql5
    79 :debug:configure Using compiler 'MacPorts LLVM-GCC 4.2'
    80 :debug:configure Executing org.macports.configure (mysql5)
    81 :debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe -Os -fPIC -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -Os -fPIC -arch x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.9' CXX='/opt/local/bin/llvm-g++-4.2' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -Os -m64' LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64' FCFLAGS='-pipe -Os -m64' OBJC='/opt/local/bin/llvm-gcc-4.2' OBJCXX='/opt/local/bin/llvm-g++-4.2' INSTALL='/usr/bin/install -c' OBJCFLAGS='-pipe -Os -arch x86_64' OBJCXXFLAGS='-pipe -Os -arch x86_64' FFLAGS='-pipe -Os -m64' CC_PRINT_OPTIONS='YES' CC='/opt/local/bin/llvm-gcc-4.2'
    82 :debug:configure Assembled command: 'cd "/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 --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'
    83 :debug:configure Executing command line:  cd "/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 --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
    84 :info:configure checking build system type... i386-apple-darwin13.0.0
    85 :info:configure checking host system type... i386-apple-darwin13.0.0
    86 :info:configure checking target system type... i386-apple-darwin13.0.0
    87 :info:configure checking for a BSD-compatible install... /usr/bin/install -c
    88 :info:configure checking whether build environment is sane... yes
    89 :info:configure checking for a thread-safe mkdir -p... ./install-sh -c -d
    90 :info:configure checking for gawk... no
    91 :info:configure checking for mawk... no
    92 :info:configure checking for nawk... no
    93 :info:configure checking for awk... awk
    94 :info:configure checking whether make sets $(MAKE)... yes
    95 :info:configure checking how to create a ustar tar archive... gnutar
    96 :info:configure checking for style of include used by make... GNU
    97 :info:configure checking for gcc... /opt/local/bin/llvm-gcc-4.2
    98 :info:configure checking for C compiler default output file name...
    99 :info:configure configure: 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':
    100 :info:configure configure: error: C compiler cannot create executables
    101 :info:configure See `config.log' for more details.
    102 :info:configure Command failed:  cd "/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 --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
    103 :info:configure Exit code: 77
    104 :error:configure 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
    105 :error:configure org.macports.configure for port mysql5 returned: configure failure: command execution failed
    106 :debug:configure Error code: NONE
    107 :debug:configure Backtrace: configure failure: command execution failed
    108     while executing
    109 "$procedure $targetname"
    110 :info:configure Warning: targets not executed for mysql5: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
    111 :error:configure Failed to install mysql5
    112 :debug:configure could not read "/opt/local/share/man/man8/tcpdmatch.8.gz": no such file or directory
    113     while executing
    114 "::file type $file"
    115 :notice:configure Please see the log file for port mysql5 for details:
    116     /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/main.log