compiling 2.3.16 on debian 64bit
Rudy Gevaert
rudy.gevaert at ugent.be
Wed Jan 20 08:19:14 EST 2010
Hi!
A new year brings new resolutions! One of our resolutions is
upgrading our cyrus infrastructure from 32bit to 64bit, moving to a
new storage backend, upgrading from etch to lenny and on top of that
rewriting our backend scripts.
But before getting to all that, I need to be able to get cyrus
compiled. I have one problem, and one question:
1) I also ran into the -fpic problem and can fix that when I'm running
make. However makedepend can't handle 'pic' very well.
This is how I do it:
cyrus_version=cyrus-2.3.16
dest_dir=/tmp/cyrus-2.3.16
rm -fr $dest_dir
mkdir $dest_dir
make clean
./configure CFLAGS="-O2 -g -fpic -Wall -pipe" \
--prefix=/usr/${cyrus_version} \
--with-cyrus-prefix=/usr/${cyrus_version} \
--with-bdb-libdir=/usr/lib/ \
--with-openssl=/usr \
--with-com_err=/usr \
--with-bdb-incdir=/usr/include \
--with-seen-db=skiplist --with-mboxlist-db=skiplist \
--enable-murder --enable-idled --enable-replication
make depend || exit
make all || exit
make -C sieve test || exit
echo make install DESTDIR=${dest_dir}
make install DESTDIR=${dest_dir}
And the relevant output:
### Making depend in /home/cyrus/debs/cyrus-imapd-2.3.16/lib
make[1]: Entering directory `/home/cyrus/debs/cyrus-imapd-2.3.16/lib'
makedepend -I.. -I/usr/include -I/usr/include -I/usr/include
-I/usr/include/et -DHAVE_CONFIG_H -I. -O2 -g -fpic -Wall -pipe *.c
./*.c 1>makedepend.log 2>&1
make[1]: *** [depend] Error 1
make[1]: Leaving directory `/home/cyrus/debs/cyrus-imapd-2.3.16/lib'
make: *** [depend] Error 1
puptest:/home/cyrus/debs/cyrus-imapd-2.3.16# cat makedepend.log
cat: makedepend.log: No such file or directory
puptest:/home/cyrus/debs/cyrus-imapd-2.3.16# cat lib/makedepend.log
makedepend: warning: ignoring option -Wall
makedepend: error: cannot open "pic"
I can just not do the make depend, but I dnon't know what the impact is...
2) My other question is about some things that have been removed.
./configure --help isn't that verbose as it was in the older versions.
Also, some options seem to have been removed??
configure:22514: WARNING: unrecognized options: --with-seen-db,
--with-mboxlist-db
What has happend here?
Thanks!!
--
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert Rudy.Gevaert at UGent.be tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur Direction ICT, Infrastructure dept.
Groep Systemen Systems group
Universiteit Gent Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
More information about the Info-cyrus
mailing list