mutt compile error
- To: mutt-users@xxxxxxxx
- Subject: mutt compile error
- From: Christopher Estreich <cestreich@xxxxxxxxx>
- Date: Mon, 15 Aug 2005 11:20:43 -0700
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=e2T5gUBPl8mr183A4rp83+AyxRHUr6suaU51I7gx3LN72t0xJ+LKOqa+olR2anQBdeTPR4pBHV0cvtcuUlkuPKs9pKDxE5SC85mj/S7oYTaCQ/3LoQ3xrf8kcx+iWlPnvUMtT2QQ0mDA+NF/SkxBRi/7K5/BUSciUfClEqKBZuI=
- List-unsubscribe: <mailto:mutt-users-request@mutt.org?body=unsubscribe>
- Sender: owner-mutt-users@xxxxxxxx
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>