Hello<br><br>One month ago I tried to install Kolab 2.1 beta3 on an updated fedora core 6 !<br><br>I first tried using the gcc 4.1.1 but get an error message from freshly compiled kolab linker ld  trying to link the freshly compiled kolab gcc using option "--hash-style=gnu".
<br>This option is new and only supported by new gcc and binutils packages !<br><br>With gcc 4.1.1 their is no more "spec" file to customize this option, and I didnt found a way to do it !<br><br>I wrote a workaround to filter this option (another workaroun is to install package compat-gcc-34, see later )  :
<br><br>First compile kolab and wait for the error.<br>Second apply my workaround <br><br>The trick is to replace ld by a python script that filter the unknown option and then start the original ld
<br><br>--- snip ---<br>mv /kolab/bin/ld /kolab/bin/ld.orig<br>cat > /kolab/bin/ld <<EOF<br>#!/usr/bin/python<br><br>import sys, os<br><br>args=[]<br><br>for arg in sys.argv:<br>    if arg!='--hash-style=gnu':
<br>        args.append(arg)<br><br>os.execv('/kolab/bin/ld.orig', args)<br>EOF<br>chmod a+x /kolab/bin/ld<br>--- snip ---<br><br>and last restart the build using "obmtool kolab"<br><br>My second problem was an error when compiling perl library !
<br>I got this error on my desktop, but not on my laptop !<br>The only difference was selinux, I desabled selinux on my desktop, rebooted and then <br>get kolab working :-)<br><br>To disable selinux : edit /etc/sysconfig/selinux 
<br>and set : SELINUX=disabled<br><br>My other workaround with gcc is to install compat-gcc-34 then run the commands<br><br>mv /usr/bin/gcc /usr/bin/gcc41<br>ln -sf /usr/bin/gcc34 /usr/bin/gcc<br><br>to set gcc-3.4 as the default one, before to start building kolab.
<br><br>Don't forget to undo your modifications if you need the original configuration.<br><br>I also got imap not starting, a saw :<br>Dec 12 19:33:34 fc6-eg.asxnet.loc <warning> ctl_cyrusdb[9290]: DBERROR db4: /kolab/var/imapd/mailboxes.db: unexpected file type or format
<br>Dec 12 19:33:34 fc6-eg.asxnet.loc <error> ctl_cyrusdb[9290]: DBERROR: opening /kolab/var/imapd/mailboxes.db: Invalid argument<br>Dec 12 19:33:34 fc6-eg.asxnet.loc <error> ctl_cyrusdb[9290]: DBERROR: opening /kolab/var/imapd/mailboxes.db: cyrusdb error
<br>Dec 12 19:33:36 fc6-eg.asxnet.loc <notice> tls_prune[9296]: tls_prune: purged 0 out of 0 entries<br>Dec 12 19:33:36 fc6-eg.asxnet.loc <notice> ctl_cyrusdb[9298]: checkpointing cyrus databases<br>Dec 12 19:33:36 
fc6-eg.asxnet.loc <warning> cyr_expire[9297]: DBERROR db4: /kolab/var/imapd/annotations.db: unexpected file type or format<br>Dec 12 19:33:36 fc6-eg.asxnet.loc <error> cyr_expire[9297]: DBERROR: opening /kolab/var/imapd/annotations.db: Invalid argument
<br>Dec 12 19:33:36 fc6-eg.asxnet.loc <error> cyr_expire[9297]: DBERROR: opening /kolab/var/imapd/annotations.db: cyrusdb error<br><br>I thing I did (dont remember very well) : <br>I just removed the 2 files and recreated empty one :
<br><br>rm -f /kolab/var/imapd/mailboxes.db /kolab/var/imapd/annotations.db<br>touch /kolab/var/imapd/mailboxes.db /kolab/var/imapd/annotations.db<br><br>Hope this help<br><br>Best regards <br><br><br>--<br>Alain Spineux<br>
aspineux gmail com<br>May the sources be with you<br>