Installing Jokosher on Debian
This page describes how to get Jokosher working on the current (March 2006) Debian Testing/Unstable distributions. The required packages are not available for Debian Stable (Sarge), and while most of the packages are available for Testing and Unstable, a version of python-gst0.10 for Python 2.4 is not.
You will need the following packages:
- python2.4
- python2.4-gtk2
- python2.4-glade2
- python2.4-dbus
- python2.4-alsaaudio (Debian lacks this package at the moment, but the Ubuntu one should work fine: http://packages.ubuntu.com/cgi-bin/download.pl?arch=i386&file=pool%2Funiverse%2Fp%2Fpyalsaaudio%2Fpython2.4-alsaaudio_0.1-1ubuntu1_i386.deb&md5sum=c94d8b313ccba017b6029dde3025253b&arch=i386&type=main)
To install the Python GStreamer module you can either install the pre-built binary package attached to this page, or re-build the current Debian package from source/
Installing The Pre-Built Python GStreamer Package
- Download `python2.4-gst0.10*.deb` (see attachments below)
- As root, install the package: `dpkg -i python2.4-gst0.10*.deb`
Re-Building the Debian Python GStreamer Package
- Get the build dependencies for python-gst0.10: `apt-get build-dep gst0.10-python`
- In addition, install python2.4-dev: `apt-get install python2.4-dev`
- Make sure we're using GCC 3.4 and Python 2.4: `export CC=gcc-3.4 PYTHON=python2.4`
- Build python-gst0.10: `apt-get -b source gst0.10-python`
- Install the package: `dpkg -i python-gst0.10*.deb`
Steps 1, 2 and 5 require root privileges; step 4 may be run as a normal user with `fakeroot`. gcc-3.4 was necessary due to glibc detecting an error and causing the build to fail with gcc-4.0. It may have been possible to use Python 2.3, in which case, the pre-packaged python-gst0.10 should work fine. However, the DBUS bindings are only available for Python 2.4.
If all goes well, you will now have a version of Python GStreamer installed against Python 2.4, and should be able to run Jokosher. Happy testing!
