Compiling on Fedora 18 gives glib errors

sb0373 owl.de at bluhm-de.com
Sat Mar 16 11:20:46 CET 2013


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


More information about the Getstream mailing list