Sugar on Fedora 7: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:
libxslt-devel pango-devel gtk2-devel atk-devel libglade2-devel \
libxslt-devel pango-devel gtk2-devel atk-devel libglade2-devel \
pycairo-devel pygtk2-devel avahi-tools dbus-glib-devel python-json numpy \
pycairo-devel pygtk2-devel avahi-tools dbus-glib-devel python-json numpy \
automake17 bison libjpeg-devel libtiff-devel libXt-devel libXres-devel
automake17 bison libjpeg-devel libtiff-devel libXt-devel libXres-devel gnome-doc-utils


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


=Problems With sugar-jhbuild (as of at least 2007-10-05)=
Also needed gnome-doc-utils.
Attempting to follow Fedora 7 + sugar-jhbuild instructions results in the following (on a fresh Fedora 7 install):
*** Building sugar *** [19/45]
make
Making all in bin
make[1]: Entering directory `/usr/share/sugar-jhbuild/source/sugar/bin'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/share/sugar-jhbuild/source/sugar/bin'
Making all in data
make[1]: Entering directory `/usr/share/sugar-jhbuild/source/sugar/data'
Makefile:599: *** missing separator. Stop.
make[1]: Leaving directory `/usr/share/sugar-jhbuild/source/sugar/data'
make: *** [all-recursive] Error 1
*** error during stage build of sugar: ########## Error running make *** [19/45]
process 16997: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/usr/share/sugar-jhbuild/build/var/lib/dbus/machine-id": No such file or directory
See the manual page for dbus-uuidgen to correct this issue.
D-Bus not built with -rdynamic so unable to print a backtrace



[[Category:Installing Sugar]]
[[Category:Installing Sugar]]

Revision as of 22:53, 5 October 2007

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 \
    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

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

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

Problems With sugar-jhbuild (as of at least 2007-10-05)

Attempting to follow Fedora 7 + sugar-jhbuild instructions results in the following (on a fresh Fedora 7 install):

*** Building sugar *** [19/45]
make  
Making all in bin
make[1]: Entering directory `/usr/share/sugar-jhbuild/source/sugar/bin'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/share/sugar-jhbuild/source/sugar/bin'
Making all in data
make[1]: Entering directory `/usr/share/sugar-jhbuild/source/sugar/data'
Makefile:599: *** missing separator.  Stop.
make[1]: Leaving directory `/usr/share/sugar-jhbuild/source/sugar/data'
make: *** [all-recursive] Error 1
*** error during stage build of sugar: ########## Error running make   *** [19/45] 
process 16997: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/usr/share/sugar-jhbuild/build/var/lib/dbus/machine-id": No  such file or directory
See the manual page for dbus-uuidgen to correct this issue.
D-Bus not built with -rdynamic so unable to print a backtrace