[Sugar-devel] Installing sugar-jhbuild in F17

Simon Schampijer simon at schampijer.de
Wed May 16 05:56:19 EDT 2012


On 04/25/2012 08:47 PM, Gonzalo Odiard wrote:
> I have installed sugar-jhbuild in a new pristine F17.
> Here my findings, works, but with little problems:
>
> $ git clone git://git.sugarlabs.org/sugar-jhbuild/mainline.git sugar-jhbuild
> $ cd sugar-jhbuild
> $ ./sugar-jhbuild update
> $ ./sugar-jhbuild depscheck
>
> Install dependencies:
> # yum install alsa-lib-devel at-spi-python avahi-gobject-devel avahi-tools
> boost-devel cmake csound dbus-devel dbus-glib-devel enchant-devel
> evince-devel expat-devel fribidi-devel gcc gcc-c++ GConf2-devel
> gettext-devel git-email gnome-common gnome-doc-utils gnome-python2-rsvg
> gnome-vfs2-devel gobject-introspection-devel gtk2-devel gtk3-devel
> hippo-canvas-python icon-naming-utils icon-slicer intltool libabiword
> libabiword libcroco-devel libffi-devel libglade2-devel libgsf-devel
> libnice-devel librsvg2-devel libsoup-devel libtool libXt-devel
> loudmouth-devel numpy openssl-devel poppler-glib-devel popt-devel pyabiword
> pygame pygtk2-devel pygtksourceview python-cjson python-dateutil
> python-devel python-distutils-extra python-lxml python-pep8 sqlite-devel
> subversion libuuid-devel webkitgtk3-devel wv-devel xapian-bindings-python
> xapian-core-libs vte zlib-devel pylint python-xklavier
>
> $./sugar-jhbuild build
>
> Build finish with a error compiling telepathy-mission-control.
> We can use the packaged version more updated than the requested sources.
>
> If we select continue with the next module, when try to compile activities,
> don't found the python sugar modules. sugar emulator doesn't work.
>
> Do:
> $ ./sugar-jhbuild buildone sugar-toolkit
> $ ./sugar-jhbuild buildone sugar
>
> Now you can finish compiling the activities:
> $ ./sugar-jhbuild build
>
> ... and run the emulator:
> ./sugar-jhbuild run sugar-emulator
>
> Gonzalo

As Gonzalo pointed out we do not need to build telepathy we can use the 
system one. So after installing 'redhat-lsb' that the 'lsb_release -r' 
command returns the correct distro in use I added a sysdep config file 
for Fedora 17 like:

[erikos at t61 sugar-jhbuild]$ cat config/sysdeps/50fedora-17.xml
<?xml version="1.0"?>
<dependencies>
   <package name="metacity" source="metacity"/>
   <package name="pylint" source="pylint"/>
   <package name="python-xklavier" source="python-xklavier"/>
   <package name="telepathy-gabble" source="telepathy-gabble"/>
   <package name="telepathy-glib" source="telepathy-glib"/>
   <package name="telepathy-salut" source="telepathy-salut"/>
   <package name="python-telepathy" source="python-telepathy"/>
   <package name="telepathy-mission-control" 
source="telepathy-mission-control"/>
</dependencies>

Now when you run './sugar-jhbuild depscheck' it will give you the 
correct dependencies.

When installing them I came across an issue when installing gcc, 
enabling the 'fedora-updates-testing' repo for yum fixed that for me though.

Having installed all the deps, I built sugar and run it fine.

Cheers,
    Simon







More information about the Sugar-devel mailing list