can't compile on lion

Daniel nefar at otherware.org
Wed Aug 31 11:05:50 PDT 2011


Hey, I just tried compiling macports after installing Xcode on Lion. I get
this:

[~/tmp/MacPorts-2.0.1]$ ./configure --prefix=/Users/daniel/local/macports
--with-no-root-privileges
checking build system type... x86_64-apple-darwin11.1.0
checking host system type... x86_64-apple-darwin11.1.0
checking target system type... x86_64-apple-darwin11.1.0
checking MacPorts version... 2.0.1
checking for sw_vers... /usr/bin/sw_vers
checking for defaults... /usr/bin/defaults
checking for xcode-select... no
checking Mac OS X version... 10.7.1
checking Xcode version... 3.2.4
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/Users/daniel/tmp/MacPorts-2.0.1':
configure: error: C compiler cannot create executables
See `config.log' for more details



Any ideas? Config.log doesn't have anything of interest. (exit 77)

I had to put /Developer/usr/bin to find the tools at all.


-- 
"America was founded by men who understood that the threat of domestic
tyranny is as great as any threat from abroad. If we want to be worthy of
their legacy, we must resist the rush toward ever-increasing state control
of our society. Otherwise, our own government will become a greater threat
to our freedoms than any foreign terrorist."
 - Ron Paul, Texas Straight Talk, May 31, 2004
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20110831/1f174d75/attachment.html>


More information about the macports-dev mailing list