there is no gstreamer-plugins-good-1.0.pc
Tim Müller
tim at centricular.com
Wed Jan 27 15:04:45 PST 2016
On Wed, 2016-01-27 at 16:26 -0500, Jerry Geis wrote:
Hi,
> Is there a reason that when compiling the gstreamer-plugins-good-
> 1.4.5
> that there is no pkgconfig file created ???
Yes. pkgconfig files are only provided for modules that have libraries,
so you can link against these libraries.
gst-plugins-good only provides plugins, and you should check for the
presence of plugins at run-time in your app, not at compile time.
> From the log file gst-rtsp-server-1.4.5 is looking for one and does
> not find one.
>
> From config.log of gst-rtsp-server-1.4.5
> configure:15816: checking for GST_PLUGINS_GOOD
> configure:15824: $PKG_CONFIG --exists --print-errors "$module >=
> $minver"
> Package gstreamer-plugins-good-1.0 was not found in the pkg-config
> search path.
> Perhaps you should add the directory containing `gstreamer-plugins-
> good-1.0.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'gstreamer-plugins-good-1.0' found
> configure:15827: $? = 1
>
> I do have this compiled from source and there is no
> /usr/lib64/pkgconfig file for
> plugins good present. There is for plugins bad.
>
> One of the two seems to be a problem ?
But is this actually a problem? This should not be fatal.
There is a .pc file for -good created, but only an -uninstalled.pc
file, which is for use in so-called 'uninstalled' gstreamer setups
(gst-uninstalled script). In this case it's needed to find the
directory of the good plugins. gst-rtsp-server and gst-plugins-bad need
that to locate these plugins for unit testing purposes in an
uninstalled setup.
Since this is all a bit confusing, this has been fixed at some point. I
believe recent versions of GStreamer (like 1.6.x or 1.7.x) no longer
perform these checks unless they detect that they're in an uninstalled
environment.
(To make matters worse, ubuntu actually ships a .pc file for good in
their packages which they shouldn't ship, because apparently they moved
some stuff from -bad into -good...)
Cheers
-Tim
--
Tim Müller, Centricular Ltd - http://www.centricular.com
More information about the gstreamer-devel
mailing list