python 2.2.2: test_socket fails on Solaris 9, gcc 3.2.2

Boris boris.gontar at cognos.com
Mon Mar 24 15:29:36 EST 2003


with default configure (no parameters) on Solaris 2.9 MU2, gcc 3.2.2:

building '_socket' extension
gcc -DNDEBUG -O2 -fPIC -DUSE_SSL=1 -I. -I/local/src/Python-2.2.2/./Include -I/usr/local/include -I/local/src/Python-2.2.2/Include -I/local/src/Python-2.2.2 -c /local/src/Python-2.2.2/Modules/socketmodule.c -o build/temp.solaris-2.9-sun4u-2.2/socketmodule.o
gcc -shared build/temp.solaris-2.9-sun4u-2.2/socketmodule.o -L/usr/local/lib -lssl -lcrypto -o build/lib.solaris-2.9-sun4u-2.2/_socket.so
WARNING: removing "_socket" since importing it failed

"make test" says:

3 tests failed:
     test_socket test_sundry test_urllib2

and, of course:

/local/src/Python-2.2.2> ./python
Python 2.2.2 (#1, Mar 24 2003, 15:11:09)
[GCC 3.2.2] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
 >>> import socket
Traceback (most recent call last):
   File "<stdin>", line 1, in ?
   File "/local/src/Python-2.2.2/Lib/socket.py", line 41, in ?
     from _socket import *
ImportError: No module named _socket
 >>>

Has anybody seen this? Is it a known bug?

Thanks, Boris.





More information about the Python-list mailing list