View Single Post
Old 12-12-2009, 11:08 AM   #107
llreader
Mesmerist
llreader ought to be getting tired of karma fortunes by now.llreader ought to be getting tired of karma fortunes by now.llreader ought to be getting tired of karma fortunes by now.llreader ought to be getting tired of karma fortunes by now.llreader ought to be getting tired of karma fortunes by now.llreader ought to be getting tired of karma fortunes by now.llreader ought to be getting tired of karma fortunes by now.llreader ought to be getting tired of karma fortunes by now.llreader ought to be getting tired of karma fortunes by now.llreader ought to be getting tired of karma fortunes by now.llreader ought to be getting tired of karma fortunes by now.
 
llreader's Avatar
 
Posts: 331
Karma: 506558
Join Date: Sep 2009
Location: Spain
Device: PRS-600 Silver. Much nicer than I expected.
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!
llreader is offline   Reply With Quote