[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] compile nmh on Mac OS X breaks on slocal.c

From: pmaydell
Subject: Re: [Nmh-workers] compile nmh on Mac OS X breaks on slocal.c
Date: Fri, 05 May 2006 10:36:14 +0100

address@hidden wrote:
>Looks like you're missing Berkeley/Sleepycat DBM or GDBM or ndbm.  Either 
>that, or
>some special incantation is needed to get it included.  The ./configure
>script (at least the CVS tree) supports these flags:
>  --with-ndbm=ARG         use -lARG to link with ndbm
>  --with-ndbmheader=ARG   #include <ARG> to use ndbm

NB that those were added in CVS after the 1.2 release (as part of the work
I did when we found 1.2 was broken wrt dbm). I was hoping that we'd fairly
quickly produce a bugfix release with those changes in but it doesn't seem
to have happened :-(

Anyway, head of CVS should give an error at configure time if it can't
find a dbm library.

>As a question to the list - AFAIK, slocal is the only thing in the entire
>nmh tree that needs DBM.  I suspect I'm not alone in using nmh/exmh/etc to deal
>with mail, but using procmail instead of slocal.  Should we modify things so
>if no DBM -devel environment is found, we simply warn and don't build slocal?

Dunno. Another possibility would be to add a --without-slocal flag; then in
the 'can't find dbm' error message we could suggest that if they don't need
slocal they can use that instead.

-- PMM

reply via email to

[Prev in Thread] Current Thread [Next in Thread]