Sugar on Fedora Core 6

From OLPC
Revision as of 22:34, 19 June 2007 by Cjb (talk | contribs)
Jump to navigation Jump to search

The preferred method for building Sugar is to build from sources using sugar-jhbuild, as dependencies continue to change. A full build using sugar-jhbuild will require about 3 Gig of disk space.

Step 1: Make sure that all build tools are installed.

Carry out these three steps before installing the packages below.

sudo yum -y update
sudo yum groupinstall "Development Tools"
sudo yum groupinstall "X Software Development"

(LeJames, 2007/03/03) found that he needed the following packages in addition to the ones above:

sudo yum install intltool nspr-devel expat-devel ncurses-devel docbook-style-xsl \
libxml2-devel glib2-devel gettext-devel gtk2-devel gtk-doc \
darcs gstreamer-devel gstreamer-plugins-base-devel \
fribidi fribidi-devel enchant enchant-devel \
libxslt-devel libxslt-python GConf2-devel libgsf-devel \
xorg-x11-server-Xephyr \
git sqlite sqlite-devel speex-devel openssl-devel libtheora-devel gnutls-devel \
avahi-devel avahi-glib-devel

[Edit 31/3/07: confirmed need for git on 386, found sqlite and sqlite-devel already present but it doesn't hurt to add them -- kentquirk]

Step 2: Follow the build instructions for sugar-jhbuild.

(gregdek, 08 feb 2007)

I was unsuccessful getting ./sugar-jhbuild build to work on an x86_64 fc6. The sugar build failed due to a linkage error against mozilla. This note only applies to 64-bit machines. MitchellNCharity 14:02, 11 May 2007 (EDT)

Problems

  • Step 1 (second part - additional packages) failed with "Transaction Check Error: file /usr/bin/xslt-config from install of libxslt-devel-1.1.20-1.fc6 conflicts with file from package libxslt-devel-1.1.20-1.fc6". Running it again, with libxslt-devel removed, worked. MitchellNCharity 09:34, 6 May 2007 (EDT)