When I emerge courier-imap-4.0.4 I got these error messages : ..... make all-am make[3]: Entering directory `/var/tmp/portage/courier-imap-4.0.4/work/courier-imap-4.0.4/bdbobj' Compiling bdbobj.c Compiling bdbobj2.c Compiling bdbobj3.c Linking libbdbobj.la Compiling testbdb.C Linking testbdb ./.libs/libbdbobj.a(bdbobj.o): In function `bdbobj_open': bdbobj.c:(.text+0xba): undefined reference to `db_create' collect2: ld returned 1 exit status make[3]: *** [testbdb] Error 1 make[3]: Leaving directory `/var/tmp/portage/courier-imap-4.0.4/work/courier-imap-4.0.4/bdbobj' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/courier-imap-4.0.4/work/courier-imap-4.0.4/bdbobj' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/courier-imap-4.0.4/work/courier-imap-4.0.4' make: *** [all] Error 2 !!! ERROR: net-mail/courier-imap-4.0.4 failed. Call stack: ebuild.sh, line 1540: Called dyn_compile ebuild.sh, line 940: Called src_compile courier-imap-4.0.4.ebuild, line 174: Called die !!! compile problem !!! If you need support, post the topmost build error, and the call stack if relevant. #emerge -vp courier-imap These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] net-mail/courier-imap-4.0.4 [4.0.1] USE="berkdb ipv6 nls -debug -fam -gdbm*" 0 kB #emerge --info Portage 2.1.1_pre1 (default-linux/amd64/2006.0, gcc-3.4.5/amd64-vanilla, glibc-2.4-r3, 2.6.15-gentoo-r5 x86_64)================================================================= System uname: 2.6.15-gentoo-r5 x86_64 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.12.1 ccache version 2.4 [disabled] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=nocona" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -pipe -march=nocona" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://192.168.1.1/gentoo-portage" USE="amd64 X alsa avi berkdb bitmap-fonts cli crypt cups dri eds emboss encode foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde lzw lzw-tiff mp3 mpeg ncurses nls nptl nptlonly opengl pam pcre pdflib perl png pppd python qt quicktime readline reflection sasl sdl session spell spl ssl tcpd tiff truetype-fonts type1-fonts usb xorg xpm xv zlib elibc_glibc kernel_linux userland_GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
*** This bug has been marked as a duplicate of 137157 ***
.
# emerge -vp db These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-libs/db-4.3.29 USE="-bootstrap -doc -java -nocxx -tcltk" 0 kB