Problems installing Kolab on Fedora Core 5

Alain Spineux aspineux at gmail.com
Sun Feb 11 02:38:54 CET 2007


This is the problems I got when installing on Fedora Core 6.

Hope this help

Alain

Hello

One month ago I tried to install Kolab 2.1 beta3 on an updated fedora core 6 !

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".
This option is new and only supported by new gcc and binutils packages !

With gcc 4.1.1 their is no more "spec" file to customize this option,
and I didnt found a way to do it !

I wrote a workaround to filter this option (another workaroun is to
install package compat-gcc-34, see later )  :

First compile kolab and wait for the error.
Second apply my workaround

The trick is to replace ld by a python script that filter the unknown
option and then start the original ld

--- snip ---
mv /kolab/bin/ld /kolab/bin/ld.orig
cat > /kolab/bin/ld <<EOF
#!/usr/bin/python

import sys, os

args=[]

for arg in sys.argv:
    if arg!='--hash-style=gnu':
        args.append(arg)

os.execv('/kolab/bin/ld.orig', args)
EOF
chmod a+x /kolab/bin/ld
--- snip ---

and last restart the build using "obmtool kolab"

My second problem was an error when compiling perl library !
I got this error on my desktop, but not on my laptop !
The only difference was selinux, I desabled selinux on my desktop,
rebooted and then
get kolab working :-)

To disable selinux : edit /etc/sysconfig/selinux
and set : SELINUX=disabled

My other workaround with gcc is to install compat-gcc-34 then run the commands

mv /usr/bin/gcc /usr/bin/gcc41
ln -sf /usr/bin/gcc34 /usr/bin/gcc

to set gcc-3.4 as the default one, before to start building kolab.

Don't forget to undo your modifications if you need the original configuration.

I also got imap not starting, a saw :
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
Dec 12 19:33:34 fc6-eg.asxnet.loc <error> ctl_cyrusdb[9290]: DBERROR:
opening /kolab/var/imapd/mailboxes.db: Invalid argument
Dec 12 19:33:34 fc6-eg.asxnet.loc <error> ctl_cyrusdb[9290]: DBERROR:
opening /kolab/var/imapd/mailboxes.db: cyrusdb error
Dec 12 19:33:36 fc6-eg.asxnet.loc <notice> tls_prune[9296]: tls_prune:
purged 0 out of 0 entries
Dec 12 19:33:36 fc6-eg.asxnet.loc <notice> ctl_cyrusdb[9298]:
checkpointing cyrus databases
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
Dec 12 19:33:36 fc6-eg.asxnet.loc <error> cyr_expire[9297]: DBERROR:
opening /kolab/var/imapd/annotations.db: Invalid argument
Dec 12 19:33:36 fc6-eg.asxnet.loc <error> cyr_expire[9297]: DBERROR:
opening /kolab/var/imapd/annotations.db: cyrusdb error

I thing I did (dont remember very well) :
I just removed the 2 files and recreated empty one :

rm -f /kolab/var/imapd/mailboxes.db /kolab/var/imapd/annotations.db
touch /kolab/var/imapd/mailboxes.db /kolab/var/imapd/annotations.db

Hope this help

Best regards



