GNOME Bugzilla – Bug 163358
Misleading command in README of gst-plugins
Last modified: 2005-06-30 15:46:35 UTC
1. Install gstreamer 0.8.8 into a non-default directory (e.g. /tmp/gstreamer-0.8) 2. Dowload and unpack gst-plugins 0.8.7 3. Follow the steps described in the README to configure and build gst-plugins $ ./configure --prefix=/tmp/gst-plugins-0.8 --with-pkg-config-path=/tmp/gstreamer-0.8/lib/pkgconfig 4. Get the following error: [snip] checking for pkg-config... /usr/bin/pkg-config checking for gconf-2.0... Package gconf-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gconf-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gconf-2.0' found checking for gstreamer-0.8 >= 0.8.7.1... Package glib-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `glib-2.0.pc' to the PKG_CONFIG_PATH environment variable Package 'glib-2.0', required by 'GStreamer', not found configure: error: no GStreamer found I'm using pkg-config, glib-2.0 etc. (all needed libraries except gstreamer of course) provided by my distribution. Providing the option --with-pkg-config-path=${PKG_CONFIG_PATH}:/tmp/gstreamer-0.8/lib/pkgconfig did fix this. I think this should be changed in the README file.
If you don't have gstreamer, you cannot build gst-plugins. Simple as it is. Dunno what /tmp/gstreamer-0.8/lib/pkgconfig is, but it doesn't look valid for sure.
Did you read my bug report? I have gstreamer 0.8.8 installed into /tmp/gstreamer-0.8. Make it /usr/local/gstreamer or whatever, it doesn't matter. /tmp/gstreamer-0.8/lib/pkgconfig is the path I passed to the configure script of gstreamer so it gets installed into this directory, and yes it is valid.
IF you installed gstreamer into /tmp/gstreamer-0.8 (which is very strange location, to say the least), it's perfectly normal that .pc files end up under /tmp/gstreamer-0.8/lib/pkgconfig. What did you expect? To cite README: "If configure complains about missing GStreamer, you should try ./configure --with-pkg-config-path=prefix/lib/pkgconfig where prefix should be replaced by the prefix you used to configure GStreamer". This is *exactly* what you did.
Uhm, okay, I apparently have a problem with reading :). You're right, we shouldn't be deleting normal PKG_CONFIG_PATH. Will fix that, sorry for jumping at you.
README updates, thanks for report