Sugar on Debian: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:


-------
-------
= Installing sugar on Debian =
= Installing sugar on Debian Unstable =


You pretty much need to use sugar-jhbuild. However, you can minimize the work it does without undue strain on your system (i.e., without resorting to use of experimental packages and the like).
We currently use sugar-jhbuild, which has very few external dependencies; it builds custom versions of pretty much every piece of the Sugar environment. While this is extreme, it does work with very little manual effort (it just takes a lot of time to compile everything).


== Get sugar-jhbuild ==
== Get sugar-jhbuild ==
Line 19: Line 19:
cd sugar-jhbuild
cd sugar-jhbuild
./sugar-jhbuild update
./sugar-jhbuild update
./sugar-jhbuild build-base.
./sugar-jhbuild build


Plenty of dependencies are likely to fail.
If any dependency check fails, then try installing the following packages. I'm no expert on what's really required, but it worked for me: (I use debian unstable, march 2007).

For build-base, you should need:


aptitude install libtool libsqlite3-dev libnspr4-dev docbook-xsl intltool
aptitude install libtool libsqlite3-dev libnspr4-dev docbook-xsl intltool

Now, this is ALL you need if you want to spend many hours compiling many packages. If you want to save yourself some work, there are some packages that can be installed through apt rather than via build-base:

aptitude install darcs libdbus-1-dev libenchant-dev libfribidi-dev libgconf2-dev libgsf-1-dev libgstreamer-plugins-base0.10-dev libxslt1-dev libxul-dev python-avahi python-cairo-dev xserver-xephyr xulrunner

But we're still missing python2.5 and some python2.5 modules that need separate compilation.


-------
-------

Revision as of 17:16, 29 March 2007

This article is a stub. You can help the OLPC project by expanding it.


Please contribute instructions for getting Sugar to work with Debian GNU/Linux.


Installing sugar on Debian Unstable

You pretty much need to use sugar-jhbuild. However, you can minimize the work it does without undue strain on your system (i.e., without resorting to use of experimental packages and the like).

Get sugar-jhbuild

aptitude install git-core

Get sugar-jhbuild through git as described on Sugar_with_sugar-jhbuild

Run sugar-jhbuild

cd sugar-jhbuild
./sugar-jhbuild update
./sugar-jhbuild build

Plenty of dependencies are likely to fail.

For build-base, you should need:

aptitude install libtool libsqlite3-dev libnspr4-dev docbook-xsl intltool

Now, this is ALL you need if you want to spend many hours compiling many packages. If you want to save yourself some work, there are some packages that can be installed through apt rather than via build-base:

aptitude install darcs libdbus-1-dev libenchant-dev libfribidi-dev libgconf2-dev libgsf-1-dev libgstreamer-plugins-base0.10-dev libxslt1-dev libxul-dev python-avahi python-cairo-dev xserver-xephyr xulrunner

But we're still missing python2.5 and some python2.5 modules that need separate compilation.