Sugar on Fedora Core 6: Difference between revisions

From OLPC
Jump to navigation Jump to search
mNo edit summary
m (remove redundant Category:Sugar)
 
(32 intermediate revisions by 16 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
(assuming a default install of Fedora core 6)
Carry out these three steps before installing the packages below.


Step 1: Make sure that all build tools are installed.
# yum -y update
# yum groupinstall "Development Tools"
# yum groupinstall "X Software Development"


Carry out these three steps before installing the packages below.
==Install required packages==
(assumes some developer tools have been installed)

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


sudo yum -y update
Or you can use yum, as root, to install them:
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:
yum install git gcc gcc-c++ autoconf automake libtool automake17 mozilla \
sudo yum install intltool nspr-devel expat-devel ncurses-devel docbook-style-xsl \
mozilla-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 \
libxml2-devel glib2-devel gettext-devel gtk2-devel gtk-doc \
gnome-common libgsf-devel libgnomeprint22-devel libgnomeprintui22-devel \
darcs gstreamer-devel gstreamer-plugins-base-devel \
enchant-devel fribidi-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]
There may be more packages required; if you find any more, please append them to this list.


Step 2: Follow the build instructions for [[Sugar with sugar-jhbuild|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. [[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)




[[Category:Installing Sugar]]
[[Category:Installing Sugar]]
[[Category:Sugar]]
[[Category:Developers]]
[[Category:Software development]]

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)