gst-rtsp-server build failed - missing Gst-1.0.gir

Chris Hallinan challinan at gmail.com
Sat Feb 26 20:11:21 UTC 2022


Env: Mac OS X 10.15.7
Gstreamer and Gstreamer-devel 1.20.0

I installed the above referenced packages for GStreamer and GStreamer-devel
from the .pkg files made available here:
https://gstreamer.freedesktop.org/download/#macos

I cloned gst-rtsp-server from
https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server.git, using branch
"master".

I used the following steps to configure and build, from guesswork and
reading meson docs.  I couldn't find any instructions for building on OS X
(I'll be happy to write and submit it.)

$ meson build/
$ cd build
$ meson compile

That failed with
Couldn't find include 'Gst-1.0.gir' (search path:
'['/Library/Frameworks/GStreamer.framework/Versions/1.0/share/gir-1.0',
'/usr/local/Cellar/gobject-introspection/1.70.0_3/share/gir-1.0',
'/usr/local/Cellar/gobject-introspection/1.70.0_3/share', 'gir-1.0',
'/usr/local/share/gir-1.0', '/usr/share/gir-1.0',
'/usr/local/Cellar/gobject-introspection/1.70.0_3/share/gir-1.0',
'/usr/local/share/gir-1.0']')

 After some research, (never heard of a .gir file until this error ;-) ) I
realized these files were supposed to be installed with GStreamer-devel,
but they were *not present anywhere on my file system*.  However, manually
unpacking gstreamer-1.0-devel-1.20.0-universal.pkg, I found them and
manually copied them to
.../Framework/GStreamer.framework/Versions/1.0/share/gir-1.0 and once done,
my build succeeded.

Any ideas why were they not installed via the installer?  I followed the
usual process: d/l the installer, clicked to open, went through install
dialog which succeeded without any apparent error, but the 46-someodd
.gir files
were simply missing.

Any advice here?

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20220226/62a21298/attachment.htm>


More information about the gstreamer-devel mailing list