<<< Date Index >>>     <<< Thread Index >>>

Re: Compiling Mutt on a Macbook Pro and recommendation for mailing



On Tuesday, 06 January 2009 at 20:25, John J. Foster wrote:
> On Tue, Jan 06, 2009 at 08:18:35PM -0700, John J. Foster wrote:
> > $ ./prepare -prefix=/opt/local/ --with-ssl --enable-hcache --enable-imap
> > --disable-fcntl --enable-flock --with-regex
> > 
> > This bombed out with
> > ...
> > ...
> > checking for gdbm_open... no
> > checking for BerkeleyDB > 4.0... no
> > configure: error: You need Tokyo Cabinet, QDBM, GDBM or Berkeley DB4 for
> > hcache
> > 
> If I configure without "--enable-hcache", all works well, albeit real
> slow. But what's with this output:
> 
> $ mutt -v
> Mutt 1.5.14 (2007-03-31)

Looks like you need to hg up -C HEAD
Compare `hg parents` to `hg tip`, or just `hg parents | grep tip`.

As for the gdbm error, something like
./configure CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/include ...
might work.

or just port install mutt (with whatever combination of flags is
needed. I don't remember the macports syntax very well).

FWIW, here's how easy it is to get mutt with fink:

1. install fink
2. enable the unstable tree
3. append to /sw/etc/apt/sources.list:
   deb http://fink.sodan.ecc.u-tokyo.ac.jp/apt/10.5 unstable main crypto
4. apt-get update
5. apt-get install mutt

I put 1.5.19 into fink last night. The binary may not be ready for
another day or two (the autobuilder sometimes gets backlogged).