Loïc Minier wrote: > On Mon, Nov 05, 2007, Thiemo Seufer wrote: > > checking for python module pygst... ERROR: no GStreamer available (looking > > for versions ['0.10']) > > That's really weird. It builds for me. Could you try in the chroot: > % python > >>> import pygst > >>> pygst.require("0.10")
larsa:/srv/ths/debian/flumotion/flumotion-0.4.2$ schroot I: [sid chroot] Running login shell: '/bin/bash' larsa:/srv/ths/debian/flumotion/flumotion-0.4.2$ python Python 2.4.4 (#2, Aug 16 2007, 14:53:35) [GCC 4.1.3 20070718 (prerelease) (Debian 4.1.2-14)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import pygst >>> pygst.require("0.10") >>> Looks good to me (without knowing about python). However: larsa:/srv/ths/debian/flumotion/flumotion-0.4.2$ schroot I: [sid chroot] Running login shell: '/bin/bash' larsa:/srv/ths/debian/flumotion/flumotion-0.4.2$ cat foo prog=" import sys try: import pygst from flumotion.common import boot; boot.init_gobject(); boot.init_gst() sys.exit(0) except ImportError, e: raise SystemExit(*e.args) except SystemExit, e: if not e.args or (e.args[0] != 0 and not isinstance(e.args[0], str)): raise SystemExit('Unknown error') raise except Exception, e: print ' Error while trying to import pygst:' print ' %r: %s' % (e, e) sys.exit(1)" python -d -c "$prog" larsa:/srv/ths/debian/flumotion/flumotion-0.4.2$ sh foo ERROR: no GStreamer available (looking for versions ['0.10']) Thiemo