Don't worry... you didn't installed the BerkeleyDB incorrectly, Cyrus just
doesn't know the default path to BerkeleyDB 3.x.
One quick way to compile Cyrus with BerkeleyDB 3 is to simply copy the libs
and include files to where you untarred Cyrus. On my system (FreeBSD
4.2/BerkeleyDB 3.1) I did this (while in the cyrus-imapd-2.0.11 directory
after untarring):
cp /usr/local/BerkeleyDB.3.1/lib/* ./lib
cp /usr/local/BerkeleyDB.3.1/include/* ./include
After that you should be able to compile and install without any trouble.
-David
----- Original Message -----
From: James Presley <[EMAIL PROTECTED]>
To: Cyrus Info Mailing List <[EMAIL PROTECTED]>
Sent: Friday, February 09, 2001 1:59 PM
Subject: Make problems
> I am trying to install Cyrus-imap-2.0.11.tar.gz and had a problem with the
> inital ./configure, basically I got the "cyrus needs Berkeley 3.x get it
at
> sleepy cat blah blah" I am on a RH7.0 box and cyrus-sasl and Berkeley3 is
> already installed in RPM format. So fine, I decided to compile Berkeley
3.2
> from tar. That went fine, but I still got the "cyrus needs Berkeley" same
> error. So I was reading the archives and saw someone had just copied the
> /usr/local/BerkeleyDB.3.2/lib/libdb.a file to the /usr/lib directory
> effectivly overwritting the old one. So I tried that and holy crap it
> worked! But when I tried to make I got
>
> cyrusdb_db3.c:44:16: db.h: No such file or directory
> make[1]: **[cyrusdb_db3.o] Error 1
> make[1]: Leaving directory '/usr/local/cyrus-imapd-2.0.11/lib'
> make: *** [all] Error 1
>
> ack! what the heck is going on here? to me it kinda seems like I may have
> installed Berkeley incorrectly if that is possible. Am I totally off track
> here?
>
> James
>