On 2/11/12 3:41 PM, Jonathan wrote:
On Feb 11, 3:18 pm, Jason Grout<jason-s...@creativetrax.com> wrote:
That sounds reasonable. I *think* OpenSSL is also a requirement for
OpenID, so they'd lose that as well.
So exactly what error happens when you try to install sagenb on a system
with the headers? I assume we need to work around that, and then just
check `import ssl` when we try to turn on OpenID or something else that
requires ssl.
From trac 11080 the error message when the headers are missing is:
Processing pyOpenSSL-0.13.tar.gz
Running pyOpenSSL-0.13/setup.py -q bdist_egg --dist-dir /tmp/
easy_install-pWFAnl/pyOpenSSL-0.13/egg-dist-tmp-4xiQaN
warning: no previously-included files matching '*.pyc' found anywhere
in distribution
In file included from OpenSSL/crypto/crypto.h:30:0,
from OpenSSL/crypto/crypto.c:16:
OpenSSL/crypto/x509.h:17:25: fatal error: openssl/ssl.h: No such file
or directory
compilation terminated.
error: Setup script exited with error: command 'gcc' failed with exit
status 1
Error installing pyOpenSSL-0.13.tar.gz.
Okay, so it's a dependency of pyOpenSSL. I believe that is needed for
the OpenID stuff as well as twisted. So we'll just need to catch those
installation failures and print appropriate explanatory messages
('install the OpenSSL headers and reinstall the spkg').
Jason
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org