I am having trouble compiling pycrypto. I have the GCC-4.2 installed, but it gives me this error when I try sudo python setup.py build (or with python2.6):
Quote:
sudo python setup.py build
running build
running build_py
running build_ext
building 'Crypto.Hash.MD2' extension
Compiling with an SDK that doesn't seem to exist: /Developer/SDKs/MacOSX10.4u.sdk
Please check your Xcode installation
gcc-4.0 -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -g -bundle -undefined dynamic_lookup build/temp.macosx-10.3-fat-2.6/src/MD2.o -o build/lib.macosx-10.3-fat-2.6/Crypto/Hash/MD2.so
ld: library not found for -lbundle1.o
collect2: ld returned 1 exit status
ld: library not found for -lbundle1.o
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccBhIbdi.out (No such file or directory)
error: command 'gcc-4.0' failed with exit status 1
|
There is no /Developer/SDKs/MacOSX10.4u.sdk
I have /Developer/SDKs/MacOSX10.5.sdk and /Developer/SDKs/MacOSX10.6.sdk
I think I must have something hanging around from an earlier installation of the SDK that is telling python to use the GCC-4.0
I do have macports AND fink installed, maybe that is causing problems (I had some trouble compiling some ports when I upgraded to Snow Leopard).
Any ideas? Thanks!