Hello I installed successfully kolab 2.1.0 on a freshly installed fedora 7.<br><br>I used gcc-4.1.2 and SELinux was permissive.<br><br>The process failed when compiling build-in gcc but I used my <br>trick about Fedora 6, the ld wrapper using a python script. (search the wiki for more)
<br><br>Then I restarted the compile and boostrapped kolab successfully.<br><br>Here is my notes <br><br>I tried the installation of Kolab 2.1.0 on a freshly<br>installed Fedora 7<br><br>After installation I get :<br><br>
# openpkg rpm -qa<br>openpkg-2.5.4-2.5.4<br>binutils-2.16.1-2.5.1<br>openpkg-tools-0.8.47-2.5.0<br>kolab-webadmin-2.1.0-20070510<br>gpg-pubkey-63c4cb9f-3c591eda<br>make-3.80-2.5.0<br>config-20051002-2.5.0<br>kolabd-2.1.0-20070510
<br><br>Not a lot of packages :-(<br>What was the first package to fail ?<br><br># find /kolab* -iname "config.log" -ls<br>551661 12 -rw-r--r-- 1 kolab kolab 5743 Jun 19 23:13 /kolab/RPM/TMP/readline-
5.0/config.log<br>529717 12 -rw-r--r-- 1 kolab kolab 5422 Jun 19 23:12 /kolab/RPM/TMP/fsl-1.7.0/config.log<br>553155 12 -rw-r--r-- 1 kolab kolab 4805 Jun 19 23:16 /kolab/RPM/TMP/m4-1.4.3/config.log
<br>583985 12 -rw-r--r-- 1 kolab kolab 7161 Jun 19 23:21 /kolab/RPM/TMP/pkg-config-0.19/config.log<br>551963 12 -rw-r--r-- 1 kolab kolab 6843 Jun 19 23:13 /kolab/RPM/TMP/sharutils-4.5.1/config.log
<br>552345 12 -rw-r--r-- 1 kolab kolab 5794 Jun 19 23:14 /kolab/RPM/TMP/gzip-1.3.5/config.log<br>551549 12 -rw-r--r-- 1 kolab kolab 6488 Jun 19 23:13 /kolab/RPM/TMP/lzo-2.01/config.log<br>529516 8 -rw-r--r-- 1 kolab kolab 782 Jun 19 23:12 /kolab/RPM/TMP/gcc-
4.0.2/obj/config.log<br>552207 12 -rw-r--r-- 1 kolab kolab 5671 Jun 19 23:13 /kolab/RPM/TMP/pcre-6.4/config.log<br>584039 12 -rw-r--r-- 1 kolab kolab 4989 Jun 19 23:21 /kolab/RPM/TMP/perl-kolab-5.8.7
/config.log<br>551115 12 -rw-r--r-- 1 kolab kolab 5049 Jun 19 23:12 /kolab/RPM/TMP/mm-1.4.0/config.log<br>583734 12 -rw-r--r-- 1 kolab kolab 4848 Jun 19 23:19 /kolab/RPM/TMP/patch-2.5.9/config.log
<br>553992 12 -rw-r--r-- 1 kolab kolab 7150 Jun 19 23:18 /kolab/RPM/TMP/libiconv-1.10/config.log<br><br><br>It looks to be gcc at 23:12<br><br># cat /kolab/RPM/TMP/gcc-4.0.2/obj/config.log<br>This file contains any messages produced by compilers while
<br>running configure, to aid debugging if configure makes a mistake.<br><br>configure:595: checking host system type<br>configure:616: checking target system type<br>configure:634: checking build system type<br>configure:689: checking for a BSD compatible install
<br>configure:742: checking whether ln works<br>configure:766: checking whether ln -s works<br>configure:1808: checking for gcc<br>configure:1921: checking whether the C compiler (cc ) works<br>configure:1937: cc -o conftest
conftest.c 1>&5<br>/kolab/bin/ld: unrecognized option '--hash-style=gnu'<br>/kolab/bin/ld: use the --help option for usage information<br>collect2: ld returned 1 exit status<br>configure: failed program was:
<br><br>#line 1932 "configure"<br>#include "confdefs.h"<br><br>main(){return(0);}<br><br><br>Humm.. something I know about<br>I will use my old fedora core 6 workaround<br><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><br>then back to compile time ....<br><br># sh obmtool kolab 2>&1 | tee kolab-update-2.log<br><br><br>That worked, no packages missing this time.<br><br><br><br><br><br><br><br>
<br>-- <br>--<br>Alain Spineux<br>aspineux gmail com<br>May the sources be with you<br><br>