How to compile mutt on Mac OS X
MacPorts has mutt, but it lacks patches you want. Once you start compiling it
yourself (including --with-hcache), configure fails on BerkeleyDB, saying
"configure: error: You need Tokyo Cabinet, QDBM, GDBM or Berkeley DB4 for
mutt, mac os x, macports, berkeleydb, bdb, db47, --with-hcache.
With many thanks to Joshua Herring's
on this topic. However, whereas he choses to compile BerkeleyDB
from scratch, I prefer to install db47 using MacPorts. The key to making the
configure errors go away is including CPPFLAGS
on the command line when configuring mutt.
$ CPPFLAGS=-I/opt/local/include/ LDFLAGS=-L/opt/local/lib/ ./configure ...
Copyright © 1994-2016 by Thomer M. Gil