nmh-workers
[Top] [All Lists]

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

2006-05-05 02:36:39
Valdis.Kletnieks@vt.edu 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


_______________________________________________
Nmh-workers mailing list
Nmh-workers@nongnu.org
http://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>