r21 - 15 Sep 2007 - 07:33:24 - MikeBeachyYou are here: OSAF >  Developers Web  >  ChandlerDesktopSource > BuildingChandlerDesktop > FedoraCoreBuildNotes

Chandler on Fedora Core Build Notes

Note: as of the more recent versions of Chandler you will need at least gtk version 2.8 because of dependencies within wxPython.

Fedora Core 5

Morgen reports that so far the only adjustment he has had to make is to create the following symlink:

cd /lib; ln -s libexpat.so.0 libexpat.so.1

You should probably still use

make compilers
to download the GCJ that is needed for Projects.PyLucene and you may need to do one of the symlinks listed for FC4

Let me know if that is the case (bear)

Fedora Core 4

Step 1

ln -s /usr/lib/gcc/i386-redhat-linux/4.0.0/libgcc_s.so /usr/lib/libgcc_s.so.1


ln -s /usr/lib/gcc/x86_64-redhat-linux/4.0.0/libgcc_s.so /usr/lib/libgcc_s.so.1

Step 2

FC4 comes standard with gcc 4.0+ so we need to let the build system know about it:

export GCJ_HOME=/usr
export GCJ_VER=4

Now you can set your BUILD_ROOT and proceed to build Chandler. Note After building you will need to remove [release|debug]/lib/libstdc++.so.6 as it will conflict the version found in FC4.

make install notes

Partial builds are possible by first installing the libstdc++ compatibility package:

yum install compat-libstdc++-33

(Note: this doesn't seem to interfere with full builds in any way.)

Fedora Core 3

Step 1

ln -s /usr/lib/gcc/i386-redhat-linux/3.4.2/libgcc_s.so /usr/lib/libgcc_s.so.1


ln -s /usr/lib/gcc/x86_64-redhat-linux/3.4.2/libgcc_s.so /usr/lib/libgcc_s.so.1

Step 2

FC3 has gjc 3.4.2, named as the build system expects.

All you need to do is set the GCJ_HOME environment variable like so:

export GCJ_HOME=/usr

Then, you can skip the compilers target and start following the directions after that step.

Also, if you happen to get complaints during the wx portion of the build regarding gtk-config, make sure you have gtk+, gtk2, gtk+-devel, and gtk2-devel RPMs installed.

Fedora Core 2

Step 1

ln -s /usr/lib/gcc/i386-redhat-linux/3.4.0/libgcc_s.so /usr/lib/libgcc_s.so.1

Step 2

Since we switched our build to require to gcc 3.4.2 or newer, and there is no such thing available as an RPM for FC2, we made a precompiled version available that you can get by doing:

make compilers

in the external directory. That will download and unpack the precompiled gcc, and even GCJ_HOME will be set correctly. However, you should probably copy the gcc-3.4.3 directory to your home directory or somewhere else where it won't be deleted if you delete your chandler sources. Then you will also need to set GCJ_HOME appropriately.

HeikkiToivonen - 31 Aug 2004

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r21 < r20 < r19 < r18 < r17 | More topic actions
Open Source Applications Foundation
Except where otherwise noted, this site and its content are licensed by OSAF under an Creative Commons License, Attribution Only 3.0.
See list of page contributors for attributions.