Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
some gnome things are not compiling
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
alshain
Apprentice
Apprentice


Joined: 02 Aug 2002
Posts: 202
Location: London, UK

PostPosted: Sun Mar 21, 2004 2:22 pm    Post subject: some gnome things are not compiling Reply with quote

Hello all,

After getting a new Athlon64 I've been recompiling everything as 64-bit. I've got to the point where I've basically got a working system again (I'm posting this from a rather bare-looking fluxbox) but a number of packages - notably gnome-related) are not compiling correctly. I'm using the output of emerge -e world as guidelines so I think everything is being compiled in the right order.

For example gconf-editor-2.4.0 - configure progresses happily but when it starts compiling I get:


gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\""/usr/local/share/locale"\" -DGCONF_EDITOR_IMAGEDIR=\""/usr/local/share/pixmaps/gconf-editor"\" -DIMAGEDIR=\""/usr/local/share/pixmaps"\" -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DGNOME_VFS_DISABLE_DEPRECATED -DORBIT2=1 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -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 -g -O2 -Wall -c gconf-bookmarks.c
In file included from gconf-bookmarks.h:23,
from gconf-bookmarks.c:20:
gconf-editor-window.h:55: error: syntax error before "GtkItemFactory"
gconf-editor-window.h:55: warning: no semicolon at end of struct or union
gconf-editor-window.h:56: warning: type defaults to `int' in declaration of `item_factory'
gconf-editor-window.h:56: warning: data definition has no type or storage class
gconf-editor-window.h:67: error: syntax error before '}' token
make: *** [gconf-bookmarks.o] Error 1

And I'm getting similar syntex error messages with other packages such as gnome-desktop. The appropriate lines, starting at 55 and finishing at 67 in the above case are:

GtkItemFactory *popup_factory;
GtkItemFactory *item_factory;
GtkTreeViewColumn *value_column;

GtkWidget *non_writable_label;
GtkWidget *key_name_label;
GtkWidget *short_desc_label;
GtkTextBuffer *long_desc_buffer;
GtkWidget *owner_label;

guint tearoffs_notify_id;
guint icons_notify_id;
};


I don't know much c++ but there seem to be semicolons there to me. Does anyone have any idea what's happening as I'm stumped. :( Maybe it's because I've been up all night recompiling!

Andrew
Back to top
View user's profile Send private message
alshain
Apprentice
Apprentice


Joined: 02 Aug 2002
Posts: 202
Location: London, UK

PostPosted: Tue Mar 23, 2004 10:33 pm    Post subject: Re: some gnome things are not compiling Reply with quote

alshain wrote:
Hello all,

After getting a new Athlon64 I've been recompiling everything as 64-bit. I've got to the point where I've basically got a working system again (I'm posting this from a rather bare-looking fluxbox) but a number of packages - notably gnome-related) are not compiling correctly. I'm using the output of emerge -e world as guidelines so I think everything is being compiled in the right order.

For example gconf-editor-2.4.0 - configure progresses happily but when it starts compiling I get:



Oops, turns out this was nothing to do with amd64 but was due to having installed gtk-2.4 which breaks various bits of gnome-2.4. That's a relief - I'll just have to choke back the bile and use KDE for the next couple of weeks. :D

On the upside, the Athlon64 in 64-bit mode is damn fast! Shame the kernel seems a bit wobbly - I've had two hard lockups in the last 4 days, and with the MSI K8T it seems to hang on shutting down. Oh well...

Andrew
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum