Sugar on Fedora: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
(Tweak, tidy, and restructure a bit)
Line 3: Line 3:
{{jhbuild-nav}}
{{jhbuild-nav}}


These instructions apply to both Fedora 7 and Fedora 8. Fedora 9, 64-bit does not work due to [http://bugs.freedesktop.org/show_bug.cgi?id=15839 this bug] 32 bit should work.
These instructions apply to Fedora 7, 8, and 9 32- and 64-bit.

Fedora 9 rawhide package solves the Xephyr problem on 64-bit Fedora
yum --enablerepo=rawhide update xorg-x11-server-Xephyr
At the time the new Xephyr version was:
xorg-x11-server-Xephyr-1.4.99.906-5.fc10.x86_64



'''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.
'''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.


Step 1: Install the build prerequisites:
==Step 1: Install the build prerequisites==


sudo yum -y update
sudo yum -y update
sudo yum groupinstall "Development Tools"
sudo yum -y groupinstall "Development Tools"
sudo yum groupinstall "X Software Development"
sudo yum -y groupinstall "X Software Development"
sudo yum install git intltool darcs xorg-x11-server-Xephyr \
sudo yum -y install git intltool darcs xorg-x11-server-Xephyr \
gstreamer-devel gstreamer-plugins-base-devel gstreamer-python \
gstreamer-devel gstreamer-plugins-base-devel gstreamer-python \
fribidi-devel enchant-devel openssl-devel sqlite-devel python-devel \
fribidi-devel enchant-devel openssl-devel sqlite-devel python-devel \
Line 32: Line 26:
icon-naming-utils loudmouth-devel icon-slicer
icon-naming-utils loudmouth-devel icon-slicer


;NOTE: the dependency check will fail if you don't have a DISPLAY set.
Step 2: Follow the build instructions for [[Sugar with sugar-jhbuild|sugar-jhbuild]].

;NOTE: If you are trying to install Fedora under emulation check out [[Emulated Sugar-jhbuild]].

==Step 2: version-specific steps ==

===Fedora 8===

You must also install popt-devel:
yum -y install popt-devel

===Fedora 9 64-bit===

Fedora 9 rawhide package solves the Xephyr problem on 64-bit Fedora
yum --enablerepo=rawhide update xorg-x11-server-Xephyr

At the time of this writing the new Xephyr version was xorg-x11-server-Xephyr-1.4.99.906-5.fc10.x86_64


==Step 3: Follow the standard build instructions ==
NOTE: the dependency check will fail if you don't have a DISPLAY set.


Follow the standard build instructions: [[Sugar with sugar-jhbuild|sugar-jhbuild]]
NOTE: These instructions work for Fedora 8 as well, but you must also install popt-devel.


NOTE: If you are trying to install Fedora under emulation check out [[Emulated Sugar-jhbuild]].
[[Category:Installing Sugar]]
[[Category:Installing Sugar]]
[[Category:Sugar]]
[[Category:Sugar]]

Revision as of 19:40, 31 August 2008

  This page is monitored by the OLPC team.
  Please copy/paste "{{Translationlist | xx | origlang=en | translated={{{translated}}}}}" (where xx is ISO 639 language code for your translation) to Sugar on Fedora/translations HowTo [ID# 155934]  +/-  
Developer's Setup
 Fedora
 Ubuntu
 Debian
 Gentoo
 Slackware
Wiki Category
modify 

These instructions apply to Fedora 7, 8, and 9 32- and 64-bit.

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: Install the build prerequisites

sudo yum -y update
sudo yum -y groupinstall "Development Tools"
sudo yum -y groupinstall "X Software Development"
sudo yum -y install git intltool darcs xorg-x11-server-Xephyr \
    gstreamer-devel gstreamer-plugins-base-devel gstreamer-python \
    fribidi-devel enchant-devel openssl-devel sqlite-devel python-devel \
    ncurses-devel expat-devel boost-devel libvorbis-devel libtheora-devel speex-devel \
    docbook-style-xsl GConf2-devel gettext-devel libgsf-devel gnutls-devel liboil-devel \
    avahi-devel avahi-glib-devel poppler-devel gtk-doc gnome-python2-rsvg gnome-python2-libwnck \
    gnome-common libxslt-devel pango-devel gtk2-devel atk-devel libglade2-devel \
    pycairo-devel pygtk2-devel avahi-tools dbus-glib-devel python-json numpy \
    automake17 bison libjpeg-devel libtiff-devel libXt-devel libXres-devel gnome-doc-utils \
    libtool flex gcc-c++ alsa-utils alsa-lib-devel gnome-python2-gnomevfs gnome-vfs2-devel \
    gnome-python2-gconf libidn-devel python-simplejson wv wv-devel libcroco-devel \
    librsvg2-devel xapian-bindings-python xapian-core-libs avahi-gobject-devel \
    icon-naming-utils loudmouth-devel icon-slicer
NOTE
the dependency check will fail if you don't have a DISPLAY set.
NOTE
If you are trying to install Fedora under emulation check out Emulated Sugar-jhbuild.

Step 2: version-specific steps

Fedora 8

You must also install popt-devel:

yum -y install popt-devel

Fedora 9 64-bit

Fedora 9 rawhide package solves the Xephyr problem on 64-bit Fedora

yum --enablerepo=rawhide update xorg-x11-server-Xephyr

At the time of this writing the new Xephyr version was xorg-x11-server-Xephyr-1.4.99.906-5.fc10.x86_64

Step 3: Follow the standard build instructions

Follow the standard build instructions: sugar-jhbuild