Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gnome simply won't build. What's wrong with my system?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Veauger
n00b
n00b


Joined: 08 Mar 2003
Posts: 33

PostPosted: Fri Feb 13, 2004 3:12 am    Post subject: Gnome simply won't build. What's wrong with my system? Reply with quote

I'm having one hell of a time trying to emerge Gnome. First gedit wouldn't emerge, and I couldnt find anyone here who had the same problem as my gedit appeared to have. So I removed it from the ebuild after searching for a while and getting frustrated. Then on the second try it came up with errors on gdm.

What is WRONG with this thing? I'm just absolutely fed up with it!

USE="X -kde acpi gtk qt fbcon gnome -arts mmx sse alsa dvd"

CFLAGS="-Os -march=pentium4 -pipe -mfpmath=sse,387 -ffast-math -msse2 -mmmx -fomit-frame-pointer"

ACCEPT_KEYWORDS="~x86"

Using gtk 2.2.4


gedit:
Code:

In file included from gedit-dialog-uri.c:44:
../../gedit/gedit-encodings-option-menu.h:53: error: syntax error before "GtkOptionMenu"
../../gedit/gedit-encodings-option-menu.h:53: warning: no semicolon at end of struct or union
../../gedit/gedit-encodings-option-menu.h:56: error: syntax error before '}' token
../../gedit/gedit-encodings-option-menu.h:60: error: syntax error before "GtkOptionMenuClass"
../../gedit/gedit-encodings-option-menu.h:60: warning: no semicolon at end of struct or union
make[4]: *** [gedit-dialog-uri.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../gedit -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/eel-2 -I/usr/include/gail-1.0 -I/usr/include/gtksourceview-1.0 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libgnomeprintui-2.2 -DGNOME_ICONDIR=\"/usr/share/pixmaps\" -DGEDIT_GLADEDIR=\"/usr/share/gedit-2/glade/\" -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -Os -march=pentium4 -pipe -mfpmath=sse,387 -ffast-math -msse2 -mmmx -fomit-frame-pointer -MT gedit-preferences-dialog.lo -MD -MP -MF .deps/gedit-preferences-dialog.Tpo -c gedit-preferences-dialog.c  -fPIC -DPIC -o .libs/gedit-preferences-dialog.o
gedit-preferences-dialog.c:172: error: syntax error before '*' token
gedit-preferences-dialog.c:175: error: syntax error before '*' token
gedit-preferences-dialog.c:685: error: syntax error before '*' token
gedit-preferences-dialog.c: In function `gedit_preferences_dialog_editor_font_picker_font_set':
gedit-preferences-dialog.c:690: error: `gfp' undeclared (first use in this function)
gedit-preferences-dialog.c:690: error: (Each undeclared identifier is reported only once
gedit-preferences-dialog.c:690: error: for each function it appears in.)
gedit-preferences-dialog.c:690: error: `dlg' undeclared (first use in this function)
gedit-preferences-dialog.c:691: error: `font_name' undeclared (first use in this function)
gedit-preferences-dialog.c: At top level:
gedit-preferences-dialog.c:697: error: syntax error before '*' token
gedit-preferences-dialog.c: In function `gedit_preferences_dialog_editor_color_picker_color_set':
gedit-preferences-dialog.c:702: error: `r' undeclared (first use in this function)
gedit-preferences-dialog.c:703: error: `g' undeclared (first use in this function)
gedit-preferences-dialog.c:704: error: `b' undeclared (first use in this function)
gedit-preferences-dialog.c:706: error: `cp' undeclared (first use in this function)
gedit-preferences-dialog.c:706: error: `dlg' undeclared (first use in this function)
gedit-preferences-dialog.c: In function `gedit_preferences_dialog_setup_font_and_colors_page':
gedit-preferences-dialog.c:764: warning: assignment makes pointer from integer without a cast
gedit-preferences-dialog.c:768: error: `GNOME_FONT_PICKER_MODE_FONT_INFO' undeclared (first use in this function)
make[4]: *** [gedit-preferences-dialog.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gedit-2.4.1/work/gedit-2.4.1/gedit'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/gedit-2.4.1/work/gedit-2.4.1/gedit'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gedit-2.4.1/work/gedit-2.4.1'
make: *** [all] Error 2

!!! ERROR: app-editors/gedit-2.4.1 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure


gdm:
Code:
In file included from ve-miscui.c:25:
ve-miscui.h:27: error: syntax error before '*' token
ve-miscui.c:50: error: syntax error before '*' token
ve-miscui.c:51: warning: no previous prototype for `ve_gtk_option_menu_get_item'
ve-miscui.c: In function `ve_gtk_option_menu_get_item':
ve-miscui.c:52: error: `option_menu' undeclared (first use in this function)
ve-miscui.c:52: error: (Each undeclared identifier is reported only once
ve-miscui.c:52: error: for each function it appears in.)
ve-miscui.c:53: warning: implicit declaration of function `GTK_IS_OPTION_MENU'
ve-miscui.c:57: error: `index' undeclared (first use in this function)
make[3]: *** [ve-miscui.o] Error 1
make[3]: *** Waiting for unfinished jobs....
gcc -Os -march=pentium4 -pipe -mfpmath=sse,387 -ffast-math -msse2 -mmmx -fomit-frame-pointer -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -o test-ve-config test-ve-config.o -Wl,--export-dynamic -pthread  -L/usr/X11R6/lib /usr/lib/libgnomeui-2.so -L/usr/lib /usr/lib/libgnome-keyring.so /usr/lib/libjpeg.so /usr/lib/libbonoboui-2.so -lSM -lICE -lX11 /usr/lib/libgnomecanvas-2.so /usr/lib/libgnome-2.so /usr/lib/libesd.so /usr/lib/libasound.so /usr/lib/libaudiofile.so /usr/lib/libart_lgpl_2.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgnomevfs-2.so /usr/lib/libgconf-2.so /usr/lib/libbonobo-2.so -lssl -lcrypto -lrt /usr/lib/libbonobo-activation.so /usr/lib/libORBitCosNaming-2.so /usr/lib/libORBit-2.so /usr/lib/libpopt.so /usr/lib/libgthread-2.0.so /usr/lib/libglade-2.0.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libxml2.so -lpthread -lz /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm -lXcursor /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -L/var/tmp/portage/gdm-2.4.1.7-r1/work/gdm-2.4.1.7/vicious-extensions -lvicious
make[3]: Leaving directory `/var/tmp/portage/gdm-2.4.1.7-r1/work/gdm-2.4.1.7/vicious-extensions'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gdm-2.4.1.7-r1/work/gdm-2.4.1.7/vicious-extensions'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gdm-2.4.1.7-r1/work/gdm-2.4.1.7'
make: *** [all-recursive-am] Error 2

!!! ERROR: gnome-base/gdm-2.4.1.7-r1 failed.
!!! Function src_compile, Line 77, Exitcode 2
!!! (no error message)
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Fri Feb 13, 2004 3:32 am    Post subject: Re: Gnome simply won't build. What's wrong with my system? Reply with quote

Veauger wrote:

In file included from gedit-dialog-uri.c:44:
../../gedit/gedit-encodings-option-menu.h:53: error: syntax error before "GtkOptionMenu"
../../gedit/gedit-encodings-option-menu.h:53: warning: no semicolon at end of struct or union
../../gedit/gedit-encodings-option-menu.h:56: error: syntax error before '}' token
../../gedit/gedit-encodings-option-menu.h:60: error: syntax error before "GtkOptionMenuClass"
../../gedit/gedit-encodings-option-menu.h:60: warning: no semicolon at end of struct or union
Some header file is børken. Probably GTK.
Back to top
View user's profile Send private message
Veauger
n00b
n00b


Joined: 08 Mar 2003
Posts: 33

PostPosted: Fri Feb 13, 2004 3:33 am    Post subject: Reply with quote

Well, if I remerge GTK, should I take it up to the latest version or not? I heard some people had some serious problems with it.

Actually, looking at it now, I guess I have the newer version. How the hell did that happen?

bash-2.05b# emerge -p gtk+

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild UD] x11-libs/gtk+-2.2.4-r1 [2.3.2]
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Fri Feb 13, 2004 3:39 am    Post subject: Reply with quote

gtk+ 2.3.2 is BMG, so make your mind up whether you want Gnome 2.4 or 2.5. The reason Gnome has a development branch is to be able to break API compatibility. I would be surprised if gedit 2.4.2 *did* work with gtk+ 2.3.2.
Back to top
View user's profile Send private message
Veauger
n00b
n00b


Joined: 08 Mar 2003
Posts: 33

PostPosted: Fri Feb 13, 2004 3:45 am    Post subject: Reply with quote

Thats odd, the reason I was trying to get 2.4 is because 2.5 wouldn't emerge. But I unmerged all the packages emerged by 2.5 (looked at the emerge log). I don't know why it would still be hanging around. Installing the old version now.
Back to top
View user's profile Send private message
Veauger
n00b
n00b


Joined: 08 Mar 2003
Posts: 33

PostPosted: Fri Feb 13, 2004 4:01 am    Post subject: Reply with quote

Ok, gedit still won't work, same errors. GDM has all new ones! Allright! but I do notice that the "vicious-extensions" show up again. Maybe they're just too vicious for my PC to handle.

Code:

                 from glade-helper.c:29:
/usr/include/libgnomeui-2.0/libgnomeui/gnome-icon-lookup.h:26:30: gtk/gtkicontheme.h: No such file or directory
In file included from /usr/include/libgnomeui-2.0/libgnomeui/libgnomeui.h:59,
                 from glade-helper.c:29:
/usr/include/libgnomeui-2.0/libgnomeui/gnome-icon-lookup.h:48: error: syntax error before '*' token
/usr/include/libgnomeui-2.0/libgnomeui/gnome-icon-lookup.h:56: error: syntax error before '*' token
In file included from /usr/include/libgnomeui-2.0/libgnomeui/libgnomeui.h:59,
                 from ve-miscui.c:23:
/usr/include/libgnomeui-2.0/libgnomeui/gnome-icon-lookup.h:26:30: gtk/gtkicontheme.h: No such file or directory
make[3]: *** [glade-helper.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /usr/include/libgnomeui-2.0/libgnomeui/libgnomeui.h:59,
                 from ve-miscui.c:23:
/usr/include/libgnomeui-2.0/libgnomeui/gnome-icon-lookup.h:48: error: syntax error before '*' token
/usr/include/libgnomeui-2.0/libgnomeui/gnome-icon-lookup.h:56: error: syntax error before '*' token
make[3]: *** [ve-miscui.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/gdm-2.4.1.7-r1/work/gdm-2.4.1.7/vicious-extensions'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gdm-2.4.1.7-r1/work/gdm-2.4.1.7/vicious-extensions'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gdm-2.4.1.7-r1/work/gdm-2.4.1.7'
make: *** [all-recursive-am] Error 2

!!! ERROR: gnome-base/gdm-2.4.1.7-r1 failed.
!!! Function src_compile, Line 77, Exitcode 2
!!! (no error message)
Back to top
View user's profile Send private message
Veauger
n00b
n00b


Joined: 08 Mar 2003
Posts: 33

PostPosted: Fri Feb 13, 2004 4:13 am    Post subject: Reply with quote

Blah, sorry, fixed that one error. *sigh*

This is illustrating to me exactly why a dependency checking unmerge is really needed badly in portage.
Back to top
View user's profile Send private message
d0lby
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2003
Posts: 77
Location: Auckland/New Zealand

PostPosted: Fri Feb 13, 2004 12:45 pm    Post subject: Reply with quote

dude, what did you do to fix it? I also get the error can't find vicious-extensions.... what did you do??? =)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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