Solved

Makemap problem

Posted on 2003-11-05
4
625 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
  • 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Nearly six years ago I was hired by a company to be their senior server engineer. One of my first projects was to implement Exchange Server 2007 on a Windows Server 2008 Single Copy Cluster for high availability. That was the easy part; read on to l…
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 functions 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 Ac…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

911 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now