Message62101
| Author | pajs@fodder.org.uk |
|---|---|
| Recipients | pajs@fodder.org.uk |
| Date | 2008-02-06.15:44:42 |
| SpamBayes Score | 0.009343222 |
| Marked as misclassified | No |
| Message-id | <1202312744.16.0.269773483749.issue2020@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
When compiling python 2.5.1 on Solaris 10 (sparc and x86), with openssl
0.9.8e - test_md5 fails with No module named _sha256. (As does doing an
"import md5")
When compiling, setup.dist was modified, the ssl parts were uncommented,
and modified to use the directory that we have ssl installed in.
SSL=/opt/IB
_ssl _ssl.c \
-DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
-L$(SSL)/lib -R$(SSL)/lib -lssl -lcrypto
The compiling env (on sol x86):
CC=cc
CFLAGS=-xO5 -m32 -xarch=sse3 -xcache=generic -xchip=generic
CPPFLAGS=-I/opt/IB/include
CXX=CC
CXXFLAGS=-xO5 -m32 -xarch=sse3 -xcache=generic -xchip=generic
LDFLAGS=-L/opt/IB/lib -R/opt/IB/lib
LD_RUN_PATH=/opt/IB/lib
PATH=/usr/bin:/sbin:/usr/sbin:/opt/IB/bin:/usr/ccs/bin:/opt/SUNWspro/bin
configure --prefix=/opt/IBpython/2.5.1 --without-gcc --with-threads
However, if I modify setup.py, and replace every occurrence of
"/usr/local" with "/opt/IB" (we don't use /usr/local) - then it compiles
fine, and the md5 module works correctly.
Is it possible for this to be made a configure argument, or a
environment setting? |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008-02-06 15:45:44 | pajs@fodder.org.uk | set | spambayes_score: 0.00934322 -> 0.009343222 recipients: + pajs@fodder.org.uk |
| 2008-02-06 15:45:44 | pajs@fodder.org.uk | set | spambayes_score: 0.00934322 -> 0.00934322 messageid: <1202312744.16.0.269773483749.issue2020@psf.upfronthosting.co.za> |
| 2008-02-06 15:44:44 | pajs@fodder.org.uk | link | issue2020 messages |
| 2008-02-06 15:44:43 | pajs@fodder.org.uk | create | |