I'm trying to compile glimmer from cvs and get the following error: gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DDATADIR=\"/usr//share\" -DPREFIX=\"/usr/\" -DG_LOG_DOMAIN=\"GlimmerStyleCache\" -I../.. -I../../libglimmerfile -I/usr//include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr//include/gtksourceview -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/linc-1.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gnome-vfs-module-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gconf/2 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnomeprint-2.0 -I/usr/include/libgnomeprintui-2.0 -I/usr/include/libglade-2.0 -g -O2 -Wall -Werror -Wp,-MD,.deps/glimmer-style-cache.pp -c glimmer-style-cache.c -fPIC -DPIC -o .libs/glimmer-style-cache.lo cc1: changing search order for system directory "/usr/include" cc1: as it has already been specified as a non-system directory In file included from /usr/include/gtksourceview/gtksourcebuffer.h:30, from ../../libglimmerfile/glimmer-file.h:26, from ../../libglimmerfile/glimmer-file-utils.h:25, from glimmer-style-cache.c:21: /usr/include/regex.h:535:1: "__restrict_arr" redefined In file included from /usr/include/features.h:283, from /usr/include/limits.h:26, from /usr/lib/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:30, from /usr/include/glib-2.0/glib/galloca.h:30, from /usr/include/glib-2.0/glib.h:30, from /usr/include/gtk-2.0/gdk/gdktypes.h:32, from /usr/include/gtk-2.0/gdk/gdkcolor.h:4, from /usr/include/gtk-2.0/gdk/gdk.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:31, from glimmer-style-cache.c:18: /usr/include/sys/cdefs.h:212:1: this is the location of the previous definition make[4]: *** [glimmer-style-cache.lo] Error 1 make[4]: Leaving directory `/mnt/homes/home/bert/src/anjuta/glimmer/libglimmerfile/glimmer-style-cache' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/mnt/homes/home/bert/src/anjuta/glimmer/libglimmerfile/glimmer-style-cache' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/mnt/homes/home/bert/src/anjuta/glimmer/libglimmerfile' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/homes/home/bert/src/anjuta/glimmer' make: *** [all-recursive-am] Error 2
looking at '/usr//share/' it seems like a variable probably should have been set somewhere and is not ... or its being set to "" ... i.e. USR_PATH= /usr/${USR_PATH}/hax
This is just because I passed --prefix=/usr/ instead of --prefix=/usr and does not affect the real problem.
if you run `emerge glimmer` does that work ?
Yes, but that's not the version anjuta2 cvs needs.
track /usr/include/regex.h down, might be that, but its probably header inclusion order in your glimmer cvs tree. check with glimmer bugzilla. I'm marking this as invalid since the Gnome team is kinda swamped right now :/
I don't think, "since the Gnome team is kinda swamped right now" is a valid reason for marking a bug invalid. Checking the header inclusion order thing you mentioned.
it might not be a valid reason, but neither is supporting cvs versions of packages our alloted job here. Sorry if you feel wrongly treated for that reason, but that is a good reason for us to not provide cvs builds for users.