when gpgme support is enabled, libgpgme is not added to the list of libraries that muttng should link with. infact the command that links the muttng binary: i686-pc-linux-gnu-gcc -Wall -pedantic -pipe -o muttng <lots_of_object_files> -Limap -limap -lslang -lm -L/usr/lib -lgnutls -lgcrypt -lgpg-error -lz -lsasl2 -lidn -L/usr/lib -lgdbm gives me a lot of errors of undefined references to functions belonging to libgpgme this small patch to configure.in solves the problem: --- muttng-orig-20050317/configure.in 2005-03-16 06:17:35.000000000 +0100 +++ /var/tmp/portage/muttng-20050317/work/muttng-20050317/configure.in 2005-03-18 15:05:54.469667784 +0100 @@ -114,6 +114,7 @@ else LIBGPGME_CFLAGS=`$GPGME_CONFIG --cflags` LIBGPGME_LIBS=`$GPGME_CONFIG --libs` + MUTTLIBS="$MUTTLIBS $LIBGPGME_LIBS" MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS crypt-gpgme.o crypt-mod-pgp-gpgme.o crypt-mod-smime-gpgme.o" AC_DEFINE(CRYPT_BACKEND_GPGME, 1, [Defined, if GPGME support is enabled]) Reproducible: Always Steps to Reproduce: 1. 2. 3.
Did you send this already upstream so it gets fixed in the next snapshot? I don't know if 'fleang' for muttng works.
I can confirm this bug. Re: comment #1: I went first to bugs.gentoo.org as the ebuild (surprisingly) refers here.
I'll report the bug to upstream too
Stelian submitted his patch upstream and it should be included in the latest snapshot. Thanks, Stelian. cprior, thanks for this hint. As we don't want to strain upstream devs with distribution bugs it's best to post bugs here. Aron, i attach a diff with some changes. - gdbm or db is needed for headercache database (gdbm is chosen first in configure.) - openssl is not needed if gnutls is selected - added idn as useflag - there is already a package in the tree with this useflag - autofoo moved to DEPEND - >=autoconf-2.5 is needed - added mixmaster support as requested for mutt - is ncurses needed if slang is USEd? BTW How do you want to maintain muttng? When will you release a new version?
Created attachment 53963 [details, diff] diff
nice work torsten. i guess if aron have enough time he will make updates on mutt. but it probably take some time. :/
All set now. Thanks guys!