Also, note the "sys-kernel/linux26-headers" note, which, for me, no longer applies, since I have linux-headers with 2.6, and my glibc *is* compiled with NPTL. --- * mysql database support in your USE flags. * To use the new DSPAM deamon mode, you need to emerge * sys-kernel/linux26-headers and rebuild glibc to support NPTL * Waiting 30 seconds before starting... * (Control-C to abort)... uid=26(dspam) gid=414(dspam) groups=414(dspam) uid=26(dspam) gid=414(dspam) groups=414(dspam) >>> Unpacking source... >>> Unpacking dspam-3.4.5.tar.gz to /var/tmp/portage/dspam-3.4.5/work >>> Unpacking dspam_sa_trainer.tar.gz to /var/tmp/portage/dspam-3.4.5/work >>> Source unpacked. * econf: updating dspam-3.4.5/config.guess with /usr/share/gnuconfig/config.gue ss * econf: updating dspam-3.4.5/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --inf odir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var /lib --enable-long-username --enable-large-scale --with-dspam-home=/etc/mail/dsp am --with-dspam-mode=4755 --with-dspam-owner=dspam --with-dspam-group=dspam --sy sconfdir=/etc/mail/dspam --with-logdir=/var/log/dspam --with-storage-driver=mysq l_drv --with-mysql-includes=/usr/include/mysql --with-mysql-libraries=/usr/lib/m ysql --enable-preferences-extension --enable-virtual-users --enable-neural-netwo rking configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-gcc... gcc3 checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/i686-pc-linux-gnu-nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-linux-gnu-g++ accepts -g... yes checking dependency style of i686-pc-linux-gnu-g++... gcc3 checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E checking for i686-pc-linux-gnu-g77... i686-pc-linux-gnu-g77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether i686-pc-linux-gnu-g77 accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/i686-pc-linux-gnu-nm -B output from i686-pc-l inux-gnu-gcc object... ok checking for objdir... .libs checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking for i686-pc-linux-gnu-strip... (cached) i686-pc-linux-gnu-strip checking if i686-pc-linux-gnu-gcc static flag works... yes checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld ) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by i686-pc-linux-gnu-g++... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld ) supports shared libraries... yes checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC checking if i686-pc-linux-gnu-g++ PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld ) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for i686-pc-linux-gnu-g77 option to produce PIC... -fPIC checking if i686-pc-linux-gnu-g77 PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-g77 supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-g77 linker (/usr/i686-pc-linux-gnu/bin/ld ) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking whether make sets $(MAKE)... (cached) yes checking for inline... inline checking for ISO C99 varargs macros in C... yes checking for string.h... (cached) yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking whether time.h and sys/time.h may both be included... yes checking for strlcpy... no checking for strsep... yes checking for strtok_r... yes checking for getpwnam_r... yes checking for getpwuid_r... yes checking for memcpy... yes checking for memset... yes checking for localtime_r... yes checking for inet_ntoa_r... no checking whether to enable daemon mode... no checking for sys/types.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking for library containing inet_ntoa... none required checking for library containing socket... none required checking whether to enable NodalCore(tm) C-Series Hardware Extensions... no checking for dspam_home... /etc/mail/dspam checking which delivery agent to activate in dspam.conf... /usr/bin/procmail checking whether to enable trusted user security... yes checking whether to enable debug output... no checking whether to enable debug output for BNR... no checking whether to enable home directory support... no checking whether to enable neural-networking... yes checking whether to enable MySQL client initialization... yes checking whether to enable preferences-extension... yes checking whether to enable verbose debug output... no checking whether to enable long usernames... no checking whether to enable Graham-Bayesian calculations... yes checking whether to enable Burton Bayesian calculations... yes checking whether to enable Robinson's Geometric Mean calculations... no checking whether to enable Chi-Square calculations... no checking whether to enable Robinson's technique... no checking whether to enable test-conditional training... yes checking whether to enable bias calculations... yes checking whether to enable large scale implementation... yes checking whether to enable domain structure implementation... no checking for logdir... /var/log/dspam checking for storage driver... mysql_drv checking whether to enable virtual users... yes checking where to find MySQL headers... /usr/include/mysql checking mysql.h usability... yes checking mysql.h presence... yes checking for mysql.h... yes checking for library containing gzopen... -lz checking where to find MySQL libraries... /usr/lib/mysql checking for library containing inet_ntoa... (cached) none required checking for library containing socket... (cached) none required checking for mysql_init in -lmysqlclient... yes checking whether to enable profiling output... no configure: creating ./config.status config.status: creating Makefile config.status: creating src/tools/Makefile config.status: creating cgi/Makefile config.status: creating m4/Makefile config.status: creating src/tools.libdb4_drv/Makefile config.status: creating src/tools.libdb3_drv/Makefile config.status: creating src/tools.mysql_drv/Makefile config.status: creating src/tools.ora_drv/Makefile config.status: creating txt/Makefile config.status: creating src/tools.pgsql_drv/Makefile config.status: creating src/Makefile config.status: creating cgi/templates/Makefile config.status: creating src/tools.sqlite_drv/Makefile config.status: creating man/Makefile config.status: creating src/dspam.pc config.status: creating src/dspam-uninstalled.pc config.status: creating src/win32/Makefile config.status: creating doc/Makefile config.status: creating src/auto-config.h config.status: executing depfiles commands Making all in . make[1]: Entering directory `/var/tmp/portage/dspam-3.4.5/work/dspam-3.4.5' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/var/tmp/portage/dspam-3.4.5/work/dspam-3.4.5' Making all in cgi make[1]: Entering directory `/var/tmp/portage/dspam-3.4.5/work/dspam-3.4.5/cgi' Making all in templates make[2]: Entering directory `/var/tmp/portage/dspam-3.4.5/work/dspam-3.4.5/cgi/t emplates' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/dspam-3.4.5/work/dspam-3.4.5/cgi/te mplates' make[2]: Entering directory `/var/tmp/portage/dspam-3.4.5/work/dspam-3.4.5/cgi' dspam_transformed=`echo dspam | sed 's,x,x,'`; sed -e 's,@dspam_home\@,/etc/mail /dspam,g' -e 's,@bindir\@,/usr/bin,g' < ./configure.pl.in > configure.pl make[2]: Leaving directory `/var/tmp/portage/dspam-3.4.5/work/dspam-3.4.5/cgi' make[1]: Leaving directory `/var/tmp/portage/dspam-3.4.5/work/dspam-3.4.5/cgi' Making all in m4 make[1]: Entering directory `/var/tmp/portage/dspam-3.4.5/work/dspam-3.4.5/m4' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/var/tmp/portage/dspam-3.4.5/work/dspam-3.4.5/m4' Making all in man make[1]: Entering directory `/var/tmp/portage/dspam-3.4.5/work/dspam-3.4.5/man' Making all in . make[2]: Entering directory `/var/tmp/portage/dspam-3.4.5/work/dspam-3.4.5/man' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/var/tmp/portage/dspam-3.4.5/work/dspam-3.4.5/man' make[1]: Leaving directory `/var/tmp/portage/dspam-3.4.5/work/dspam-3.4.5/man' Making all in src make[1]: Entering directory `/var/tmp/portage/dspam-3.4.5/work/dspam-3.4.5/src' make all-recursive make[2]: Entering directory `/var/tmp/portage/dspam-3.4.5/work/dspam-3.4.5/src' Making all in . make[3]: Entering directory `/var/tmp/portage/dspam-3.4.5/work/dspam-3.4.5/src' if /bin/sh ../libtool --mode=compile --tag=CC i686-pc-linux-gnu-gcc -DHAVE_CONFI G_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include/mysql - march=athlon-xp -O3 -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT libdspam.lo -MD -MP -MF ".deps/libdspam.Tpo" -c -o libdspam.lo libdspam.c; \ then mv -f ".deps/libdspam.Tpo" ".deps/libdspam.Plo"; else rm -f ".deps/libdspam .Tpo"; exit 1; fi if /bin/sh ../libtool --mode=compile --tag=CC i686-pc-linux-gnu-gcc -DHAVE_CONFI G_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include/mysql - march=athlon-xp -O3 -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT heap.lo -MD -MP -MF ".deps/heap.Tpo" -c -o heap.lo heap.c; \ then mv -f ".deps/heap.Tpo" ".deps/heap.Plo"; else rm -f ".deps/heap.Tpo"; exit 1; fi if /bin/sh ../libtool --mode=compile --tag=CC i686-pc-linux-gnu-gcc -DHAVE_CONFI G_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include/mysql - march=athlon-xp -O3 -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT diction.lo -MD -MP -MF ".deps/diction.Tpo" -c -o diction.lo diction.c; \ then mv -f ".deps/diction.Tpo" ".deps/diction.Plo"; else rm -f ".deps/diction.Tp o"; exit 1; fi <snip> dspam_transformed=`echo dspam | sed 's,x,x,'`; sed -e 's,@dspam_home\@,/etc/mail /dspam,g' -e 's,@delivery_agent\@,/usr/bin/procmail,g' < ./dspam.conf.in > dspa m.conf i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFA ULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. - I. -I. -I/usr/include/mysql -march=athlon-xp -O3 -pipe -Wall -Wmissing-prototype s -Wmissing-declarations -MT base64.lo -MD -MP -MF .deps/base64.Tpo -c base64.c -o base64.o >/dev/null 2>&1 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFA ULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. - I. -I. -I/usr/include/mysql -march=athlon-xp -O3 -pipe -Wall -Wmissing-prototype s -Wmissing-declarations -MT mysql_drv.lo -MD -MP -MF .deps/mysql_drv.Tpo -c mys ql_drv.c -o mysql_drv.o >/dev/null 2>&1 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFA ULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. - I. -I. -I/usr/include/mysql -march=athlon-xp -O3 -pipe -Wall -Wmissing-prototype s -Wmissing-declarations -MT hash.lo -MD -MP -MF .deps/hash.Tpo -c hash.c -o has h.o >/dev/null 2>&1 mv: cannot stat `.deps/util.Tpo': No such file or directory make[3]: *** [util.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFA ULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. - I. -I. -I/usr/include/mysql -march=athlon-xp -O3 -pipe -Wall -Wmissing-prototype s -Wmissing-declarations -MT decode.lo -MD -MP -MF .deps/decode.Tpo -c decode.c -o decode.o >/dev/null 2>&1 make[3]: Leaving directory `/var/tmp/portage/dspam-3.4.5/work/dspam-3.4.5/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/dspam-3.4.5/work/dspam-3.4.5/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/dspam-3.4.5/work/dspam-3.4.5/src' make: *** [all-recursive] Error 1 !!! ERROR: mail-filter/dspam-3.4.5 failed. !!! Function src_compile, Line 151, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message.
Gentoo Base System version 1.4.16 Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.200 41102-r1, 2.6.11-gentoo-r6 i686) ================================================================= System uname: 2.6.11-gentoo-r6 i686 AMD Athlon(tm) XP 1600+ Python: dev-lang/python-2.1.3-r1,dev-lang/python-2.3.5 [2.3.5 (#1, Apr 29 2005, 10:25:57)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] dev-lang/python: 2.1.3-r1, 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/ config /var/bind /var/qmail/control /var/run/dspam /var/spool/dspam" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.ccccom.com/ http://gentoo.osuodl.org/ http://mirro r.datapipe.net/gentoo" MAKEOPTS="-j16" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="x86 3dnow acpi acpi4linux alsa apache2 avi bash-completion berkdb bitmap-fo nts calendar cdr chroot crypt cups dbm dedicated dvd dvdr emboss encode ethereal evms2 fastcgi fbcon flac foomaticdb fortran ftp gd gdbm ggi gif gpm gs gstreame r hardenedphp imagemagick imap imlib java jce jdepend jikes jp2 jpeg jsch jta ju nit large-domain libg++ libwww lm_sensors lzw lzw-tiff mad maildir mikmod mmx mp 3 mpeg mysql nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses neural nls nnt p noweb nptl nptlonly offensive oggvorbis oro pam pam-mysql pcap pdflib perl php png ppds procmail python readline regexp rrdtool rtc ruby sasl sdl servlet-2.3 servlet-2.4 shaper shared sharedmem slang snmp soap sockets socks5 spell spl sse ssl svga tcpd theora threads tidy tiff tokenizer truetype truetype-fonts type1- fonts usb v4l v4l2 vhosts virtual-users virus-scan xalan xchatnogtk xchattext xe rces xml xml2 xmlrpc xpm yv12 zeo zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
> MAKEOPTS="-j16" try with MAKEOPTS="-j2" and report back.
Compiles OK with -j2. Thanks. Still doesn't compile with daemon mode, even though... homeserver-02 root # /lib/libc.so.6 GNU C Library 20041102 release version 2.3.4, by Roland McGrath et al. Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled by GNU CC version 3.3.5-20050130 (Gentoo Linux 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.1). Compiled on a Linux 2.6.11 system on 2005-04-17. Available extensions: GNU libio by Per Bothner crypt add-on version 2.1 by Michael Glad and others Native POSIX Threads Library by Ulrich Drepper et al The C stubs add-on version 2.1.2. GNU Libidn by Simon Josefsson BIND-8.2.3-T5B NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk Thread-local storage support included. For bug reporting instructions, please see: <http://www.gnu.org/software/libc/bugs.html>.
Looks like this is solved. Sorry for the wait.