[gst-devel] Compile problem with gst-python

Alexandre CONRAD aconrad.tlv at magic.fr
Mon Feb 23 01:37:36 CET 2004


Hello,

Im trying to get gst-python to work, but unfortunatly, it won't `make` :

echo $PKG_CONFIG_PATH
/usr/local/lib/pkgconfig/

./configure works just fine. It find everything it needs.

checking for python >= 2.2... okay
checking for headers required to compile python extensions... found
checking for pkg-config... /usr/bin/pkg-config
checking for gstreamer-0.7 >= 0.6.0... yes
checking GST_CFLAGS... -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-pthread -I/usr/local/include/gstreamer-0.7 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/libxml2
checking GST_LIBS... -Wl,--export-dynamic -pthread -L/usr/local/lib 
-lgstreamer-0.7 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lxml2 
-lz -lm -lglib-2.0
checking for pygtk-2.0 >= 2.0.0... yes
checking PYGTK_CFLAGS... -I/usr/local/include/pygtk-2.0 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking PYGTK_LIBS... -lgobject-2.0 -lglib-2.0
checking for pygtk-codegen-2.0... /usr/local/bin/pygtk-codegen-2.0
checking for pygtk defs... /usr/local/share/pygtk/2.0/defs
checking for pygtk h2def... /usr/local/share/pygtk/2.0/codegen/h2def.py
checking for GStreamer include dir... /usr/local/include/gstreamer-0.7
checking for GStreamer interfaces include dir... checking for 
gstreamer-interfaces-0.7... yes
checking GST_INTERFACES_CFLAGS... -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -pthread -I/usr/local/include/gstreamer-0.7 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2
checking GST_INTERFACES_LIBS... -Wl,--export-dynamic -pthread 
-L/usr/local/lib -lgstinterfaces-0.7 -lgstreamer-0.7 -lgobject-2.0 
-lgmodule-2.0 -ldl -lgthread-2.0 -lxml2 -lz -lm -lglib-2.0
/usr/local/include/gstreamer-0.7
checking for GStreamer play include dir... checking for 
gstreamer-play-0.7... yes
checking GST_PLAY_CFLAGS... -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-pthread -I/usr/local/include/gstreamer-0.7 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/libxml2
checking GST_PLAY_LIBS... -Wl,--export-dynamic -pthread -L/usr/local/lib 
-lgstplay-0.7 -lgstcontrol-0.7 -lgstreamer-0.7 -lgobject-2.0 
-lgmodule-2.0 -ldl -lgthread-2.0 -lxml2 -lz -lm -lglib-2.0
/usr/local/include/gstreamer-0.7
checking for xmlto... false
checking for xmlcatalog... true


But when I make :

make
make  all-recursive
make[1]: Entering directory `/usr/local/src/gstreamer/gst-python'
Making all in gstreamer
make[2]: Entering directory `/usr/local/src/gstreamer/gst-python/gstreamer'
source='gstreamermodule.c' 
object='_gstreamermodule_la-gstreamermodule.lo' libtool=yes \
depfile='.deps/_gstreamermodule_la-gstreamermodule.Plo' 
tmpdepfile='.deps/_gstreamermodule_la-gstreamermodule.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. 
-I/usr/local/include/python2.3     -fno-strict-aliasing -g -O2 -Wall 
-std=c9x -c -o _gstreamermodule_la-gstreamermodule.lo `test -f 
'gstreamermodule.c' || echo './'`gstreamermodule.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/python2.3 
-fno-strict-aliasing -g -O2 -Wall -std=c9x -c gstreamermodule.c -MT 
_gstreamermodule_la-gstreamermodule.lo -MD -MP -MF 
.deps/_gstreamermodule_la-gstreamermodule.TPlo  -fPIC -DPIC -o 
_gstreamermodule_la-gstreamermodule.lo
gstreamermodule.c:29:23: pygobject.h: No such file or directory
gstreamermodule.c:30:21: gst/gst.h: No such file or directory
gstreamermodule.c:32: parse error before '*' token

[...]

I really can't see what's wrong. People on #gstreamer told me that for 
some reason, the gstreamer-0.7 and pygtk-2.0 paths didn't get through.

I'm running RH 9 and I had no problems compiling gstreamer, the plugins 
or any kind of add-on for gstreamer before.

Best regards,
-- 
Alexandre CONRAD - TLV
Research & Development
tel : +33 1 30 80 55 05
fax : +33 1 30 56 55 06
6, rue de la plaine
78860 - SAINT NOM LA BRETECHE
FRANCE





More information about the gstreamer-devel mailing list