At 12:32 PM 4/4/2001 +1200, paul wrote:
>Hi all,
>
>downloaded 2.0.12 and ran into problems during the ./configure process.
>It bailed when looking for a properly configured db3 install. I didn't
>have it, so I downloaded and installed the appropriate db3 and db3-devel
>rpms from rpmfind.net. Still failed, which I thought was curious. So I
>downloaded the latest db3 source, uninstalled the RPMS and did the
>compile and install thing. This still did not fix the problem.
>
>Has anyone else had this experience? Are there some symbolic links I
>need to have in place or something?
>
>I'm away from the machine now, or I'd put up the full error message.
>Perhaps someone else has encountered this and knows the solution though.
>It's a Mandrake 7.2 distro.
>
>Best regards and thanks,
>
>Paul Dorman.
The DB defaults dont match the requirements for later versions
Using source you need to do the following
Build Berkeley DB: Note - the --enabled-shared will create dynamic libs
instead of static.
cd db-3.2.9/build_unix; ../dist/configure --enable-shared
make -C db-3.2.9/build_unix all
make -C db-3.2.9/build_unix install
grep '/usr/local/BerkeleyDB.3.2/lib' /etc/ld.so.conf || echo
/usr/local/BerkeleyDB.3.2/lib >>/etc/ld.so.conf
ldconfig
Build SASL: Note - the xxFLAGS indicate where to get the BerkeleyDB
components. Use the --without to disable auth methods.
cd cyrus-sasl-1.5.24; \
CPPFLAGS=-I/usr/local/BerkeleyDB.3.2/include \
LDFLAGS=-L/usr/local/BerkeleyDB.3.2/lib \
./configure \
--without-krb \
--without-gssapi
make -C cyrus-sasl-1.5.24 all
make -C cyrus-sasl-1.5.24 install
test -L /usr/lib/sasl || ln -s /usr/local/lib/sasl /usr/lib/sasl
ldconfig
Build Cyrus IMAP .....
Worked for me
Cheers
Mark Sweney