<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#ffffff">
I have the following error while installing pycrypto on Mac OS X
10.6 (via easy_install).<br>
<br>
<blockquote><tt>$ sudo easy_install -z pycrypto<br>
Password:<br>
Searching for pycrypto<br>
Reading <a class="moz-txt-link-freetext" href="http://pypi.python.org/simple/pycrypto/">http://pypi.python.org/simple/pycrypto/</a><br>
Reading <a class="moz-txt-link-freetext" href="http://pycrypto.sourceforge.net">http://pycrypto.sourceforge.net</a><br>
Reading <a class="moz-txt-link-freetext" href="http://www.amk.ca/python/code/crypto">http://www.amk.ca/python/code/crypto</a><br>
Reading <a class="moz-txt-link-freetext" href="http://www.pycrypto.org/">http://www.pycrypto.org/</a><br>
Best match: pycrypto 2.1.0<br>
Downloading <a class="moz-txt-link-freetext" href="http://www.pycrypto.org/files/pycrypto-2.1.0.tar.gz">http://www.pycrypto.org/files/pycrypto-2.1.0.tar.gz</a><br>
Processing pycrypto-2.1.0.tar.gz<br>
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<br>
warning: GMP library not found; Not building
Crypto.PublicKey._fastmath.<br>
Compiling with an SDK that doesn't seem to exist:
/Developer/SDKs/MacOSX10.4u.sdk<br>
Please check your Xcode installation<br>
cc1: error: unrecognized command line option "-Wno-long-double"<br>
cc1: error: unrecognized command line option "-Wno-long-double"<br>
lipo: can't figure out the architecture type of:
/var/tmp//cc1UrVQ6.out<br>
error: Setup script exited with error: command 'gcc' failed with
exit status 1</tt><br>
</blockquote>
<br>
Why does the installer insist in using SDK for OS X 10.4 ??<br>
Other easy_installs don't seem to have that restriction !!<br>
<br>
My OS X 10.6 system has the following SDKs installed.<br>
<blockquote><tt>$ ls -l /Developer/SDKs/<br>
drwxr-xr-x 7 root wheel 238 30 Jun 2009 MacOSX10.5.sdk<br>
drwxr-xr-x 7 root wheel 238 3 Aug 2009 MacOSX10.6.sdk<br>
</tt></blockquote>
<br>
I have read one solution is to install the SDK 10.4, but that seems
a bit of a kludge.<br>
Has anyone got this working with SDK 10.6 ??<br>
<br>
Thanks, Brendan.<br>
<br>
</body>
</html>