Solved

Makemap problem

Posted on 2003-11-05
4
624 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
thanks a lot
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
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.
In this video we show how to create a User Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Mailb…
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…

763 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

7 Experts available now in Live!

Get 1:1 Help Now