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

Chris Hallinan challinan at gmail.com
Mon Feb 28 02:27:06 UTC 2022


Actually, after some trial and error, I discovered that the .gir files are
not part of the 1.20 installers, they only appear in the 1.18 installer.

The *.gir files are found in:

gstreamer-1.0-devel-1.18.5-x86_64.pkg

but not in

gstreamer-1.0-devel-1.20.0-universal.pkg

Is this intentional?

gst-rtsp-server will not build without those files present.

Chris

On Sat, Feb 26, 2022 at 3:11 PM Chris Hallinan <challinan at gmail.com> wrote:

> 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/20220227/02addda2/attachment.htm>


More information about the gstreamer-devel mailing list