Cyrus IMAPd 2.2.2-BETA Released
Bill Earle
bill at buffalo.edu
Thu Oct 30 14:00:23 EST 2003
On Thu, 30 Oct 2003, Bill Earle wrote:
> On Thu, 30 Oct 2003, Rob Siemborski wrote:
>
> > On Thu, 30 Oct 2003, Bill Earle wrote:
> >
> > > 1. It appears that the "--with-dbdir=/usr/local/BerkeleyDB.4.1"
> > > does not get propogated in an include dir.
> > > - the make fails in /ssa/Build/cyrus-imapd-2.2.2-BETA/imap
> >
> > Try --with-bdb-incdir and --with-bdb-libdir.
>
> Thanks Rob! As a temporary fix I had...
>
> export CPPFLAGS=-I/usr/local/BerkeleyDB.4.1/include
> - then re-ran the configure, make depend and ran make just fine.
I can successfully use CPPFLAGS and compile.
I extracted a fresh copy and:
- tried the following configure:
./configure \
--with-extraident=UB_2003_10_30 \
--with-auth=unix \
--with-cyrus-group=mail \
--prefix=/ssa/cyrus-2.2.2 \
--with-cyrus-prefix=/ssa/cyrus-2.2.2 \
--with-cyrus-user=cyrusadm \
--with-dbdir=/usr/local/BerkeleyDB.4.1 \
--with-bdb-incdir=/usr/local/BerkeleyDB.4.1/include \
--with-bdb-libdir=/usr/local/BerkeleyDB.4.1/lib \
--with-duplicate-db=skiplist \
--with-mboxlist-db=skiplist \
--with-seen-db=skiplist \
--with-subs-db=flat \
--with-tls-db=skiplist \
--with-idle=poll \
--with-openssl=/usr/local/ssl \
--with-perl=/usr/local/bin/perl \
--with-sasl=/usr/local \
--with-statedir=/var \
--disable-sieve \
--with-annotation-db=skiplist \
--with-pts-db=skiplist
- make depend ; make
- the build failed at the same place.
...
gcc -c -I. -I.. -I. -I./../lib -I./../sieve -I./../et
-I/usr/local/ssl/include -I/usr/local/include -DHAVE_CONFIG_H -g -O2 \
version.c
version.c:46:16: db.h: No such file or directory
make[1]: *** [version.o] Error 1
make[1]: Leaving directory `/ssa/Build/cyrus-imapd-2.2.2-BETA/imap'
make: *** [all] Error 1
- as defined by --with-bdb-incdir=/usr/local/BerkeleyDB.4.1/include:
bash-2.03# ls -la /usr/local/BerkeleyDB.4.1/include
total 216
drwxr-sr-x 2 root staff 512 Aug 22 14:36 .
drwxr-sr-x 6 root staff 512 Aug 22 14:36 ..
-r--r--r-- 1 100 csfaculty 1212 Jan 11 2002 cxx_common.h
-r--r--r-- 1 100 csfaculty 3967 Aug 7 2002 cxx_except.h
-r--r--r-- 1 root root 75934 Aug 22 14:26 db.h
-r--r--r-- 1 root root 25091 Aug 22 14:26 db_cxx.h
More information about the Info-cyrus
mailing list