Sugar on Debian: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 34: Line 34:
== The Dependencies ==
== The Dependencies ==


You have two ways to get the dependencies: Build-base and building/installing packages manually from sid archives.
[http://wiki.debian.org/DebianEdu/OLPC/BuildSugar Debian Sugar build dependencies]

You have two ways to get the dependencies: Build-base and building/installing packages manually from experimental archives.


=== Alternative 1: Build Base ===
=== Alternative 1: Build Base ===
Line 46: Line 44:
This takes a long time, but will work. After that, do 'build' and 'run'.
This takes a long time, but will work. After that, do 'build' and 'run'.


=== Alternative 2: Install dependency libraries directly from Debian Sid


[http://wiki.debian.org/DebianEdu/OLPC/BuildSugar Debian Sugar build dependencies]


=== Debian-OLPC ===
=== Debian-OLPC ===

Revision as of 07:32, 17 November 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

Get sugar-jhbuild

aptitude install git-core

Get sugar-jhbuild through git as described in Sugar with sugar-jhbuild.

Run sugar-jhbuild

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

If update fails with:

ImportError: No Module name ctypes

Try running

aptitude install python-ctypes

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:

The Dependencies

You have two ways to get the dependencies: Build-base and building/installing packages manually from sid archives.

Alternative 1: Build Base

This is easy, but it takes a long time and builds custom versions of all the dependencies (rather than getting them through apt).

./sugar-jhbuild build-base

This takes a long time, but will work. After that, do 'build' and 'run'.

=== Alternative 2: Install dependency libraries directly from Debian Sid

Debian Sugar build dependencies

Debian-OLPC

External links

Documentation in Spanish

See also Installing Debian as an upgrade

Problems and Solutions