[Mailman-Users] Fatal make error on Solaris 10/SPARC

Thomas Stocker thomas.stocker at acceleris.ch
Fri Jul 21 15:23:23 CEST 2006


What do I do wrong? Any help would be greatly appreciated.

python / gcc from sunfreeware.com

root at bahamas # gcc -v
Reading specs from 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as 
--with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.3.2

root at bahamas # python -V
Python 2.4.2


root at bahamas # cat /etc/release
                        Solaris 10 1/06 s10s_u1wos_19a 
SPARC
            Copyright 2005 Sun Microsystems, Inc.  All 
Rights Reserved.
                         Use is subject to license terms.
                            Assembled 07 December 2005


root at bahamas # ./configure -prefix=/usr/local/mailman 
        \
              --with-python=/usr/local/bin/python \
              --with-mail-gid=other               \
              --with-cgi-gid=nobody

configure: warning: prefix=/usr/local/mailman: invalid 
host type
loading cache ./config.cache
checking for --with-python... /usr/local/bin/python
checking Python interpreter... /usr/local/bin/python
checking Python version... 2.4.2
checking that Python has a working distutils... yes
checking for a BSD compatible install... ./install-sh -c
checking whether make sets ${MAKE}... (cached) yes
checking for true... (cached) /usr/bin/true
checking for --without-gcc... no
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a 
cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking whether #! works in shell scripts... (cached) yes
checking for --with-var-prefix... no
checking for --with-permcheck... yes
checking for --with-username... mailman
checking for user name "mailman"... okay
checking for --with-groupname... mailman
checking for group name "mailman"... okay
checking permissions on /usr/local/mailman... okay
checking for mail wrapper group; i.e. --with-mail-gid... 
other
checking for CGI wrapper group; i.e. --with-cgi-gid... 
nobody
checking for CGI extensions... no
checking for --with-mailhost... no
checking for --with-urlhost... no
checking for default mail host name... bahamas
checking for default URL host component... bahamas
checking for strerror... (cached) no
checking for setregid... (cached) no
checking for syslog... (cached) no
checking for syslog in -lbsd... no
checking for syslog in -lsocket... yes
checking how to run the C preprocessor... (cached) 
/lib/cpp
checking for ANSI C header files... (cached) no
checking for syslog.h... (cached) no
checking for uid_t in sys/types.h... (cached) no
checking type of array argument to getgroups... (cached) 
int
checking for vsnprintf... (cached) no
creating ./config.status
creating misc/paths.py
creating Mailman/Defaults.py
creating Mailman/mm_cfg.py.dist
creating src/Makefile
creating misc/Makefile
creating bin/Makefile
creating Mailman/Makefile
creating Mailman/Cgi/Makefile
creating Mailman/Logging/Makefile
creating Mailman/Archiver/Makefile
creating Mailman/Commands/Makefile
creating Mailman/Handlers/Makefile
creating Mailman/Bouncers/Makefile
creating Mailman/Queue/Makefile
creating Mailman/MTA/Makefile
creating Mailman/Gui/Makefile
creating templates/Makefile
creating cron/Makefile
creating scripts/Makefile
creating messages/Makefile
creating cron/crontab.in
creating misc/mailman
creating Makefile
creating tests/Makefile
creating tests/bounces/Makefile
creating tests/msgs/Makefile
creating build/bin/add_members
creating build/bin/arch
creating build/bin/change_pw
creating build/bin/check_db
creating build/bin/check_perms
creating build/bin/cleanarch
creating build/bin/clone_member
creating build/bin/config_list
creating build/bin/convert.py
creating build/bin/discard
creating build/bin/dumpdb
creating build/bin/find_member
creating build/bin/fix_url.py
creating build/bin/genaliases
creating build/bin/inject
creating build/bin/list_admins
creating build/bin/list_lists
creating build/bin/list_members
creating build/bin/list_owners
creating build/bin/mailmanctl
creating build/bin/mmsitepass
creating build/bin/msgfmt.py
creating build/bin/newlist
creating build/bin/pygettext.py
creating build/bin/qrunner
creating build/bin/remove_members
creating build/bin/reset_pw.py
creating build/bin/rmlist
creating build/bin/show_qfiles
creating build/bin/sync_members
creating build/bin/transcheck
creating build/bin/unshunt
creating build/bin/update
creating build/bin/version
creating build/bin/withlist
creating build/bin/b4b5-archfix
creating build/bin/rb-archfix
creating build/contrib/check_perms_grsecurity.py
creating build/contrib/qmail-to-mailman.py
creating build/contrib/rotatelogs.py
creating build/cron/bumpdigests
creating build/cron/checkdbs
creating build/cron/disabled
creating build/cron/gate_news
creating build/cron/mailpasswds
creating build/cron/nightly_gzip
creating build/cron/senddigests
configuration completed at Fri Jul 21 15:07:55 CEST 2006
root at bahamas # make
for d in bin cron misc Mailman scripts src templates 
messages tests; \
do \
     (cd $d; make); \
done
for d in Cgi Logging Archiver Handlers Bouncers Queue MTA 
Gui Commands; \
do \
     (cd $d; make); \
done
gcc -c -I. -DPREFIX="\"/usr/local/mailman\"" 
 -DPYTHON="\"/usr/local/bin/python\""  -DHELPFUL -g -O2 -g 
-O2 -DHAVE_SYSLOG=1 -Duid_t=int -Dgid_t=int 
-DGETGROUPS_T=int -lsocket ./common.c
common.c: In function `fatal':
common.c:84: error: `LOG_CONS' undeclared (first use in 
this function)
common.c:84: error: (Each undeclared identifier is 
reported only once
common.c:84: error: for each function it appears in.)
common.c:84: error: `LOG_MAIL' undeclared (first use in 
this function)
common.c:85: error: `LOG_ERR' undeclared (first use in 
this function)
*** Error code 1
make: Fatal error: Command failed for target `common.o'
Current working directory /usr/local/src/mailman-2.1.8/src



More information about the Mailman-Users mailing list