After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 163358 - Misleading command in README of gst-plugins
Misleading command in README of gst-plugins
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.8.7
Other Linux
: Low trivial
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-01-08 19:09 UTC by Tobias Klauser
Modified: 2005-06-30 15:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tobias Klauser 2005-01-08 19:09:11 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.
Comment 1 Maciej Katafiasz 2005-01-09 08:10:58 UTC
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.
Comment 2 Tobias Klauser 2005-01-09 10:40:29 UTC
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.
Comment 3 Maciej Katafiasz 2005-01-09 13:21:14 UTC
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.
Comment 4 Maciej Katafiasz 2005-01-09 13:37:09 UTC
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.
Comment 5 Maciej Katafiasz 2005-01-09 13:51:49 UTC
README updates, thanks for report