Solved

Makemap problem

Posted on 2003-11-05
4
627 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 50 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Easy CSR creation in Exchange 2007,2010 and 2013
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.
Familiarize people with the process of utilizing SQL Server views 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 Microsoft Access…
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …

749 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