building apple-gcc42 fails: C compiler cannot create executables.

Admin admin2 at enabled.com
Sun Dec 7 05:22:02 PST 2008


Hi there,

I am not sure where to begin to troubleshoot this issue.  Anybody know 
what to do here?  Building apple-gcc42 fails.


sh-3.2# port install apple-gcc42
--->  Configuring apple-gcc42
Error: Target org.macports.configure returned: configure failure: shell 
command " cd 
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_apple-gcc42/work/build" 
&& 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_apple-gcc42/work/gcc_42-5531/configure 
--prefix=/opt/local/lib/apple-gcc42 --enable-languages=c,objc 
--program-suffix=-apple-4.2 " returned error 1
Command output: loading cache ./config.cache
checking host system type... powerpc-apple-darwin9.5.0
checking target system type... powerpc-apple-darwin9.5.0
checking build system type... powerpc-apple-darwin9.5.0
checking for a BSD compatible install... /usr/bin/install
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... /usr/bin/gcc-4.0
checking whether the C compiler (/usr/bin/gcc-4.0  ) works... no
configure: error: installation or configuration problem: C compiler 
cannot create executables.

Error: Status 1 encountered during processing.
sh-3.2# whoami
root



More information about the macports-users mailing list