On Fri, 9 Feb 2001, James Presley wrote:
>
> 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?

I assume you have it installed in /usr/local/BerkeleyDB.3.2/ (the default
location).  You need to run Cyrus' configure with a
--with-dbdir=/usr/local/BerkeleyDB.3.2.  That's it.

-Bitt

Reply via email to