mutt 2.2.13 configure fails on Ubuntu 22.04 LTS because GPGME, curses
Worked as same user on same host* for many versions up to mutt 2.2.12
, but now
$ ./configure --enable-imap --enable-smtp --enable-hcache --disable-doc --with-ssl --with-sasl --disable-dependency-tracking --enable-gpgme --enable-sidebar
...
checking whether to build with GPGME support... yes
checking for gpg-error-config... no
checking for gpgrt-config... no
checking for GPG Error - version >= 1.33... no
checking for gpgme-config... no
checking for GPGME - version >= 1.4.0... no
configure: error: *** GPGME not found or version is older than 1.4.0 ***
$ dpkg -S /usr/lib/x86_64-linux-gnu/libgpgme.so.11.25.0
libgpgme11:amd64: /usr/lib/x86_64-linux-gnu/libgpgme.so.11.25.0
Without --enable-gpgme
,
$ ./configure --enable-imap --enable-smtp --enable-hcache --disable-doc --with-ssl --with-sasl --disable-dependency-tracking --enable-sidebar
...
checking for tgoto in -ltermcap... no
checking for tgoto in -ltermlib... no
checking for tgoto in -lunknown... no
checking for initscr in -lcursesX... no
checking for initscr in -lcurses... no
checking for initscr in -lncurses... (cached) no
checking for initscr in -lxcurses... no
checking for initscr in -ljcurses... no
checking for initscr in -lunknown... no
configure: error: no curses library found
$ dpkg -S /lib/x86_64-linux-gnu/libncurses.so.6.3
libncurses6:amd64: /lib/x86_64-linux-gnu/libncurses.so.6.3
Trying to use S-Lang instead,
$ ./configure --enable-imap --enable-smtp --enable-hcache --disable-doc --with-ssl --with-sasl --disable-dependency-tracking --enable-sidebar --with-slang
...
checking for S-Lang... yes
checking for SLtt_get_terminfo in -lslang... no
configure: error: unable to compile. check config.log
$ tail -4 config.log
#define USE_SLANG_CURSES 1
#define HAVE_COLOR 1
configure: exit 1
$ dpkg -S /usr/lib/x86_64-linux-gnu/libslang.so.2.3.2
libslang2:amd64: /usr/lib/x86_64-linux-gnu/libslang.so.2.3.2
config.log from last configure
attached.
*[Except of course for all the changes since then, none of which I think should affect this, but I still suspect the environment.]