[MacPorts] #33041: expat: configure: error: C compiler cannot create executables

MacPorts noreply at macports.org
Fri Feb 3 07:39:40 PST 2012


#33041: expat: configure: error: C compiler cannot create executables
-----------------------------------+----------------------------------------
  Reporter:  srabanti@…            |       Owner:  macports-tickets@…                   
      Type:  defect                |      Status:  reopened                             
  Priority:  Normal                |   Milestone:                                       
 Component:  ports                 |     Version:  2.0.3                                
Resolution:                        |    Keywords:                                       
      Port:  expat                 |  
-----------------------------------+----------------------------------------
Changes (by srabanti@…):

  * status:  closed => reopened
  * resolution:  invalid =>


Comment:

 Hi
 I checked the xcode installation and it works fine. Through App store it
 is installed and version is 4.2.1 and it automatically takes care of the
 installation. Unlike previous version the installation is done without any
 options given.
 I have installed Macports and wine before and it works fine with Xcode
 4.1. However when I tried this on Xcode 4.2.1 the wine installation fails.

 Here is the error log:


 version:1
 :debug:main changing euid/egid - current euid: 0 - current egid: 0
 :debug:main egid changed to: 501
 :debug:main euid changed to: 502
 :debug:main Executing org.macports.main (expat)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.archivefetch (expat)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.fetch (expat)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.checksum (expat)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.extract (expat)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.patch (expat)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:configure configure phase started at Fri Feb  3 10:08:04 EST 2012
 :notice:configure --->  Configuring expat
 :debug:configure Using compiler 'Mac OS X clang'
 :debug:configure Executing org.macports.configure (expat)
 :debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2
 -arch i386 -arch ppc' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2
 -arch i386 -arch ppc' LIBRARY_PATH='/opt/local/lib'
 MACOSX_DEPLOYMENT_TARGET='10.7' CXX='/D

 i386 -arch ppc' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2 -arch
 i386 -arch ppc' LIBRARY_PATH='/opt/local/lib'
 MACOSX_DEPLOYMENT_TARGET='10.7' CXX='/Developer/usr/bin/clang++'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/work/.CC_PRINT_OPTIONS'
 F90FLAGS='-pipe -O2' LDFLAGS='-L/opt/local/lib -arch i386 -arch ppc'
 OBJC='/Developer/usr/bin/clang' FCFLAGS='-pipe -O2'
 INSTALL='/usr/bin/install -c' OBJCFLAGS='-pipe -O2 -arch i386 -arch ppc'
 FFLAGS='-pipe -O2' CC_PRINT_OPTIONS='YES' CC='/Developer/usr/bin/clang'
 :debug:configure Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/work/expat-2.0.1"
 && ./configure --prefix=/opt/local --disable-dependency-tracking
 --mandir=/opt/local/share/man'
 :debug:configure Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/work/expat-2.0.1"
 && ./configure --prefix=/opt/local --disable-dependency-tracking
 --mandir=/opt/local/share/man
 :info:configure checking build system type... i386-apple-darwin11.2.0
 :info:configure checking host system type... i386-apple-darwin11.2.0
 :info:configure checking for gcc... /Developer/usr/bin/clang
 :info:configure checking for C compiler default output file name...
 configure: error: C compiler cannot create executables
 :info:configure See `config.log' for more details.
 :info:configure shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/work/expat-2.0.1"
 && ./configure --prefix=/opt/local --disable-dependency-track:
 info:configure checking build system type... i386-apple-darwin11.2.0
 :info:configure checking host system type... i386-apple-darwin11.2.0
 :info:configure checking for gcc... /Developer/usr/bin/clang
 :info:configure checking for C compiler default output file name...
 configure: error: C compiler cannot create executables
 :info:configure See `config.log' for more details.
 :info:configure shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/work/expat-2.0.1"
 && ./configure --prefix=/opt/local --disable-dependency-tracking
 --mandir=/opt/local/share/man " returned error 77
 :error:configure Target org.macports.configure returned: configure
 failure: shell command failed (see log for details)
 :debug:configure Backtrace: configure failure: shell command failed (see
 log for details)
     while executing
 "$procedure $targetname"
 :info:configure Warning: the following items did not execute (for expat):
 org.macports.activate org.macports.configure org.macports.build
 org.macports.destroot org.macports.install
 :error:configure Failed to install expat
 :debug:configure couldn't open
 "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex":
 no such file or directory
     while executing
 "open [file join $dir tclIndex]"
 :notice:configure Log for expat is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.log

-- 
Ticket URL: <https://trac.macports.org/ticket/33041#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list