Sugar on Fedora Core 6: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (→‎Install required packages: added missing packages)
m (remove redundant Category:Sugar)
 
(28 intermediate revisions by 14 users not shown)
Line 1: Line 1:
'''The preferred method for building Sugar is to build from sources using [[Sugar with sugar-jhbuild|sugar-jhbuild]]''', as dependencies continue to change. A full build using sugar-jhbuild will require about 3 Gig of disk space.
If you have not installed any development packages


Step 1: Make sure that all build tools are installed.
(assuming a default install of [[Fedora Core]] 6)


Carry out these three steps before installing the packages below.
Carry out these three steps before installing the packages below.


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


(LeJames, 2007/03/03) found that he needed the following packages in addition to the ones above:
==Install required packages==
sudo yum install intltool nspr-devel expat-devel ncurses-devel docbook-style-xsl \
(assumes some developer tools have been installed)
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]
You will need some packages from the [[Fedora Core]] repositories.
You can download the [[Sugar]] environment from here http://hg.fedoraproject.org/hg/olpc/applications/sugar--devel


Step 2: Follow the build instructions for [[Sugar with sugar-jhbuild|sugar-jhbuild]].
Or you can use yum, as root, to install them:


(gregdek, 08 feb 2007)
yum install git gcc gcc-c++ autoconf automake libtool automake17 mozilla \
mozilla-devel Xulrunner Xulrunner-devel avahi avahi-glib avahi-tools xorg-x11-server-Xnest libXdamage-devel \
docbook-style-xsl gtk-doc libtiff-devel libjpeg-devel libXt-devel perl-XML-Parser \
gnome-common libgsf-devel libgnomeprint22-devel libgnomeprintui22-devel \
enchant-devel fribidi-devel gstreamer gstreamer-develop gstreamer-plugins \
gstreamer-plugins-base-develop Xephyr


: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. [[User:MitchellNCharity|MitchellNCharity]] 14:02, 11 May 2007 (EDT)
There may be more packages required; if you find any more, please append them to this list.


==Build==
===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. [[User:MitchellNCharity|MitchellNCharity]] 09:34, 6 May 2007 (EDT)

The easiest way to build Sugar from sources is to [[Sugar with sugar-jhbuild|use sugar-jhbuild]].





Latest revision as of 23:10, 5 November 2008

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)