Sugar on Fedora

From OLPC
Revision as of 00:07, 29 August 2008 by DanKrejsa (talk | contribs)
Jump to: navigation, search
  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# 155047]  +/-  
Developer's Setup
 Fedora
 Ubuntu
 Debian
 Gentoo
 Slackware
Wiki Category
modify 

These instructions apply to both Fedora 7 and Fedora 8. Fedora 9, 64-bit does not work due to this bug 32 bit should work.

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-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 groupinstall "Development Tools"
sudo yum groupinstall "X Software Development"
sudo yum 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

Step 2: Follow the build instructions for sugar-jhbuild.

NOTE: the dependency check will fail if you don't have a DISPLAY set.

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.