?
Solved

Makemap problem

Posted on 2003-11-05
4
Medium Priority
?
629 Views
Last Modified: 2013-12-17
Hi,

Im trying to install sendmail.8.12.10 on Mandrake Pro Suite 9.2 but im having some problems with the makemap command.

whenever I run "makemap hash.... or makemap dbm" it returns an error saying
recomplie makemap with -DNEWDB or something along those lines. Where do I put the extra -DNEWDB when recomplilng makemap?

Thanks
0
Comment
Question by:choccarlm
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 9691263
That optin needs to be included in the confMAPDEF when building sendmail. The usual method of doing this is to create a devtools/Site/site..m4 file containing at least:

define(`confMAPDEF', `-DNIS -DMAP_REGEX')
 
and then use 'Build', 'Build install'.
0
 

Author Comment

by:choccarlm
ID: 9693021
I added /devtools/Site/site.config.m4 and places the line:

define(`confMAPDEF', `-DNIS -DMAP_REGEX')

within that file.

This was a new install so I then built sendmail, went into the makemap directory and ran

sh Build -c
sh Build install

Im still getting the same error though

(I've installed the db required from sleepycat)
0
 
LVL 40

Accepted Solution

by:
jlevie earned 200 total points
ID: 9698140
The default install of BerkeleyDB would be to /usr/local/BerkelyDB.n.n, which isn't someplace that the sendmail build process will look. If your copy of BerkeleyDB is installed that way you need to tell Sendmail about it. The last time I built sendmail from source it was on a system that used BerkeleyDB 3.2.9 and the site.m4 file that I used looked like:

define(`confMANROOT', `/usr/share/man/man')
define(`confDONT_INSTALL_CATMAN')
define(`confINSTALL_RAWMAN')
define(`confMAPDEF', `-DNIS -DMAP_REGEX')
APPENDDEF(`conf_sendmail_ENVDEF', `-DMILTER')
APPENDDEF(`confINCDIRS', `-I/usr/local/BerkeleyDB.3.2/include')
APPENDDEF(`confLIBDIRS', `-L/usr/local/BerkeleyDB.3.2/lib')
0
 

Author Comment

by:choccarlm
ID: 9716256
thanks a lot
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question