[Solved] Kolab 2 installation on Fedora 4
john at sirprimus.com
john at sirprimus.com
Tue Aug 23 19:22:22 CEST 2005
Sounds like this could potentially cause problems with other Fedora
applications
that were/or require the 4.0 version for compilation. Please correct
me if I am
wrong in that.
This solution also seems to violate the Philosophy behind using the openpkg
system to begin with. Perhapse Kolab could ship with a version of
openpkg that
does compile on GCC 4.0.
Nevertheless, great job getting to the root of this problem.
John
Quoting Alessandro Fiorino <alessandro.fiorino at gmail.com>:
> I've managed to install and start Kolab 2.0 on Fedora 4.
> The key is the GCC compiler: openpkg 2.2 and 2.4 doesn't compile
> correctly with GCC 4.0 which is shipped with Fedora 4 (and other
> recent distributions).
> Fortunately the GCC version used under Fedora 3 (3.2.3) is avaiable
> also for Fedora 4 for compatibility: the needed packages are
> compat-gcc-32-c++-3.2.3-47.fc4
> compat-libstdc++-296-2.96-132.fc4
> compat-gcc-32-3.2.3-47.fc4
> compat-libstdc++-33-3.2.3-47.fc4
>
> Some other tricks are needed: first of all the default compiler have
> to be changed, so
>
> cd /usr/bin
> mv gcc gcc40
> mv g++ g++40
> mv gcov gcov40
> ln -s gcc32 gcc
> ln -s g++32 g++
> ln -s gcov32 gcov
>
> After that there is still a problem with the libc.so file, so the file
> /usr/lib/libc.so
> have to be edited changing from
>
> /* GNU ld script
> Use the shared library, but some functions are only in
> the static library, so try that secondarily. */
> OUTPUT_FORMAT(elf32-i386)
> GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED (
> /lib/ld-linux.so.2 ) )
>
> to
>
> /* GNU ld script
> Use the shared library, but some functions are only in
> the static library, so try that secondarily. */
> OUTPUT_FORMAT(elf32-i386)
> /* GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED (
> /lib/ld-linux.so.2 ) ) */
> GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a )
>
> Now the installation should go flawlessy, after that the modifications
> have to be reverted.
> IMHO this "hack" should not introduce problems, because one of the
> first thing the openpkg installation process does is to build a custom
> gcc 3.4.2 for its own use.
>
> If I receive other installation successes, I will add a note to the Wiki.
>
> Regards,
> Alessandro Fiorino
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-users at kolab.org
> https://kolab.org/mailman/listinfo/kolab-users
>
More information about the users
mailing list