Hi Folks,
Redhat 7.0, kernel 2.2.16-22 on an i486
Just before (finally) switching to sendmail and qpopper from a windows box,
I decided (in my wisdom) to stick in the newest stable sendmail version.
I have downloaded and compiled sendmail 8.12.2 but apparently I am missing
NEWDB stuff
When I try to run 'makemap hash access' I get ...
'makemap: Need to recompile with -DNEWDB for hash support'
I have tried adding 'APPENDDEF(`confMAPDEF', `-DNEWDB') to the Makefile.m4
in the sendmail-8.12.2/makemap directory and running a 'sh Build -c' which
gives me the errors:
------<Snip>--------
[root at mail makemap]# sh Build -c
Configuration: pfx=, os=Linux, rel=2.2.16-22, rbase=2, rroot=2.2, arch=i486,
sfx=, variant=optimized
Clearing out existing /root/sendmail-8.12.2/obj.Linux.2.2.16-22.i486/makemap
tree
Using M4=/usr/bin/m4
Creating /root/sendmail-8.12.2/obj.Linux.2.2.16-22.i486/makemap using
/root/sendmail-8.12.2/devtools/OS/Linux
Including /root/sendmail-8.12.2/devtools/Site/site.config.m4
Making dependencies in
/root/sendmail-8.12.2/obj.Linux.2.2.16-22.i486/makemap
rm -f sm_os.h
ln -f -s ../../include/sm/os/sm_os_linux.h sm_os.h
cc -M -I. -I../../sendmail -I../../include -DNOT_SENDMAIL -DNEWDB
makemap.c >> Makefile
In file included from makemap.c:39:
../../include/libsmdb/smdb.h:26:18: db.h: No such file or directory
make: *** [depend] Error 1
Making in /root/sendmail-8.12.2/obj.Linux.2.2.16-22.i486/makemap
cc -O2 -I. -I../../sendmail -I../../include -DNOT_SENDMAIL -DNEWDB -
c -o makemap.o makemap.c
In file included from makemap.c:39:
../../include/libsmdb/smdb.h:26:18: db.h: No such file or directory
make: *** [makemap.o] Error 1
[root at mail makemap]#
------<Snip>--------
I tried to get the Berkelely NEWDB stuff from www.sleepycat.com but site
seems to be down, and a google for mirrors gives no joy !
Am I on the right track ? . I think I need the Berkeley NEWDB stuff, but I
dont know why, as with my previous sendmail (the stock redhat7.0 one, 8.9 I
think) i could do the makemap hash ... stuff ok.
Thanks
Declan
[NODIS]
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!