Sugar on Fedora Core 6

From OLPC
Revision as of 13:37, 6 May 2007 by MitchellNCharity (talk | contribs) (→‎Problems: Note workaround.)
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

[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)

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)