If you are running a precompiled sendmail binary, you can use the -d0.1
debugging command-line switch (?§15.7.1 on page 542) to determine whether NDBM
support is included (if it appears in the list, support is included).
If, when you build sendmail, you get an error something like this:
"map.c", line 23: syntax error at or near variable name "README"
you are using a defectively installed db library. Versions of the db package from 2.0 through
2.3.1 can interfere with ndbm, unless precautionary steps are taken. Read the file sendmail/
README for a description of how to correct this problem.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
126 | Chapter 3: Tune sendmail with Compile-Time Macros
3.4.31 NEED...
Something amiss with your OS? Port with confENVDEF
The sendmail program requires certain C-language library routines to exist. If any are
missing from your library, define the macro listed in Table 3-9 that seems to fill your needs,
and sendmail will try to emulate that need.
Eachmacro is defined with confENVDEF in your Build m4 file by setting it to a value of 1
(NEEDPUTENV is an exception in that 1 or 2 can be used):
APPENDDEF(`confENVDEF??, `-DNEEDFSYNC=1??)
Note that these are correctly defined for all currently supported systems. You should need
to redefine them only if you are porting sendmail to a completely new system.
Pages:
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249