emerge webalizer -av These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] app-admin/webalizer-2.01.10-r12 USE="apache2 geoip nls -search -vhosts -xtended" 0 kB Total: 1 package (1 new), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] >>> Unpacking source... >>> Unpacking webalizer-2.01-10-src.tar.bz2 to /var/tmp/portage/app-admin/webalizer-2.01.10-r12/work >>> Unpacking geolizer_2.01-10-patch.20050520.tar.bz2 to /var/tmp/portage/app-admin/webalizer-2.01.10-r12/work >>> Unpacking webalizer-search.patch.gz to /var/tmp/portage/app-admin/webalizer-2.01.10-r12/work >>> Unpacking webalizer.conf.gz to /var/tmp/portage/app-admin/webalizer-2.01.10-r12/work * Applying geolizer.patch ...  [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/app-admin/webalizer-2.01.10-r12/work/webalizer-2.01-10 ... ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-dns --with-db=/usr/include/db4.2/ --with-dblib=db-4.2 --enable-geoip --with-language=french --build=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 ISO C89... none needed checking whether ln -s works... yes checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E 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 whether char is unsigned... no checking db_185.h usability... yes checking db_185.h presence... yes checking for db_185.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking for socket... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for main in -lnsl... yes checking for main in -l44bsd... no checking for main in -lm... yes checking for main in -lz... yes checking for gzrewind in -lz... yes checking for main in -lpng... yes checking for gdImagePng in -lgd... yes checking for gd.h... /usr/include checking for GeoIP.h... /usr/include checking for libGeoIP.a... /usr/lib checking for GeoIP_new in -lGeoIP... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking default config dir... /etc checking for language file... yes - french configure: creating ./config.status config.status: creating Makefile config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting config.status: linking ./lang/webalizer_lang.french to webalizer_lang.h i686-pc-linux-gnu-gcc -I/usr/include -I/usr/include/db4.2/ -march=i686 -mmmx -msse -msse2 -msse3 -Os -pipe -fomit-frame-pointer -DETCDIR=\"/etc\" -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DB_185_H=1 -DHAVE_ERRNO_H=1 -DHAVE_SOCKET=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 -DUSE_GEOIP -DUSE_DNS -c webalizer.c i686-pc-linux-gnu-gcc -I/usr/include -I/usr/include/db4.2/ -march=i686 -mmmx -msse -msse2 -msse3 -Os -pipe -fomit-frame-pointer -DETCDIR=\"/etc\" -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DB_185_H=1 -DHAVE_ERRNO_H=1 -DHAVE_SOCKET=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 -DUSE_GEOIP -DUSE_DNS -c hashtab.c i686-pc-linux-gnu-gcc -I/usr/include -I/usr/include/db4.2/ -march=i686 -mmmx -msse -msse2 -msse3 -Os -pipe -fomit-frame-pointer -DETCDIR=\"/etc\" -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DB_185_H=1 -DHAVE_ERRNO_H=1 -DHAVE_SOCKET=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 -DUSE_GEOIP -DUSE_DNS -c linklist.c i686-pc-linux-gnu-gcc -I/usr/include -I/usr/include/db4.2/ -march=i686 -mmmx -msse -msse2 -msse3 -Os -pipe -fomit-frame-pointer -DETCDIR=\"/etc\" -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DB_185_H=1 -DHAVE_ERRNO_H=1 -DHAVE_SOCKET=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 -DUSE_GEOIP -DUSE_DNS -c preserve.c i686-pc-linux-gnu-gcc -I/usr/include -I/usr/include/db4.2/ -march=i686 -mmmx -msse -msse2 -msse3 -Os -pipe -fomit-frame-pointer -DETCDIR=\"/etc\" -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DB_185_H=1 -DHAVE_ERRNO_H=1 -DHAVE_SOCKET=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 -DUSE_GEOIP -DUSE_DNS -c dns_resolv.c i686-pc-linux-gnu-gcc -I/usr/include -I/usr/include/db4.2/ -march=i686 -mmmx -msse -msse2 -msse3 -Os -pipe -fomit-frame-pointer -DETCDIR=\"/etc\" -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DB_185_H=1 -DHAVE_ERRNO_H=1 -DHAVE_SOCKET=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 -DUSE_GEOIP -DUSE_DNS -c parser.c i686-pc-linux-gnu-gcc -I/usr/include -I/usr/include/db4.2/ -march=i686 -mmmx -msse -msse2 -msse3 -Os -pipe -fomit-frame-pointer -DETCDIR=\"/etc\" -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DB_185_H=1 -DHAVE_ERRNO_H=1 -DHAVE_SOCKET=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 -DUSE_GEOIP -DUSE_DNS -c output.c i686-pc-linux-gnu-gcc -I/usr/include -I/usr/include/db4.2/ -march=i686 -mmmx -msse -msse2 -msse3 -Os -pipe -fomit-frame-pointer -DETCDIR=\"/etc\" -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DB_185_H=1 -DHAVE_ERRNO_H=1 -DHAVE_SOCKET=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 -DUSE_GEOIP -DUSE_DNS -I/usr/include -c graphs.c i686-pc-linux-gnu-gcc -L/usr/lib -Ldb-4.2 -o webalizer webalizer.o hashtab.o linklist.o preserve.o parser.o output.o dns_resolv.o graphs.o -lGeoIP -lgd -lpng -lz -lm -lnsl -ldb dns_resolv.o: In function `open_cache': dns_resolv.c:(.text+0xea): undefined reference to `__db185_open_4002' dns_resolv.o: In function `dns_resolver': dns_resolv.c:(.text+0x452): undefined reference to `__db185_open_4002' collect2: ld returned 1 exit status make: *** [webalizer] Error 1 !!! ERROR: app-admin/webalizer-2.01.10-r12 failed. Call stack: ebuild.sh, line 1615: Called dyn_compile ebuild.sh, line 972: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile webalizer-2.01.10-r12.ebuild, line 97: Called die !!! make failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/app-admin/webalizer-2.01.10-r12/temp/build.log'.