[ILUG] sendmail, makemap probs
Hunt, Bryan
B.Hunt at emuse-tech.com
Fri Feb 8 13:37:55 GMT 2002
http://www.linuxjournal.com/article.php?sid=4241
-----Original Message-----
From: Declan Grady [mailto:Declan.Grady at nuvotem.com]
Sent: 08 February 2002 13:05
To: ilug at linux.ie
Subject: [ILUG] sendmail, makemap probs
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]
--
Irish Linux Users' Group: ilug at linux.ie
http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
List maintainer: listmaster at linux.ie
More information about the ILUG
mailing list