Failure to build, MAC OSX 10.6.8 Xcode 4.2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python-Crypto |
New
|
Undecided
|
Unassigned |
Bug Description
Am unable to build pycrypto-2.5 on one machine after successfully building, installing, and using it on a different machine earlier today. The SUCCESSFUL machine is running OSX 10.5.X on a PPC. I mention that machine only to indicate that I am able to follow the instructions in the README.
The UNSUCCESSFUL machine is running OSX 10.6.8 and xcode 4.2, Intel core duo, i386, Python 2.5.1. Upon doing "python setup.py build" everything seems to be going swimmingly until
...
configure: creating ./config.status
config.status: creating src/config.h
warning: GMP or MPIR library not found; Not building Crypto.
building 'Crypto.Hash._MD2' extension
creating build/temp.
creating build/temp.
Compiling with an SDK that doesn't seem to exist: /Developer/
Please check your Xcode installation
gcc -arch ppc -arch i386 -isysroot /Developer/
llvm-gcc-4.2: error trying to exec '/usr/bin/
cc1: error: unrecognized command line option "-Wno-long-double"
lipo: can't figure out the architecture type of: /var/folders/
error: command 'gcc' failed with exit status 255
I note the "Please check your Xcode installation", which is why I indicated my Xcode version earlier. I am ahead of the curve xcode-wise for osx10.6, so perhaps this is the problem. (xcode 4.2 is not normally available for osx10.6 users). Or, perhaps that's just a red herring.
I also notice the build process fails while building a ppc version, which I don't want or need for this machine. Is there any way I can tell the build process to just build the version for this machine, and not to bother with a fat binary?
Thanks for any help,
Frank B
This is a duplicate of LP#799985.