<<< Date Index >>>     <<< Thread Index >>>

mutt compile error



hi all,

i cannot compile the newest version of mutt with berkdb (previously
used gdbm, which worked fine). i have version 4.2.52_p2 of berkdb on
my gentoo linux system. i get the following error during the compile:

hcache.o: In function `mutt_hcache_open':
hcache.c:(.text+0xa38): undefined reference to `db_env_create_4001'
hcache.c:(.text+0xa8e): undefined reference to `db_create_4001'
collect2: ld returned 1 exit status
make[2]: *** [mutt] Error 1
make[2]: Leaving directory `/var/tmp/portage/mutt-1.5.9/work/mutt-1.5.9'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mutt-1.5.9/work/mutt-1.5.9'
make: *** [all] Error 2

it's almost as if the berkdb libraries are not being properly linked,
hence the undefined references. i used the following configure flags:

./configure --prefix=/usr --host=i686-pc-linux-gnu
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
--sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu
--disable-nls --disable-gpgme --disable-imap --disable-pop
--disable-pgp --disable-smime --disable-default-japanese
--disable-debug --enable-compressed --sysconfdir=/etc/mutt
--with-docdir=/usr/share/doc/mutt-1.5.9 --with-regex --disable-fcntl
--enable-flock --enable-nfs-fix --with-mixmaster
--enable-external-dotlock --enable-hcache --with-bdb --without-gdbm
--without-gnutls --without-ssl --without-sasl2 --with-curses
--with-mailpath=/var/spool/mail --disable-imap-edit-threads
--enable-compressed --disable-nntp

any help would be greatly appreciated.

best,
cte <cestreich@xxxxxxxxx>