At 15:18 24/01/2003, Stoyan Angelov wrote:
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
Look like a python installation problem rather than a Mailman specific problem. The python interpreter is saying it cannot correctly load the standard python socket module.

You can confirm this hypothesis by running python from the command line as follows:

mailman@mailman:/> python
Python 2.2.2 (#2, Jan 13 2003, 17:17:19)
[GCC 2.95.3 20010315 (SuSE)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import socket
>>>

If instead of the prompt you get an error message in response to import socket input, then it is definitely a python installation problem. Try again with Mailman after you have fixed the python problem.

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: [EMAIL PROTECTED]
http://www.filibeto.org

------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/r.barrett%40openinfo.demon.co.uk

------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to