• Home
  • What's Tribler
  • Download
  • FAQ
  • Forum
Tribler

Wiki Navigation


Installing Python bindings

Instructions for installing Python bindings for Gstreamer on Mac OS/X PPC. I assume you have the following installed (using Fink for instance):

  • gstreamer
  • gettext, gettext-dev
  • glib 2.12.0

On to the instructions. Depending on your Fink setup, you may also need to add /sw/lib/pkgconfig to the PKG_CONFIG_PATH variables used below.

1. Download, build and install cairo:

wget http://cairographics.org/releases/cairo-1.2.6.tar.gz
tar xfz cairo-1.2.6.tar.gz
cd cairo-1.2.6
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure --enable-quartz
make
make install

2. Download, build and install pango:

wget http://ftp.gnome.org/pub/GNOME/sources/pango/1.14/pango-1.14.7.tar.gz
tar xfz pango-1.14.7.tar.gz
cd pango-1.14.7
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure
make
make install

3. Download, build and install pycairo:

wget http://cairographics.org/releases/pycairo-1.2.2.tar.gz
tar xfz pycairo-1.2.2.tar.gz
cd pycairo-1.2.2
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure
make
make install

4. Download, build and install pygobject:

wget http://ftp.gnome.org/pub/GNOME/sources/pygobject/2.12/pygobject-2.12.2.tar.gz
tar xfz pygobject-2.12.2.tar.gz
cd pygobject-2.12.2
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure
make
make install

5. Download, build and install gtk+2:

wget ftp://ftp.gtk.org/pub/gtk/v2.10/gtk+-2.10.6.tar.gz
tar xfz pgtk+-2.10.6.tar.gz
cd gtk+-2.10.6
CPPFLAGS=-I/sw/include PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure --without-libtiff --without-libjpeg
make
make install

6. Download, build and install pygtk:

wget http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.10/pygtk-2.10.3.tar.gz
tar xfz pygtk-2.10.3.tar.gz
cd pygtk-2.10.3
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure --without-libtiff --without-libjpeg
make
make install

7. Download, build and install gst-python:

cvs -d:pserver:anoncvs@anoncvs.freedesktop.org:/cvs/gstreamer co gst-python
cd gst-python
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./autogen.sh
LDFLAGS=-Wl,-m PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure
make
make install

Latest news

28 October 2008

The long-awaited Tribler 4.5 is here''

29 April 2008

Tribler Team organized a successful course on Advanced P2P Technology
Read More

17 February 2008

19 Million Euro for P2P research
Read More

Please contact us if you have found a news item that's not listed here.


  • News
  • Developers
  • Business
  • Research
  • Jobs
  • About Us
  • Press
  • Contact
Login