GNOME Bugzilla – Bug 316611
Cannot build gst-plugins-base - no module named pygst
Last modified: 2005-11-11 16:30:30 UTC
Please describe the problem: I'm attempting to build gstreamer 0.9.2 from CVS. However gst-plugins-base refuses to build due to it thinking it's missing pygst. I then move on to trying to build gst-plugins-base with a call to autogen.sh: PKG_CONFIG_PATH=/opt/gstreamer-0.9/lib/pkgconfig ./autogen.sh --prefix=/opt/gstreamer-0.9 Steps to reproduce: 1. Here are the options I pass to gstreamer's autogen.sh: PKG_CONFIG_PATH=/opt/gstreamer-0.9/lib/pkgconfig ./autogen.sh --prefix=/opt/gstreamer-0.9 --disable-plugin-builddir --with-pkg-config-path=/opt/gstreamer-0.9/lib/pkgconfig --enable-gtk-doc --enable-docbook && make install 2. I then move on to trying to build gst-plugins-base with a call to autogen.sh: PKG_CONFIG_PATH=/opt/gstreamer-0.9/lib/pkgconfig ./autogen.sh --prefix=/opt/gstreamer-0.9 && make Actual results: *** Rebuilding plugin inspection files *** if test x"." != x. ; then \ cp ./inspect.stamp . ; \ cp ./inspect-build.stamp . ; \ else \ GST_PLUGIN_PATH_ONLY=yes GST_PLUGIN_PATH=../../gst:../../sys:../../ext GST_REGISTRY=../../docs/plugins/inspect-registry.xml /usr/bin/python \ ../../common/gst-xmlinspect.py gst-plugins-base inspect && \ echo -n "timestamp" > inspect.stamp && \ touch inspect-build.stamp; \ fi Traceback (most recent call last):
+ Trace 63070
import pygst
make[3]: *** [inspect-build.stamp] Error 1 make[3]: Leaving directory `/mnt/sda1/home/peterl/rpmbuild/SOURCES/cvs/gstreamer/gst-plugins-base/docs/plugins' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/mnt/sda1/home/peterl/rpmbuild/SOURCES/cvs/gstreamer/gst-plugins-base/docs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/sda1/home/peterl/rpmbuild/SOURCES/cvs/gstreamer/gst-plugins-base' make: *** [all] Error 2 Expected results: gst-plugins-bas builds Does this happen every time? Yes Other information: FC4 system. FC suplpied GST is installed.
Created attachment 52373 [details] Log of autogen.sh/configure thomasvs asked for the config log
I was about to update with a copy of the output of make, but of course it's decided not to error out on me. I'll try again during today.
Created attachment 52374 [details] Make log
Please ignore comment #2
I seem to be able to reproduce by doing the following autogen make install make distclean at this point, no matter what you do, future autogens and makes will break.
Is this still an issue?
checking GST_CONTROLLER_LIBS... -Wl,--export-dynamic -pthread -L/usr/local/lib -lgstcontroller-0.9 -lgstreamer-0.9 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lxml2 -lpthread -lz -lm -lglib-2.0 checking for pygtk-2.0 >= 2.6.3... Requested 'pygtk-2.0 >= 2.6.3' but version of PyGTK is 2.6.2 configure: error: Library requirements (pygtk-2.0 >= 2.6.3) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. configure failed I guess that's a much cleaner error message ;-)