On 1/26/07, Caleb <kolab at cwalk.org> wrote:
> I am using the "./obmtool kolab 2>&1 | tee kolab-build.log" method of installing kolab as described in the 1st.README file and I get the same problem as another use on this list received but nobody responded (http://kolab.org/pipermail/kolab-users/2007-January/005770.html).  I thought I would re-ask for a solution to this problem.  Here is the log after running the above mentioned command.  I just copied the last 37 or so lines of data.  Thank you in advance.
>
> Making all in intl
> make[2]: Entering directory `/kolab/RPM/TMP/openpkg-2.4.3/rpm-4.2.1/intl'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/kolab/RPM/TMP/openpkg-2.4.3/rpm-4.2.1/intl'
> Making all in file
> make[2]: Entering directory `/kolab/RPM/TMP/openpkg-2.4.3/rpm-4.2.1/file'
> cd . && true
> cat ./Header ./Localstuff > magic
> for frag in Magdir/acorn Magdir/adi Magdir/adventure Magdir/allegro Magdir/alliant Magdir/alpha Magdir/amanda Magdir/amigaos Magdir/animation Magdir/apl Magdir/apple Magdir/applix Magdir/archive Magdir/asterix Magdir/att3b Magdir/audio Magdir/blender Magdir/blit Magdir/bsdi Magdir/c-lang Magdir/cddb Magdir/chi Magdir/cisco Magdir/citrus Magdir/claris Magdir/clipper Magdir/commands Magdir/compress Magdir/console Magdir/convex Magdir/ctags Magdir/cvs Magdir/database Magdir/diamond Magdir/diff Magdir/digital Magdir/dolby Magdir/dump Magdir/dyadic Magdir/editors Magdir/elf Magdir/encore Magdir/epoc Magdir/filesystems Magdir/flash Magdir/fonts Magdir/frame Magdir/freebsd Magdir/fsav Magdir/gimp Magdir/gnu Magdir/grace Magdir/gringotts Magdir/hitachi-sh Magdir/hp Magdir/ibm370 Magdir/ibm6000 Magdir/iff Magdir/images Magdir/impulse Magdir/intel Magdir/interleaf Magdir/island Magdir/ispell Magdir/java Magdir/jpeg Magdir/karma Magdir/lecter Magdir/lex Magdir/lif Magdir/linux Magdir/
 li
>  sp Magdir/mach Magdir/macintosh Magdir/magic Magdir/mail.news Magdir/maple Magdir/mathematica Magdir/mcrypt Magdir/mime Magdir/mips Magdir/mirage Magdir/mkid Magdir/mmdf Magdir/mlssa Magdir/modem Magdir/motorola Magdir/msdos Magdir/msvc Magdir/natinst Magdir/ncr Magdir/netbsd Magdir/netscape Magdir/news Magdir/nitpicker Magdir/octave Magdir/olf Magdir/os2 Magdir/os9 Magdir/osf1 Magdir/palm Magdir/parix Magdir/pbm Magdir/pdf Magdir/pdp Magdir/perl Magdir/pgp Magdir/pkgadd Magdir/plus5 Magdir/printer Magdir/project Magdir/psdbms Magdir/pulsar Magdir/pyramid Magdir/python Magdir/riff Magdir/rpm Magdir/rtf Magdir/sc Magdir/sccs Magdir/sendmail Magdir/sequent Magdir/sgml Magdir/sharc Magdir/sketch Magdir/smalltalk Magdir/sniffer Magdir/softquad Magdir/spectrum Magdir/sun Magdir/sysex Magdir/teapot Magdir/terminfo Magdir/tex Magdir/tgif Magdir/ti-8x Magdir/timezone Magdir/troff Magdir/tuxedo Magdir/typeset Magdir/unknown Magdir/uuencode Magdir/varied.out Magdir/vax Magdir/vicar 
 Ma
>  gdir/visx Magdir/vms Magdir/vmware Magdir/vorbis Magdir/vxl Magdir/wordperfect Magdir/xdelta Magdir/xenix Magdir/zilog Magdir/zyxel; do \
>   if test -f ./$frag; then \
>     f=./$frag; \
>   else \
>     f=$frag; \
>   fi; \
>           cat $f; \
> done >> magic
> if /usr/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.   -DMAGIC='"/kolab/lib/openpkg/magic"'  -DOPENPKG -DOPENPKG_LINUX -I/kolab/RPM/TMP/openpkg-2.4.3/zlib-1.2.3 -I/kolab/RPM/TMP/openpkg-2.4.3/bzip2-1.0.3 -I/kolab/RPM/TMP/openpkg-2.4.3/beecrypt-4.1.2 -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -MT file.o -MD -MP -MF ".deps/file.Tpo" \
>   -c -o file.o `test -f 'file.c' || echo './'`file.c; \
> then mv -f ".deps/file.Tpo" ".deps/file.Po"; \
> else rm -f ".deps/file.Tpo"; exit 1; \
> fi
> In file included from /usr/include/inttypes.h:28,
>                  from system.h:17,
>                  from file.c:28:
> /usr/include/stdint.h:49: error: duplicate 'unsigned'
> /usr/include/stdint.h:49: error: two or more data types in declaration specifiers
> /usr/include/stdint.h:50: error: duplicate 'unsigned'
> /usr/include/stdint.h:50: error: duplicate 'short'
> /usr/include/stdint.h:52: error: duplicate 'unsigned'
> /usr/include/stdint.h:52: error: two or more data types in declaration specifiers
> make[2]: *** [file.o] Error 1
> make[2]: Leaving directory `/kolab/RPM/TMP/openpkg-2.4.3/rpm-4.2.1/file'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/kolab/RPM/TMP/openpkg-2.4.3/rpm-4.2.1'
> make: *** [all] Error 2
> + exit 2
> ./openpkg.boot:ERROR: script returned non-null value
> /tmp/obmtool.31203.tmp: line 436: /kolab/RPM/PKG/openpkg-2.4.3-2.4.3.*-*-*.sh: No such file or directory
> obmtool:ERROR: bootstrapping failed
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-users at kolab.org
> https://kolab.org/mailman/listinfo/kolab-users
>


-- 
--
Alain Spineux
aspineux gmail com
May the sources be with you




More information about the users mailing list