Error in compiling Python on OS X

Kevin hekevintran at gmail.com
Sun Jul 26 18:24:25 EDT 2009


I am trying to compile Python 2.6.2 on Mac OS X 10.5.7.  I have Xcode
3.1.3 installed.

The error I got is below.

$ ./configure --prefix=/Users/me/python
checking for --with-universal-archs... 32-bit
checking MACHDEP... darwin
checking EXTRAPLATDIR... $(PLATMACDIRS)
checking machine type as reported by uname -m... i386
checking for --without-gcc... no
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

Please send any ideas.



More information about the Python-list mailing list