[pycrypto] installing pycrypto on OS X 10.6
Brendan Simon (eTRIX)
brendan.simon at etrix.com.au
Mon Jul 19 06:48:12 CST 2010
I have the following error while installing pycrypto on Mac OS X 10.6
(via easy_install).
$ sudo easy_install -z pycrypto
Password:
Searching for pycrypto
Reading http://pypi.python.org/simple/pycrypto/
Reading http://pycrypto.sourceforge.net
Reading http://www.amk.ca/python/code/crypto
Reading http://www.pycrypto.org/
Best match: pycrypto 2.1.0
Downloading http://www.pycrypto.org/files/pycrypto-2.1.0.tar.gz
Processing pycrypto-2.1.0.tar.gz
Running pycrypto-2.1.0/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-zE_nrE/pycrypto-2.1.0/egg-dist-tmp-izxAlH
warning: GMP library not found; Not building Crypto.PublicKey._fastmath.
Compiling with an SDK that doesn't seem to exist:
/Developer/SDKs/MacOSX10.4u.sdk
Please check your Xcode installation
cc1: error: unrecognized command line option "-Wno-long-double"
cc1: error: unrecognized command line option "-Wno-long-double"
lipo: can't figure out the architecture type of: /var/tmp//cc1UrVQ6.out
error: Setup script exited with error: command 'gcc' failed with
exit status 1
Why does the installer insist in using SDK for OS X 10.4 ??
Other easy_installs don't seem to have that restriction !!
My OS X 10.6 system has the following SDKs installed.
$ ls -l /Developer/SDKs/
drwxr-xr-x 7 root wheel 238 30 Jun 2009 MacOSX10.5.sdk
drwxr-xr-x 7 root wheel 238 3 Aug 2009 MacOSX10.6.sdk
I have read one solution is to install the SDK 10.4, but that seems a
bit of a kludge.
Has anyone got this working with SDK 10.6 ??
Thanks, Brendan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.dlitz.net/pipermail/pycrypto/attachments/20100719/1dfa0657/attachment.html
More information about the pycrypto
mailing list