GNOME Bugzilla – Bug 684263
gss-stream-server uses deprecated soup_message_headers_get()
Last modified: 2012-10-02 13:41:36 UTC
I saw the video http://gstconf.ubicast.tv/videos/gstreamer-streaming-server/ For test gstreamer-streaming-server I download and try to compile the current git as: $ git clone git://code.entropywave.com/git/ew-stream-server.git $ sudo apt-get install libjson-glib-1.0-0 libjson-glib-dev $ sh autogen.sh $ ./configure Then sudo make abort with this error: gss-soup.c: In function 'gss_soup_get_request_host': gss-soup.c:38:3: error: 'soup_message_headers_get' is deprecated (declared at /usr/include/libsoup-2.4/libsoup/soup-message-headers.h:40): Use 'soup_message_headers_get_one or soup_message_headers_get_list' instead [-Werror=deprecated-declarations] cc1: all warnings being treated as errors make[3]: *** [libgss_la-gss-soup.lo] Error 1 I have this libsoup installed in quantal: $ dpkg -l *libsoup* | grep ii ii libsoup-gnome2.4-1:i386 2.39.91-0ubuntu1 i386 HTTP library implementation in C -- GNOME support library ii libsoup-gnome2.4-dev 2.39.91-0ubuntu1 i386 HTTP library implementation in C -- GNOME support development files ii libsoup2.4-1:i386 2.39.91-0ubuntu1 i386 HTTP library implementation in C -- Shared library ii libsoup2.4-dev 2.39.91-0ubuntu1 i386 HTTP library implementation in C -- Development files
have you also tried the repository from git.freedesktop.org in the gstreamer module?
$ git clone git://anongit.freedesktop.org/gstreamer/gst-streaming-server gst-streaming-server-freedesktop && cd gst-streaming-server-freedesktop/ With freedesktop autogen.sh stop in: checking for GLIB... yes checking for GST... yes checking for GST_RTSP_SERVER... no gst-rtsp-server is needed to build I don't understand why I need gst-rtsp-server. Do I need checkout too? There are some debian/ubuntu package for that? Also git freedesktop is more old (2012-08-28) and entropyware shows updates just 2 days ago.
The following package provides the gst-rtsp-server library: libgstrtspserver-0.10-dev RTSP seems to be optional now: commit 194c65922c4f2215c4fa79156a71928aa70a8c78 Author: David Schleef <ds@schleef.org> Date: Fri Aug 31 17:39:12 2012 -0700 Make RTSP optional
Installing libgstrtspserver-0.10-dev solves the problem wih autogen.sh. But in configure I get the same with freedesktop's git: gss-soup.c: In function 'gss_soup_get_request_host': gss-soup.c:38:3: error: 'soup_message_headers_get' is deprecated (declared at /usr/include/libsoup-2.4/libsoup/soup-message-headers.h:40): Use 'soup_message_headers_get_one or soup_message_headers_get_list' instead [-Werror=deprecated-declarations] cc1: all warnings being treated as errors make[3]: *** [libgss_la-gss-soup.lo] Error 1
(I mean sudo make, no configure ;))
commit 2c16365d5cfae9f71baff87c0ec4dcdd4db2089c Author: Tim-Philipp Müller <tim@centricular.net> Date: Wed Sep 19 23:03:01 2012 +0100 gss-soup: use soup_message_headers_get_one(), _get() is deprecated Avoids deprecation warnings. https://bugzilla.gnome.org/show_bug.cgi?id=684263