Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Python2.2 doesn't build on potato

0 views
Skip to first unread message

Carel Fellinger

unread,
Dec 15, 2001, 2:05:48 PM12/15/01
to
Hi,

Today I tried the new Python2.2c1 to find that it doesn't build on potato.
It works out of the box on my woody system, but fails on my potato setup:(
The latest 2.2 that does build under potato is 2.2.a4

It seems to have to do with changes in the ssl libs.

on potato:

1) make throws away _socket

2) make test complains:
urllib2 and socket: fail with no error attribute
sundry fails with no AF_INET attribute

3) compiling socket by hand gives us:

carel@animus:~/local/src/python/Python-2.2c1$ gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DUSE_SSL=1 -I. -I/var/local/home/carel/src/python/Python-2.2c1/./Include -I/usr/local/include -IInclude/ -c /var/local/home/carel/src/python/Python-2.2c1/Modules/socketmodule.c -o build/temp.linux-i586-2.2/socketmodule.o
/var/local/home/carel/src/python/Python-2.2c1/Modules/socketmodule.c: In function `PySSL_RAND_add':
/var/local/home/carel/src/python/Python-2.2c1/Modules/socketmodule.c:2913: warning: implicit declaration of function `RAND_add'
/var/local/home/carel/src/python/Python-2.2c1/Modules/socketmodule.c: In function `PySSL_RAND_status':
/var/local/home/carel/src/python/Python-2.2c1/Modules/socketmodule.c:2927: warning: implicit declaration of function `RAND_status'
/var/local/home/carel/src/python/Python-2.2c1/Modules/socketmodule.c: In function `PySSL_RAND_egd':
/var/local/home/carel/src/python/Python-2.2c1/Modules/socketmodule.c:2946: warning: implicit declaration of function `RAND_egd'
carel@animus:~/local/src/python/Python-2.2c1$ gcc -shared build/temp.linux-i586-2.2/socketmodule.o -L/usr/local/lib -lssl -lcrypto -o build/lib.linux-i586-2.2/_socket.so
c

Anybody having the same problems, or is my system hosed?

--
groetjes, carel


--
To UNSUBSCRIBE, email to debian-pyt...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Carel Fellinger

unread,
Dec 15, 2001, 4:02:49 PM12/15/01
to
On Sat, Dec 15, 2001 at 11:08:15AM -0800, Sean 'Shaleh' Perry wrote:
...
> SSL has changed a lot since potato, you may end up backporting a libssl from
> woody.

A simple "apt-get source -b libssl0.9.6" pulled it in from sid:)
Hope it's backwards compatible with libssl09.

0 new messages