Kindly refer to an earlier mail sent by Andrew K Bressen (a copy is
enclosed herewith) which offers a solution: 

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

Date: Tue, 13 Mar 2001 17:08:22 -0500 (EST)
From: Andrew K Bressen <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: AIX 4.3.3  and cyrus-imapd-2.0.12


>I try to configure cyrus imapd 2.0.12 on AIX 4.3.3 witch Berkley DB3.2
and
>got the following error:
>
>./configure --with-dbdir=/usr/local/BerkeleyDB.3.2

well, you could try --with-dbdir=/usr/local/BerkeleyDB.3.2/lib,

and also 

CPPFLAGS="-I/usr/local/BerkeleyDB.3.2/include/"
LDFLAGS="-L/usr/local/BerkeleyDB.3.2/lib" ./configure
for the configure statement. 

remember to "make distclean" before proceeding. 

I've found life is better just making /lib/db.a and db.so and
/usr/include/db.h be symlinks to the berkeley 3 versions, but under
AIX this might be a little dangerous; I'm not sure if SMIT uses db
for its datastore...
---------------------------------------------------------

On Mon, 2 Jul 2001, Res Batamula wrote:

> We run AIX 4.3.3 on RS/6000 machine. I have been having problems when
> I try to install Cyrus IMAP (version 2.0.12). As a pre-requisite for
> installing this server, I installed Berkeley DB but when I run
> ./configure for Cyrus IMAP it keeps complaining that it can not find
> Berkeley DB. I have tried running configure with the Berkeley DB path
> but still gets the same error.  Below are last few lines I get when I
> run ./configure:
> 
> checking for tm_zone in struct tm... no
> 
> checking for tzname... yes
> 
> checking for vprintf... yes
> 
> checking for db_create in -ldb-3... no
> 
> checking for db_create in -ldb... no
> 
> configure: error: this version requires Berkeley DB 3.x.
> 
> (Get it from http://www.sleepycat.com/.)
> 
> Please let me know what I am doing wrong or what I should do to
> install Cyrus On AIX.
> 
> Res Batamula
> Info. Tech. Services
> Gallaudet University
> 
> 

Reply via email to