macports broken under Mountain Lion and Xcode 4.4?

Scott Webster sewebster at gmail.com
Fri Feb 17 19:32:45 PST 2012


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
<artemiog at 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
> artemiog at me.com
>
>
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


More information about the macports-users mailing list