[Mailman-Users] problem compiling mailman

2002-10-11 Thread Frank Altpeter

Hello,

i just tried to install mailman to finally replace majordomo, but it
didn't work as expected.

I fist installed python successfully:

mail:~ # python
Python 2.2.2b1 (#1, Oct 10 2002, 13:39:17) 
[GCC 2.7.2.1] on sunos5
Type "help", "copyright", "credits" or "license" for more information.

After proceeding as listed in the install instructions on the web site,
i've created username and group 'mailman' and started to configure
mailman as user 'mailman'.

The output of the configure works fine, until that point:

mail:/usr/src/mailman-2.0.13 $ ./configure
[...]
checking for --with-username... mailman
checking for mailman UID... 
checking for --with-groupname... mailman
checking for mailman GID... 
checking permissions on /home/mailman... okay
checking for mail wrapper GID... 1
checking for CGI wrapper GID... 60001
checking for CGI extensions... 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

This happens on SunOS mail 5.5 Generic_103093-26 sun4u sparc SUNW,Ultra-1

(And yes i know that this is a "little" bit old :-)

Since this is the first time i'm using python, i'm unable to find out
what this error means and how to solve it. Any hints?

With kind regards,

Frank Altpeter

P.S. please include me in reply since i'm not subscribed to this list.

--
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/



[Mailman-Users] problem compiling Mailman on Trustix

2001-03-24 Thread Richard M. Pavonarius

I *can* compile Mailman on Trustix 1.2 as root. I can't as any other user.

richpav@academy-if /tmp/mailman-2.0.3+J1$ ./configure
loading cache ./config.cache
checking for --with-python... no
checking for python... (cached) /usr/bin/python
checking Python interpreter... /usr/bin/python
checking Python version... 1.5.2
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking for true... (cached) /bin/true
checking for --without-gcc... no
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler cannot 
create executables.

My first guess was that gcc's permissions are too restrictive, but that 
doesn't appear to be the case.

-rwxr-xr-x   2 root root84124 Nov 28 02:41 /usr/bin/gcc*

cpp looks OK too.

-rwxr-xr-x   1 root root   113052 Nov 28 02:41 
/usr/lib/gcc-lib/i586-trustix-linux/2.95.2/cpp*
lrwxrwxrwx   1 root root   48 Mar  6 23:59 /lib/cpp 
-> ../usr/lib/gcc-lib/i586-trustix-linux/2.95.2/cpp*

Obviously glib-devel is installed, otherwise I wouldn't be able to compile 
as root.
I checked all the files in gcc and gcc-c++ RPMS, and all executable files 
are executable by owner, group and everyone. (rpm -ql gcc | xargs ls -l | less)

If I can only compile as root, can I fix the problem by changing the 
ownership of some of the files in /home/mailman afterwards? I tried chown 
-R mailman /home/mailman but that broke it completely.

Thanks,

Rich 


--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users