Re[2]: [Exim] compile fails at dbmbuild...

Top Page
Delete this message
Reply to this message
Author: Bradley D. Thornton
Date:  
To: Philip Hazel
Subject: Re[2]: [Exim] compile fails at dbmbuild...
Hello Philip,



Thursday, June 20, 2002, 00:52:40, Philip wrote:

PH> On Wed, 19 Jun 2002, Bradley D. Thornton wrote:


>> USE_DBM=yes


PH> Try USE_DB=yes


Thanks Phil,

Here's the combinations I've tried so far to no avail...

LOOKUP_DBM=yes
LOOKUP_LSEARCH=yes
# USE_DB=yes

---------------------

LOOKUP_DBM=yes
LOOKUP_LSEARCH=yes
USE_DB=yes

-----------------------

LOOKUP_DBM=yes
LOOKUP_LSEARCH=yes
USE_DB=yes
DBMLIB=-ltdb

--------------------

LOOKUP_DBM=yes
LOOKUP_LSEARCH=yes
USE_DB=yes
DBMLIB=-ldb

------------------

LOOKUP_DBM=yes
LOOKUP_LSEARCH=yes
USE_GDB=yes

----------------

I've also tried those in combination with the following hack,

<snip>-----------------------
On Sat, 14 Jul 2001 16:49:02 +0100, Mike wrote:

>I've fiddled with the Makefile in the build-linux-i386 directory and got=

it
>to build against db1 by changing this:
>
># From OS/Makefile-Linux
>BASENAME_COMMAND=3Dlook_for_it
>CFLAGS=3D-O -I/usr/include/db1/ -L/usr/lib/            <- changed
>DBMLIB =3D -ldb1                                                  <- =

changed
>USE_DB =3D yes
>LIBS =3D -lnsl -lcrypt


>haven't tested it in anger (yet).


that's the "correct correction" for db1. i have tested it, and it
works.

RedHat "improved" the db stuff beginning (as i recall) in 7.0, leading
to much flailing as we all tried to figure out why our previously
working exim setups weren't.

richard

</snip>--------------------

with the following error:

gcc -c 3D-O -I/usr/include/db1/ -L/usr/lib/ -DCOMPILE_UTILITY -o util-spool_in.o spool_in.c
gcc: cannot specify -o with -c or -S and multiple compilations
make[1]: *** [util-spool_in.o] Error 1
make[1]: Leaving directory `/home/tallship/downloads/exim/exim-4.05/build-Linux-i386'
make: *** [go] Error 2

Thanks for your patience Phil, any suggestions?

Bradley.

--
Kindest regards,



mailto:Bthornton@JointTech.com