Compiling on Fedora 18 gives glib errors
Hello, I just wanted to inform you, that compiling getstream with the latest package is not possible any more due to a change in glib2 (my version 2.34.2-2.fc18 ): /usr/include/glib-2.0/glib/glist.h:28:2: error: #error "Only <glib.h> can be included directly." to fix this replace #include <glib/glist.h> with #include <glib.h> in: getstream.h output_http.c config.h config.c output.h libhttp.h libhttp.c also delete #include <glib/ghash.h> in: libhttp.h this will fix it. Depending on the other linux distributions, you might want to include this fix in the mainstream version. Best wishes, sb0373
On Sat, Mar 16, 2013 at 11:20:46AM +0100, sb0373 wrote:
Hello,
I just wanted to inform you, that compiling getstream with the latest package is not possible any more due to a change in glib2 (my version 2.34.2-2.fc18 ):
/usr/include/glib-2.0/glib/glist.h:28:2: error: #error "Only <glib.h> can be included directly."
to fix this replace #include <glib/glist.h> with #include <glib.h> in: getstream.h output_http.c config.h config.c output.h libhttp.h libhttp.c
also delete #include <glib/ghash.h> in: libhttp.h
this will fix it. Depending on the other linux distributions, you might want to include this fix in the mainstream version.
Fixed and compiletested on Debian/Wheezy - pushed to git. Thanks for the feedback. Flo -- Florian Lohoff f@zz.de
participants (2)
-
Florian Lohoff -
sb0373