I am beating my head on the wall here:(  I have compiled and
installed BerkeleyDB.3.3.  I am now trying to compile
courier-imap with no luck.  Knowing that BerkeleyDB.3.3 was
not in the traditional location of /usr/local/BerkeleyDB I
created a soft link so that there is a /usr/local/BerkeleyDB.

Then I am putting this at the top of the script that is both
running configure and make:

DBPATH=/usr/local/BerkeleyDB.3.3
DBINC=${DBPATH}/include
DBLIB=${DBPATH}/lib

CC=gcc
CFLAGS="-I/usr/local/include -I${DBINC}"
LDFLAGS="-L/usr/local/lib -L${DBLIB}"

export CC
export CFLAGS
export LDFLAGS 

The configure script works fine, but when I go to compile
courier-imap, I get this error:

make[2]: Entering directory `~/src/courier-imap-1.6.1/bdbobj'
Compiling testbdb.C
In file included from testbdb.C:1:
bdbobj.h:21: db.h: No such file or directory

I have also had problems when using BerkeleyDB 4.0 and 4.1!

Please help!!!

Sam


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to