Thanks to the following individuals for their timely assistance.
Ralph Rodriguez <rrodrigu_at_ssc.wisc.edu>
Steve VanDevender <stevev_at_hexadecimal.uoregon.edu>
The error was indicating the file ldmb was not found and that groff was not
found.
The compiler/linker was looking for a file called libdbm.a located in one of
these dirs:
/lib
/usr/lib
/usr/ccs/lib
The cause was that the standard libraries and the standard programer
commands packages were not loaded on the system. The groff text formatting
program was not loaded (and is not needed to compile sendmail) only for
formatting the results to the screen. As well Steve made these observations
that were helpful.
Note that the default build options for sendmail that you are
using have probably specified -DNDBM in sendmail's build flags
and -ldbm in the link flags. Traditional dbm is rolled into the Digital
UNIX C library so you do not need to have the -ldbm link
flag for dbm database support.
If you want to link with Berkeley DB 2.x then you need to make
sure that -DNEWDB is in sendmail's build flags and that -ldb
(probably prefixed with the appropriate -L/usr/local/lib or
-L/usr/local/BerkeleyDB/lib) is in the link flags.
I have Berkeley DB 2.7.7 installed in /usr/local/lib on my
system, and I use these site files for building sendmail:
> ---site.config.m4---
> define(`confENVDEF', `-DTCPWRAPPERS=1')
> PREPENDDEF(`confLIBS', `-lwrap')
>
> ---site.OSF1.m4---
> define(`confCC', `cc')
> define(`confOPTIMIZE', `-O3')
> define(`confMAPDEF', `-DNDBM -DMAP_REGEX')
> PREPENDDEF(`confLIBDIRS', `-L/usr/local/lib')
> PREPENDDEF(`confINCDIRS', `-I/usr/local/include')
>
> You can create your own site definitions in
> sendmail-8.9.3/BuildTools/Site to override the default settings.
> See sendmail-8.9.3/BuildTools/README for more information.
unixadmin__at_excite.com
________________________________________________________________
Get FREE voicemail, fax and email at
http://voicemail.excite.com
Talk online at
http://voicechat.excite.com
Received on Wed Oct 13 1999 - 13:25:23 NZDT