Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure error - gstreamer-rtsp-server pkg requirement #1

Open
goodtimeclub opened this issue Mar 7, 2016 · 4 comments
Open

Configure error - gstreamer-rtsp-server pkg requirement #1

goodtimeclub opened this issue Mar 7, 2016 · 4 comments

Comments

@goodtimeclub
Copy link

Raspbian Jessi on Pi 2 Model B, I got https://github.com/thaytan/gst-rpicamsrc working & then cloned this repo, ran autogen.sh. Everything seems to be going fine but then it misreports that libgstrtspserver-1.0-dev needs to be updated:

...
checking for pkg-config...
checking for glib-mkenums... /usr/bin/glib-mkenums
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GST... yes
checking for GSTRTSP... no
configure: error:
You need to install or upgrade the gstreamer-rtsp-server development
packages on your system. On debian-based systems these are
libgstrtspserver-1.0-dev on RPM-based systems gstreamer1-rtsp-devel
or similar. The minimum version required is 1.0.0.

configure failed
pi@raspberrypi:~/rpirtspd $

But it looks like it up-to-date:

pi@raspberrypi:~/rpirtspd $ sudo apt-get install -f libgstrtspserver-1.0-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libgstrtspserver-1.0-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

Thoughts on how to make this work?

@goodtimeclub
Copy link
Author

follow up...

pi@raspberrypi ~/rpirtspd $ apt-cache search libgstrtspserver
libgstrtspserver-0.10-0 - RTSP server plugin for GStreamer
libgstrtspserver-0.10-dev - RTSP server plugin for GStreamer (development files)
libgstrtspserver-1.0-0 - RTSP server plugin for GStreamer
libgstrtspserver-1.0-dev - RTSP server plugin for GStreamer (development files)

@anmar
Copy link
Owner

anmar commented Mar 10, 2016

Can you post the output of?
pkg-config --list-all |grep -i gstreamer |sort
and
dpkg -L libgstrtspserver-1.0-dev

@goodtimeclub
Copy link
Author

pi@raspberrypi ~ $ pkg-config --list-all |grep -i gstreamer |sort
gstreamer-1.0              GStreamer - Streaming media framework
gstreamer-allocators-1.0   GStreamer Allocators Library - Allocators implementation
gstreamer-app-1.0          GStreamer Application Library - Helper functions and base classes for application integration
gstreamer-audio-1.0        GStreamer Audio library - Audio helper functions and base classes
gstreamer-base-1.0         GStreamer base classes - Base classes for GStreamer elements
gstreamer-check-1.0        GStreamer check unit testing - Unit testing helper library for GStreamer modules
gstreamer-controller-1.0   GStreamer controller - Dynamic parameter control for GStreamer elements
gstreamer-fft-1.0          GStreamer FFT Library - FFT implementation
gstreamer-net-1.0          GStreamer networking library - Network-enabled GStreamer plug-ins and clocking
gstreamer-pbutils-1.0      GStreamer Base Utils Library - General utility functions
gstreamer-plugins-base-1.0 GStreamer Base Plugins Libraries - Streaming media framework, base plugins libraries
gstreamer-riff-1.0         GStreamer RIFF Library - RIFF helper functions
gstreamer-rtp-1.0          GStreamer RTP Library - RTP base classes and helper functions
gstreamer-rtsp-1.0         GStreamer RTSP Library - RTSP base classes and helper functions
gstreamer-sdp-1.0          GStreamer SDP Library - SDP helper functions
gstreamer-tag-1.0          GStreamer Tag Library - Tag base classes and helper functions
gstreamer-video-1.0        GStreamer Video Library - Video base classes and helper functions

and

pi@raspberrypi ~ $ dpkg -L libgstrtspserver-1.0-dev
/.
/usr
/usr/lib
/usr/include
/usr/include/gstreamer-1.0
/usr/include/gstreamer-1.0/gst
/usr/include/gstreamer-1.0/gst/rtsp-server
/usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-media-factory.h
/usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-auth.h
/usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-sdp.h
/usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session-media.h
/usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-mount-points.h
/usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-context.h
/usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-media-factory-uri.h
/usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-stream-transport.h
/usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-client.h
/usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-token.h
/usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session-pool.h
/usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server.h
/usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-stream.h
/usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-params.h
/usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-permissions.h
/usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-address-pool.h
/usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session.h
/usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-thread-pool.h
/usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-media.h
/usr/share
/usr/share/gir-1.0
/usr/share/gir-1.0/GstRtspServer-1.0.gir
/usr/share/doc
/usr/share/doc/libgstrtspserver-1.0-dev
/usr/share/doc/libgstrtspserver-1.0-dev/copyright
/usr/share/doc/libgstrtspserver-1.0-dev/examples
/usr/share/doc/libgstrtspserver-1.0-dev/examples/test-auth.c.gz
/usr/share/doc/libgstrtspserver-1.0-dev/examples/test-uri.c
/usr/share/doc/libgstrtspserver-1.0-dev/examples/test-sdp.c
/usr/share/doc/libgstrtspserver-1.0-dev/examples/test-cgroups.c.gz
/usr/share/doc/libgstrtspserver-1.0-dev/examples/test-readme.c
/usr/share/doc/libgstrtspserver-1.0-dev/examples/test-mp4.c
/usr/share/doc/libgstrtspserver-1.0-dev/examples/test-video.c.gz
/usr/share/doc/libgstrtspserver-1.0-dev/examples/test-multicast2.c
/usr/share/doc/libgstrtspserver-1.0-dev/examples/test-ogg.c
/usr/share/doc/libgstrtspserver-1.0-dev/examples/test-launch.c
/usr/share/doc/libgstrtspserver-1.0-dev/examples/test-appsrc.c.gz
/usr/share/doc/libgstrtspserver-1.0-dev/examples/test-multicast.c
/usr/share/doc/libgstrtspserver-1.0-dev/changelog.Debian.gz
/usr/share/doc/libgstrtspserver-1.0-dev/changelog.gz
/usr/lib/libgstrtspserver-1.0.so

@anmar
Copy link
Owner

anmar commented Mar 10, 2016

Your libgstrtspserver-1.0-dev is missing gstreamer-rtsp-server-1.0.pc, so pkg-config can't find it. You should report it to your distro or the packager if it's not an official package.

In the mean time, you can:

  • Find a different package for you distro
  • Build/install gst-rtsp-server manually (first uninstall libgstrtspserver-1.0-dev)
  • Point autogen/configure to a static build of gst-rtsp-server (see configure option --with-static-gst-rtsp-server-src)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants