Python2.2 doesn't build on potato
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
Reply to: