View Single Post
Old 09-25-2009, 09:00 AM   #29
edembowski has a complete set of Star Wars action figures.edembowski has a complete set of Star Wars action figures.edembowski has a complete set of Star Wars action figures.edembowski has a complete set of Star Wars action figures.
edembowski's Avatar
Posts: 138
Karma: 372
Join Date: Apr 2008
Location: New York, NY
Device: Sony PRS-600, Nook Color, iPad
Originally Posted by BookLoverToo View Post
Sorry, but I'm relatively new to Mac. How would I recompile it? Thanks again.
Remember, Mac == Unix.

EDIT: Source tar ball available at

Download the source using git:

git clone git://
(more information on git here:

From the readme:


PyCrypto is written and tested using Python version 2.1 through 2.6,
though support for Python 2.1 will be dropped soon.  Python 1.5.2 is
not supported.

The modules are packaged using the Distutils, so you can simply run
"python build" to build the package, and "python
install" to install it.

If the script crashes with a DistutilsPlatformError
complaining that the file /usr/lib/python2.2/config/Makefile doesn't
exist, this means that the files needed for compiling new Python
modules aren't installed on your system.  Red Hat users often run into
this because they don't have the python2-devel RPM installed.  The fix
is to simply install the requisite RPM.  On Debian/Ubuntu, you need the
python-dev package.

To verify that everything is in order, run "python test".  It
will test all the cryptographic modules, skipping ones that aren't
available.  If the test script reports an error on your machine,
please report the bug using the bug tracker (URL given above).  If
possible, track down the bug and include a patch that fixes it,
provided that you are able to meet the eligibility requirements at

To install the package under the site-packages directory of
your Python installation, run "python install".

If you have any comments, corrections, or improvements for this
package, please report them to our mailing list, accessible via the
PyCrypto website:
You just need to `python build` and then `python install`.

- Ed

Last edited by edembowski; 09-25-2009 at 09:15 AM.
edembowski is offline   Reply With Quote