I think i have hit the crypto bug myself on the production server , i remember someone talking about how to fix it in IRC , can we document the fix on wiki for everyones benefit , following are the pip log
SWIG/_m2crypto_wrap.c:28750: error: ‘Swig_var__x509_err_set’ undeclared (first use in this function)
SWIG/_m2crypto_wrap.c:28772: error: ‘Swig_var__pkcs7_err_get’ undeclared (first use in this function)
SWIG/_m2crypto_wrap.c:28772: error: ‘Swig_var__pkcs7_err_set’ undeclared (first use in this function)
SWIG/_m2crypto_wrap.c:28773: error: ‘Swig_var__smime_err_get’ undeclared (first use in this function)
SWIG/_m2crypto_wrap.c:28773: error: ‘Swig_var__smime_err_set’ undeclared (first use in this function)
SWIG/_m2crypto_wrap.c:28774: error: ‘Swig_var__util_err_get’ undeclared (first use in this function)
SWIG/_m2crypto_wrap.c:28774: error: ‘Swig_var__util_err_set’ undeclared (first use in this function)
SWIG/_m2crypto_wrap.c:28843: error: ‘Swig_var__ec_err_get’ undeclared (first use in this function)
SWIG/_m2crypto_wrap.c:28843: error: ‘Swig_var__ec_err_set’ undeclared (first use in this function)
SWIG/_m2crypto_wrap.c:28844: error: ‘Swig_var__engine_err_get’ undeclared (first use in this function)
SWIG/_m2crypto_wrap.c:28844: error: ‘Swig_var__engine_err_set’ undeclared (first use in this function)
error: command 'gcc' failed with exit status 1
----------------------------------------
Command /home/dingo/.virtualenvs/fossacademy/bin/python -c "import setuptools;__file__='/home/dingo/.virtualenvs/fossacademy/build/M2Crypto/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-e5tj2V-record/install-record.txt --single-version-externally-managed --install-headers /home/dingo/.virtualenvs/fossacademy/include/site/python2.6 failed with error code 1 in /home/dingo/.virtualenvs/fossacademy/build/M2Crypto
Exception information:
Traceback (most recent call last):
File "/home/dingo/.virtualenvs/fossacademy/lib/python2.6/site-packages/pip-1.2.1-py2.6.egg/pip/basecommand.py", line 107, in main
status = self.run(options, args)
File "/home/dingo/.virtualenvs/fossacademy/lib/python2.6/site-packages/pip-1.2.1-py2.6.egg/pip/commands/install.py", line 261, in run
requirement_set.install(install_options, global_options)
File "/home/dingo/.virtualenvs/fossacademy/lib/python2.6/site-packages/pip-1.2.1-py2.6.egg/pip/req.py", line 1166, in install
requirement.install(install_options, global_options)
File "/home/dingo/.virtualenvs/fossacademy/lib/python2.6/site-packages/pip-1.2.1-py2.6.egg/pip/req.py", line 589, in install
cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
File "/home/dingo/.virtualenvs/fossacademy/lib/python2.6/site-packages/pip-1.2.1-py2.6.egg/pip/util.py", line 612, in call_subprocess
% (command_desc, proc.returncode, cwd))
InstallationError: Command /home/dingo/.virtualenvs/fossacademy/bin/python -c "import setuptools;__file__='/home/dingo/.virtualenvs/fossacademy/build/M2Crypto/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-e5tj2V-record/install-record.txt --single-version-externally-managed --install-headers /home/dingo/.virtualenvs/fossacademy/include/site/python2.6 failed with error code 1 in /home/dingo/.virtualenvs/fossacademy/build/M2Crypto