[Mailman-Users] problem compiling Mailman on Trustix

Richard M. Pavonarius rpavonar at cisco.com
Sat Mar 24 15:25:36 CET 2001


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

richpav at 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     root        84124 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 





More information about the Mailman-Users mailing list