Sugar on Fedora Core 6: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
m (remove redundant Category:Sugar)
 
(24 intermediate revisions by 13 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.
'''Sugar currently does not build on Fedora Core 6 python 2.5 and xulrunner/firefox 1.8/1.9 are required.
These packages are not available in the official fedora repositories.'''


Step 1: Make sure that all build tools are installed.
If you have not installed any development packages

(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"

==Install required packages==
(assumes some developer tools have been installed)


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


Step 2: Follow the build instructions for [[Sugar with sugar-jhbuild|sugar-jhbuild]].
yum install git gcc gcc-c++ autoconf automake libtool automake17 firefox \
firefox-devel Xulrunner Xulrunner-devel avahi avahi-glib avahi-tools avahi-devel 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 python python-devel gstreamer gstreamer-devel gstreamer-plugins \
gstreamer-plugins-base-devel Xephyr


(gregdek, 08 feb 2007)
There may be more packages required; if you find any more, please append them to this list.


: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)
==Build==


===Problems===
The easiest way to build Sugar from sources is to [[Sugar with sugar-jhbuild|use sugar-jhbuild]].
*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)





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)