[Exim] exim and dbm.

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Dave L.
Data:  
Para: exim-users
Assunto: [Exim] exim and dbm.
Once upon a time, I worked a tech support job. We used to joke, "the smart
ones never call". It is to my great chagrin, then, to find myself begging
for what is probably painfully obvious to everyone but me. For what it's
worth, I googled and did go through the mailing list. My apologies in
advance.

The box is running Debian (Woody). Also, after a lot of barfing trying to
install exim 4, I went and installed berkeley db from sleepycat software
(apt-get was being a bitch). Here's what we get:

stitch:/opt/exim4/exim-4.00# uname -a
Linux stitch 2.2.20-idepci #1 Sat Apr 20 12:45:19 EST 2002 i586 unknown

stitch:/opt/exim4/exim-4.00# make
make[1]: Entering directory `/opt/exim4/exim-4.00/build-Linux-i386'
make[2]: Entering directory `/opt/exim4/exim-4.00/build-Linux-i386/pcre'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/exim4/exim-4.00/build-Linux-i386/pcre'
gcc -c -O  exim_dbmbuild.c
In file included from exim.h:316,
                 from exim_dbmbuild.c:30:
dbstuff.h:101: db.h: No such file or directory
make[1]: *** [exim_dbmbuild] Error 1
make[1]: Leaving directory `/opt/exim4/exim-4.00/build-Linux-i386'
make: *** [go] Error 2


I read the readme and the dbm.discuss.txt file:
"...call the DBM library in its native mode instead of via the ndbm
compatibility interface, thus avoiding the use of ndbm.h. This is done by
setting the USE_DB configuration option if you are using Berkeley DB, or
USE_GDBM if you are using gdbm." Hmmm. I assume that means that the line
USE_DB = yes needs to *already* be in the build-specific makefile
[build_directory]/OS/Makefile-Linux, not that I should *add* this line to
[build_directory]/Local/Makefile, right?

stitch:/opt/exim4/exim-4.00# less /opt/exim4/exim-4.00/OS/Makefile-Linux
|grep USE_DB
USE_DB = yes
stitch:/opt/exim4/exim-4.00/OS#

Here's another piece: I ran "make makefile" after installing sleepycat db,
and then ran make again. No dice, same error as above. Also, just for grins
I tried commenting out "USE_DB = yes" in the
OS/Makefile-Linux file and adding "USE_GDBM = yes". This still barfed when I
ran make from the build directory.

Gentlemen, I'm stumped. I sure hope to hear from you.

Many thanks, Dave.

_________________________________________________________________
Send a QuickGreet with MSN Messenger
http://www.msnmessenger-download.com/tracking/cdp_games