I'm sure people are generally going to be interested in information
about Mountain Lion and Macports, but with Xcode 4.3 just out things
are a little overloaded at the moment!

Scott

On Fri, Feb 17, 2012 at 9:54 AM, Artemio Gonzalez Lopez
<artem...@mac.com> wrote:
> Yesterday I installed Mountain Lion and Xcode 4.4 (including the Command Line 
> Tools") in my MacBook Pro 15" (2011). While I succeeded in compling MacPorts 
> from source (after completely erasing the previous installation), when I try 
> to install any port via "sudo port -d install foo" I get the following error 
> at the configure phase:
>
> checking for gcc... /Applications/Xcode.app/Contents/Developer/usr/bin/clang
> checking for C compiler default output file name...
> configure: error: C compiler cannot create executables
> See `config.log' for more details.
> configure: error: ./configure failed for lib
> shell command " cd 
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gperf/gperf/work/gperf-3.0.4"
>  && ./configure --prefix=/opt/local --infodir=/opt/local/share/info " 
> returned error 1
>
> There is obviously some problem in properly detecting the path to the C 
> compiler, since clang it's not in 
> /Applications/Xcode.app/Contents/Developer/usr/bin/ but in /usr/bin. Could 
> anybody suggest a fix to this?
>
> Thanks in advance,
>
> Artemio
>
>
> Artemio Gonzalez Lopez
> artem...@me.com
>
>
>
> _______________________________________________
> macports-users mailing list
> macports-users@lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to