While compiling it gives this error: ******* In file included from gliv.h:23, from callbacks.c:25: gtk2_compat.h:13: warning: `G_N_ELEMENTS' redefined /usr/include/glib-2.0/glib/gmacros.h:149: warning: this is the location of the p revious definition gtk2_compat.h:56: warning: `GTK_STOCK_OK' redefined /usr/include/gtk-2.0/gtk/gtkstock.h:108: warning: this is the location of the pr evious definition gtk2_compat.h:57: warning: `GTK_STOCK_CANCEL' redefined /usr/include/gtk-2.0/gtk/gtkstock.h:76: warning: this is the location of the pre vious definition gtk2_compat.h:101: warning: `g_signal_connect' redefined /usr/include/glib-2.0/gobject/gsignal.h:240: warning: this is the location of th e previous definition gtk2_compat.h:104: warning: `g_signal_connect_after' redefined /usr/include/glib-2.0/gobject/gsignal.h:242: warning: this is the location of th e previous definition gtk2_compat.h:108: warning: `g_signal_connect_swapped' redefined /usr/include/glib-2.0/gobject/gsignal.h:244: warning: this is the location of th e previous definition gtk2_compat.h:110: warning: `g_signal_handlers_disconnect_by_func' redefined /usr/include/glib-2.0/gobject/gsignal.h:248: warning: this is the location of th e previous definition gtk2_compat.h:111: warning: `G_CALLBACK' redefined /usr/include/glib-2.0/gobject/gclosure.h:35: warning: this is the location of th e previous definition gtk2_compat.h:115: warning: `GDK_PRIORITY_REDRAW' redefined /usr/include/gtk-2.0/gdk/gdkevents.h:16: warning: this is the location of the pr evious definition In file included from gliv.h:23, from callbacks.c:25: gtk2_compat.h:17: conflicting types for `GRand' /usr/include/glib-2.0/glib/grand.h:34: previous declaration of `GRand' gtk2_compat.h:19: conflicting types for `g_rand_new_with_seed' /usr/include/glib-2.0/glib/grand.h:45: previous declaration of `g_rand_new_with_ seed' gtk2_compat.h:33: conflicting types for `g_build_filename' /usr/include/glib-2.0/glib/gfileutils.h:95: previous declaration of `g_build_fil ename' gtk2_compat.h:39: conflicting types for `g_file_test' /usr/include/glib-2.0/glib/gfileutils.h:76: previous declaration of `g_file_test ' gtk2_compat.h:43: conflicting types for `PangoFontDescription' /usr/include/pango-1.0/pango/pango-font.h:32: previous declaration of `PangoFont Description' gtk2_compat.h:47: conflicting types for `gtk_widget_modify_font' /usr/include/gtk-2.0/gtk/gtkwidget.h:648: previous declaration of `gtk_widget_mo dify_font' gtk2_compat.h:98: warning: redefinition of `GCallback' /usr/include/glib-2.0/gobject/gclosure.h:41: warning: `GCallback' previously dec lared here make[2]: *** [callbacks.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/gliv-1.5.2/work/gliv-1.5.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gliv-1.5.2/work/gliv-1.5.2' make: *** [all] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line -20, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/media-gfx/gliv/gliv-1.5.2.ebuild . ******** Please fix this :))
ok, this is strange, I'm testing right now but I'm not sure what will do to this, I've never played with theese before either so...
ok, this seems to be an upstream bug, could you please file it there?
Excuse me, but i ' m new to the bugzilla system...i'm sorry! What do i have exacly to do? Do i have to create a new attachment with something? The gzip source code? Thanks!
Az: care to tell me what you think in this issue? just disabling gtk2 support could probably solve it for now, but its unclean...
with "upstream" bug I mean a bug to those who create the package, most often those are documented in usr/share/doc/package-name-0.12/README.gz or another file in that directory.
Just for the record; it compiles fine here with gtk+-2.0 or gtk+-1.2.10. I am actually using it now compiled against gtk+-2.0 and Gnome2.
Can you maybe include a more detailed compile log ?
Also install "gentoolkit", and supply the output of: # epm -q gtk+ glib pango gtkglarea I for instance get: ---------------cut---------------- nosferatu audiofile-0.2.3 # epm -q gtk+ glib pango gtkglarea gtk+-2.0.5 gtk+-1.2.10-r8 glib-1.2.10-r4 glib-2.0.4 pango-1.0.3 gtkglarea-1.2.3-r1 gtkglarea-1.99.0 nosferatu audiofile-0.2.3 # ---------------cut---------------- Thanks
Created attachment 1806 [details] gliv.log
Created attachment 1819 [details] Fail compile log. (i'm using gcc 2.95.3-r5)
Created attachment 1820 [details] Epm query log.
It seems that the errors that stops my building are ignored by your compiler. May be the different version of it? (are you using gcc3.1 right?) I' ve posted the logs you requested.
Ah, i forgot. Please post the upstrem but , as i can't see who is the mantainer of the package as was unable to install it and look in /usr/share/doc/....
I am using gcc-2.95.3, and I dont get any "redefine" errors. If I though unmerge the older gtkglarea, it do not compile :/ Ill try to submit the bug to the authors.
Fixed in 1.5.3