Having a difficult time upgrading sendmail on Mandrake
9.0 (works like a charm on my other 8.2 machines)

Sendmail just came up with 8.12.9
Ran the usual sendmail "sh Build", and it works ok.
But then, when I try "service start sendmail" i get an
error:: 
Starting sendmail: makemap: Need to recompile with
-DNEWDB for hash support
make: *** [access.db] Error 73
554 5.0.0 /etc/mail/sendmail.cf: line 152: readcf: map
access: class hash not available
554 5.0.0 /etc/mail/sendmail.cf: line 158: readcf: map
authinfo: class hash not available


So, OK, i create a site.config.m4 file, and added the
following to it::
APPENDDEF(`confMAPDEF', `-NEWDB')

NoGo!! Getting Error:

cc -O2 -I. -I../../include  -DNEWDB -DNDBM -DNIS
-DMAP_REGEX      -c -o macro.o macro.c
cc -O2 -I. -I../../include  -DNEWDB -DNDBM -DNIS
-DMAP_REGEX      -c -o map.o map.c
map.c:23:19: ndbm.h: No such file or directory
In file included from map.c:32:
../../include/sm/bdb.h:17:17: db.h: No such file or
directory
map.c:44: parse error before "DBTYPE"
map.c: In function `ndbm_map_open':
map.c:1351: syntax error before '*' token
:
:
map.c:2526: `db' undeclared (first use in this
function)
make: *** [map.o] Error 1


I even downloaded the Berkerly db library, and added
the following to my site.config.m4

APPENDDEF(`confLIBDIRS',
`-L/usr/local/BerkeleyDB.4.1/lib')
APPENDDEF(`confINCDIRS',
`-I/usr/local/BerkeleyDB.4.1/include')

Still, NoGo

I believe it might have something to do with cc
compiler....i have 2.96 on 8.2machines, and 3.2 of the
9.0.

Any ideas on how to overcome this?
RPM are more of a nightmare..........Too many
dependecies, some of which are already installed, but
it is missing an older version of it, so it aborts!!
SO i prefer manual, using my own directory structure.

Any help will be highly appreciated.
(In the meantime, am trying to locate sendmail
mailinglist)

Richard



=====


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to