On 2023-08-10 09:37, Dennis Preiser wrote: > On Thu, Aug 10, 2023 at 08:14:23AM +0200, Jan Eden via Mutt-users wrote: > > On 2023-08-07 19:18, Dennis Preiser wrote: > >> 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 – > > It would be worth a try to change the mutt formula locally. > > | brew edit mutt > > Then add > > depends_on "ncurses" > > where the depends are and add > > "--with-curses=#{Formula["ncurses"].opt_prefix}" > > to the configure options. Save and reinstall mutt > > brew reinstall mutt > > This should install mutt with the edited, locally cached formula. Since > I don't use homebrew myself I don't know if this is lost in a brew > update.
Thank you! I had to create a copy of /opt/homebrew/opt/mutt/.brew/mutt.rb because my changes to the original file were overwritten. But then I could execute brew install --build-from-source mutt.rb to get a working mutt binary. Thanks again, your help is much appreciated. - Jan
signature.asc
Description: PGP signature