README.installation 2.26 KB
Newer Older
1 2 3 4 5
GCompris Specific Instructions
==============================

Gcompris can be installed anywhere on your hard drive.

6 7 8 9
Warning: Getting the voices. The voices are in a separate svn package now.
         To get them, run 'make update-voices' before 'make dist'
         or 'make install'.

10 11 12 13 14 15
for example, you can use:

sh configure --prefix=/home/bruno/gcompris
make
make install

16 17 18
This will install GCompris and all its data files under
/home/bruno/gcompris

19 20 21 22 23 24
Warning: You cannot use ~ in the prefix, it must be a full path.
Warning: It has been reported that make -j 2 (or more) break the compilation


Then, run /home/bruno/gcompris/bin/gcompris

25
Gcompris requires gtk-libs, libxml2, sqlite, gdk-pixbuf and cairo.
26

27 28 29 30
GCompris also requires the gnuchess and gnucap package for the chess activity
and electricity to run. If you have gnome-gnuchess instead of gnuchess,
autoconf will detect it and compile against it. At runtime we do our best
to detect gnuchess in the usual places of your system.
31 32

GCompris includes several activity written in python.
33 34
To enable them, you need to have python installed on your system with the
following packages:
35 36 37 38
libpython
python
libpython2.4-devel
python-base
39 40
python-sqlite2 (if it's not packaged, download and install it from
                http://initd.org/tracker/pysqlite)
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78

For the sound managed internally, you also need gstreamer:
libgstreamer0.10-0 libgstreamer0.10-dev

On Mandriva, you will need to install their -devel counterpart package in
order to be abble to compile it plus  intltool, tetex.

In order to compile GCompris on a mandriva 2007 you must install :
urpmi pkgconfig
urpmi autoconf2.5
urpmi glib-gettext
urpmi gettext-devel
urpmi intltool
urpmi automake1.7
urpmi libglib2.0_0-devel
urpmi libgdk_pixbuf2.0_0-devel
urpmi libgnomeui2_0-devel
urpmi libgstreamer libgstreamer-devel (Unchecked)
urpmi python-gtk-devel
urpmi libpython2.4-devel
urpmi pygtk2.0-devel
urpmi texinfo
urpmi texi2html
urpmi tetex
urpmi gnuchess
urpmi gnucap
urpmi libtool
urpmi libsqlite3_0 libsqlite3_0-devel
urpmi python-sqlite2
urpmi libxxf86vm1-devel

WARNING
=======
  We are using sqlite but it doesn't work on NFS mounted partitions.
  If you home directory is on a remote server, then use run GCompris
  with a local file for its database like:
    gcompris --database=/tmp/gcompris.db