On 2023-08-07 19:18, Dennis Preiser wrote:

> On Mon, Aug 07, 2023 at 06:16:39PM +0200, Jan Eden via Mutt-users wrote:
> > On 2023-08-07 16:29, Dennis Preiser wrote:
> >> Maybe it is sufficient to install a newer ncurses with homebrew.
> > 
> > Even with ncurses 6.4 installed, homebrew delivers a mutt version linked
> > against ncurses 5.7.
> 
> Not surprising. You must somehow tell homebrew that for mutt
> --with-curses=PATH/TO/HOMEBREW/ROOT is necessary.

Tried that, and it worked (up to a point). Compiling mutt with the
following options

./configure --enable-hcache --with-curses=/opt/homebrew/opt/ncurses 
--with-tokyocabinet=/opt/homebrew/opt/tokyo-cabinet

eliminates the redraw issue (using the current ncurses version), but
when I try to add gpgme –

./configure --enable-gpgme --enable-hcache 
--with-curses=/opt/homebrew/opt/ncurses 
--with-tokyocabinet=/opt/homebrew/opt/tokyo-cabinet 
--with-gpgme-prefix=/opt/homebrew/opt/gpgme  
--with-libgpg-error-prefix=/opt/homebrew/opt/libgpg-error

– the compilation results in a fatal error:

In file included from crypt-gpgme.c:47:
/opt/homebrew/Cellar/gpgme/1.21.0/include/gpgme.h:30:10: fatal error: 
'gpg-error.h' file not found
#include <gpg-error.h>
         ^~~~~~~~~~~~~
1 error generated.

So I would need to compile gpgme and libgpg-error myself (and probably
other components). I use homebrew to avoid this stuff, and will have to
live with the redraw bug for now.Nevertheless: Thanks for your
suggestion!

- Jan

Attachment: signature.asc
Description: PGP signature

Reply via email to