Re: compiling 2.3.16 on debian 64bit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/20/2010 09:19 AM, Rudy Gevaert wrote:
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...


Try removing the CLAGS from configure and add them to the make all.

eg.

make depend
make all CFLAGS="-O2 -g -fPIC  -Wall -pipe"



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?


They are now specified in imapd.conf


seenstate_db: skiplist
            The cyrusdb backend to use for the seen state.

            Allowed values: flat, berkeley, berkeley-hash, skiplist


mboxlist_db: skiplist
            The cyrusdb backend to use for the mailbox list.

            Allowed values: flat, berkeley, berkeley-hash, skiplist



Thanks!!


begin:vcard
fn:Patrick Boutilier
n:Boutilier;Patrick
org:;Nova Scotia Department of Education
adr:;;2021 Brunswick Street;Halifax;NS;B3K 2Y5;Canada
email;internet:boutilpj@xxxxxxxxxxx
title:WAN Communications Specialist
tel;work:902-424-6800
tel;fax:902-424-0874
version:2.1
end:vcard

----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux