[Mailman-Users] New installation, sol 7: ImportError: No module named _socket

Stoyan Angelov s_angelov at filibeto.org
Fri Jan 24 16:18:40 CET 2003


hello all,

i am trying to do a new install of Mailman 2.1 on a Solaris 7 x86 box,
gcc 2.95.2, Python 2.2.2, sendmail. I get the following error while
runnig the ./configure script:

<snip>
hecking for mail wrapper group; i.e. --with-mail-gid... mail
checking for CGI wrapper group; i.e. --with-cgi-gid... httpd
checking for CGI extensions... no
checking for --with-mailhost... no
checking for --with-urlhost... no
Traceback (most recent call last):
  File "conftest.py", line 2, in ?
    from socket import *
  File "/usr/local/lib/python2.2/socket.py", line 41, in ?
    from _socket import *
ImportError: No module named _socket
checking for default mail host name... Can't open conftest.out

checking for default URL host component... Can't open conftest.out

checking for strerror... yes
checking for setregid... yes
checking for syslog... yes
<snip>

trying to do a make install gives me the following error:

<snip>
Compiling /usr/local/mailman/Mailman/mm_cfg.py ...
Compiling /usr/local/mailman/Mailman/versions.py ...
Traceback (most recent call last):
  File "bin/update", line 47, in ?
    from Mailman import Utils
  File "/usr/local/mailman/Mailman/Utils.py", line 35, in ?
    import cgi
  File "/usr/local/lib/python2.2/cgi.py", line 39, in ?
    import urllib
  File "/usr/local/lib/python2.2/urllib.py", line 26, in ?
    import socket
  File "/usr/local/lib/python2.2/socket.py", line 41, in ?
    from _socket import *
ImportError: No module named _socket
make: *** [update] Error 1
<snip>

does anyone have an idea of what could that be ?

thank you for your time!

Stoyan Angelov



-- 
Stoyan Angelov
filibeto.org
e-mail: s_angelov at filibeto.org
http://www.filibeto.org



More information about the Mailman-Users mailing list