Building codeblock 8.02-r1 I get the following error: In file included from /usr/include/glib-2.0/gio/gio.h:29, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:33, from /usr/include/gtk-2.0/gtk/gtkwidget.h:35, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:36, from /usr/include/wx-2.8/wx/gtk/win_gtk.h:19, from codesnippets.cpp:56: /usr/include/glib-2.0/gio/giotypes.h:120: Fehler: in Konflikt stehende Deklaration »typedef struct _GSocket GSocket« /usr/include/wx-2.8/wx/unix/gsockunx.h:41: Fehler: »class GSocket« hat eine vorherige Deklaration als »class GSocket« In file included from /usr/include/glib-2.0/gio/gio.h:29, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:33, from /usr/include/gtk-2.0/gtk/gtkwidget.h:35, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:36, from /usr/include/wx-2.8/wx/gtk/win_gtk.h:19, from codesnippetstreectrl.cpp:53: /usr/include/glib-2.0/gio/giotypes.h:120: Fehler: in Konflikt stehende Deklaration »typedef struct _GSocket GSocket« /usr/include/wx-2.8/wx/unix/gsockunx.h:41: Fehler: »class GSocket« hat eine vorherige Deklaration als »class GSocket« Looks like we need something similar to http://bugs.gentoo.org/show_bug.cgi?id=278778 Reproducible: Always Steps to Reproduce:
Well, what's your version of glib and wxGTK ?
Sorry, forgot to mention: glib-2.22.4 (+fam +xattr) wxGTK-2.8.10.1-r5 (+X +gnome +gstreamer +opengl +sdl)
http://svn.berlios.de/wsvn/codeblocks/?op=comp&compare[]=%2Ftrunk%2Fsrc%2Fplugins%2Fcontrib%2Fcodesnippets@5713&compare[]=%2Ftrunk%2Fsrc%2Fplugins%2Fcontrib%2Fcodesnippets@5716
I have exactly the same trouble! AMD64, Gentoo 10.0, stable. x11-libs/wxGTK 2.8.10.1-r5(2.8)(02:46:12 03.04.2010)(X gstreamer opengl sdl -debug -doc -gnome -odbc -pch) compiles, but at the point of emerge of dev-util/codeblocks-8.02-r1 USE="contrib pch -debug -static", fails. :Ryan: Im unable to open your link..
sys-libs/glibc-2.10.1-r1 USE="gd glibc-omitfp (multilib) nls -debug (-hardened) -profile (-selinux) -vanilla"
jurek, mind if i fix this?
(In reply to comment #6) > jurek, mind if i fix this? > I am having the same problem as well. I don't suppose you could make us a patch file for the time being that we could out into our own overlay? It seems like you have the fix. I personally would appreciate it. :) Thanks!
Created attachment 228101 [details, diff] codeblocks-8.02-gsocket.patch strange, i can't reproduce this any more. here's the patch anyways. you'll need to add it after the `cd ${S}` line for it to apply. if it works for you i'll check it in.
(In reply to comment #8) > Created an attachment (id=228101) [details] > codeblocks-8.02-gsocket.patch > > if it works for you i'll check it in. That works, thanks.
Okay, looks like it also needs USE="pch" to fail. Fixed.