README might contain more details

Bug #1270996 reported by chuck simmons
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Python-Crypto
Fix Committed
Undecided
Unassigned

Bug Description

When I read the README file to build pycrypto on my mac laptop, I get:

Traceback (most recent call last):
  File "setup.py", line 456, in <module>
    core.setup(**kw)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/build.py", line 127, in run
    self.run_command(cmd_name)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "setup.py", line 251, in run
    self.run_command(cmd_name)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "setup.py", line 278, in run
    raise RuntimeError("autoconf error")
RuntimeError: autoconf error

The README file does not contain explicit instructions for what we should do if we get an autoconf error. Perhaps the intent is that be read as a DistutilsPlatformError. If so, perhaps the error could be raised differently or the README could address that specific error.

Also, for:

"On Debian/Ubuntu, you need the python-dev package."

If the README file contained a parenthetical comment giving the apt get command, that would help me... Well, if I was on my ubuntu machine instead of my mac laptop...

(Prof. Boneh at Stanford is referencing this package in an online course that has people with a wide variety of backgrounds and machines...)

Revision history for this message
Richard Mitchell (mitchellrj) wrote :

See https://github.com/dlitz/pycrypto/pull/79

Is that sufficiently clear? Note that to go into exhaustive detail on how to install dependencies on every platform would be over-the-top. Some degree of familiarity with the host system and its package management system must be assumed.

Revision history for this message
Darsey Litzenberger (dlitz) wrote :
Changed in pycrypto:
status: New → Fix Released
status: Fix Released → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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