Sugar on Fedora

From OLPC
Revision as of 11:11, 20 June 2008 by Bert (talk | contribs) (add librsvg2-devel)
Jump to navigation Jump to 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# 139666]  +/-  
Developer's Setup
 Fedora
 Ubuntu
 Debian
 Gentoo
 Slackware
Wiki Category
modify 

These instructions apply to both Fedora 7 and Fedora 8

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

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.