I'm still in trouble with this : Cannot compile
I did add the -DNEWDB switch, and recompiled without problems.
(using the 'sh Build -c' and 'sh Build install' commands in the sendmail src
folder)
I also did the same the in makemap src folder, which seems to be ok, but
still I get the error message 'makemap: Need to recompile with -DNEWDB for
hash support' when starting sendmail.
Results of compile and install shown below.
Any suggestions ?
Thanks,
Declan
[NODIS]
<----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=optimi
zed
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/devto
ols/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 -DNEWDB -DNOT_SENDMAIL -DNEWD
B makemap.c >> M
akefile
Making in /root/sendmail-8.12.2/obj.Linux.2.2.16-22.i486/makemap
cc -O2 -I. -I../../sendmail -I../../include -DNEWDB -DNOT_SENDMAIL -DNEW
DB -c -o makemap
.o makemap.c
cc -o makemap makemap.o
/root/sendmail-8.12.2/obj.Linux.2.2.16-22.i486/libsmdb/libsmdb.a /
root/sendmail-8.12.2/obj.Linux.2.2.16-22.i486/libsmutil/libsmutil.a
/root/sendmail-8.12.2/obj.Lin
ux.2.2.16-22.i486/libsm/libsm.a -ldb -lresolv -lcrypt -lnsl -ldl
groff -Tascii -man makemap.8 > makemap.0 || cp makemap.0.dist makemap.0
[root at mail makemap]# sh Build install
Configuration: pfx=, os=Linux, rel=2.2.16-22, rbase=2, rroot=2.2, arch=i486,
sfx=, variant=optimi
zed
Making in /root/sendmail-8.12.2/obj.Linux.2.2.16-22.i486/makemap
install -c -o bin -g bin -m 555 makemap /usr/sbin
install -c -o bin -g bin -m 444 makemap.0 /usr/man/man8/makemap.8
[root at mail makemap]# /etc/init.d/sendmail restart
Shutting down sendmail: [ OK ]
Starting sendmail: makemap: Need to recompile with -DNEWDB for hash support
makemap: Need to recompile with -DNEWDB for hash support
makemap: Need to recompile with -DNEWDB for hash support
makemap: Need to recompile with -DNEWDB for hash support
[ OK ]
<----snip--->
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!