Skip to content

Instantly share code, notes, and snippets.

@mnathani
Created September 19, 2015 04:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mnathani/d089c22934b80183923f to your computer and use it in GitHub Desktop.
Save mnathani/d089c22934b80183923f to your computer and use it in GitHub Desktop.
Failed to build pycrypto
Installing collected packages: pycrypto
Running setup.py install for pycrypto
Complete output from command /usr/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip-build-5_1m76/pycrypto/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-dyld5h-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
running build_ext
running build_configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in `/tmp/pip-build-5_1m76/pycrypto':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-5_1m76/pycrypto/setup.py", line 456, in <module>
core.setup(**kw)
File "/usr/local/lib/python3.3/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/local/lib/python3.3/distutils/dist.py", line 929, in run_commands
self.run_command(cmd)
File "/usr/local/lib/python3.3/distutils/dist.py", line 948, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.3/site-packages/setuptools-12.2-py3.3.egg/setuptools/command/install.py", line 61, in run
File "/usr/local/lib/python3.3/distutils/command/install.py", line 569, in run
self.run_command('build')
File "/usr/local/lib/python3.3/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/local/lib/python3.3/distutils/dist.py", line 948, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.3/distutils/command/build.py", line 126, in run
self.run_command(cmd_name)
File "/usr/local/lib/python3.3/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/local/lib/python3.3/distutils/dist.py", line 948, in run_command
cmd_obj.run()
File "/tmp/pip-build-5_1m76/pycrypto/setup.py", line 251, in run
self.run_command(cmd_name)
File "/usr/local/lib/python3.3/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/local/lib/python3.3/distutils/dist.py", line 948, in run_command
cmd_obj.run()
File "/tmp/pip-build-5_1m76/pycrypto/setup.py", line 278, in run
raise RuntimeError("autoconf error")
RuntimeError: autoconf error
----------------------------------------
Command "/usr/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip-build-5_1m76/pycrypto/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-dyld5h-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-5_1m76/pycrypto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment