Hi,
I am having problems getting v2.0.12 to compile on Compaq Tru64 v5.1. I
have gone to quite extensive means to try and make it compile.
I searched the mail list archives and found a posting from Ron Roskens
on 3 Jun, 2000 which suggested something like:
env CPPFLAGS="-I/opt/BerkeleyDB.3.0/include" \
LDFLAGS="-L/opt/BerkeleyDB.3.0/lib" \
./configure
So I ended up with:
env CPPFLAGS="-I/usr/local/BerkeleyDB.3.0/include" \
LDFLAGS="-L/usr/local/BerkeleyDB.3.0/lib" \
./configure --with-cyrus-prefix=/usr/local/qut/netapps/cyrus-imapd \
--with-sasldir=/usr/local/ --with-openssl=/usr/local/ssl/ \
--disable-sieve --with-dbdir=/usr/local
Which didn't work, resulting in:
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/.)
Which is already installed into '/usr/local/BerkeleyDB.3.0'. So, then I
got naughty tricked the configure script in pretending to find it, by
modifying the 'if eav test' to return true so I got:
checking for db_create in -ldb-3... (cached) no
checking for db_create in -ldb... yes
Then I edited the 'imap/Makefile' and added to the DEPLIBS variable the
value '/usr/local/BerkeleyDB.3.0/lib/libdb.a' then the thing actually
compiled. But I got the error:
Don't know how to make 'BUILTSOURCES'
So, I gave up. To me it seems like a problem with the Compaq linker
'ld'. I am off to install gcc and see how that goes, I will respond to
this posting (for archives sake) to say what happens. In the meantime,
if anyone has any pointers for me could you please let me know.
Thanks,
--
David Richards
Project Manager (Messaging)
Information Technology Services
Queensland University of Technology