Compiling on Fedora 18 gives glib errors

Florian Lohoff f at zz.de
Sat Mar 16 15:44:39 CET 2013


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 at zz.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://gt.owl.de/pipermail/getstream/attachments/20130316/1719ac05/attachment.pgp>


More information about the Getstream mailing list