Pycrypto will not build on Mac OS X 10.6 up with Xcode 4 installed.

Bug #799985 reported by Klynton on 2011-06-21
This bug affects 3 people
Affects Status Importance Assigned to Milestone

Bug Description

There are numerous search results for this but I was unable to find a ticket on this bug tracker for this:

I've seen 100s of work arounds, however, not one of them fixes the actual problem which is that pycrypto tries to use the 10.4 SDK and adds the -ppc compilation flag even if you have set:

ARCHFLAGS="-arch i386 -arch x86_64"

To fix the problem the compile options either need to respect ARCHFLAGS, detect the version of Xcode and install accordingly, or just remove -ppc completely.

Pycrypto doesn't install using easy_install or pip because they try to reinstall pycrypto which has to be built from source in order to work. (The only reason I'm even using pycrypto is to use Fabric.)

Dwayne Litzenberger (dlitz) wrote :

Hi, thanks for the bug report.

This looks like a Python setuptools/distutils issue, not a PyCrypto issue.

Changed in pycrypto:
status: New → Incomplete
Dwayne Litzenberger (dlitz) wrote :

It looks like the issue is being tracked here:

Dwayne Litzenberger (dlitz) wrote :

Correction: The issue is being tracked here:

Changed in pycrypto:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.