Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(SOLVED)'const struct _GtkToolbar' has no member named
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
Timbers2k
Apprentice
Apprentice


Joined: 03 Oct 2003
Posts: 215

PostPosted: Tue Sep 25, 2007 7:51 pm    Post subject: (SOLVED)'const struct _GtkToolbar' has no member named Reply with quote

I get this error when trying to upgrade to dev-cpp/gtkmm-2.10.9:
Code:
toolbar.cc: In member function 'Gtk::Tooltips* Gtk::Toolbar::get_tooltips_object() const':
toolbar.cc:568: error: 'const struct _GtkToolbar' has no member named 'tooltips'
make[5]: *** [toolbar.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory `/home/tmp/portage/dev-cpp/gtkmm-2.10.9/work/gtkmm-2.10.9/gtk/gtkmm'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/tmp/portage/dev-cpp/gtkmm-2.10.9/work/gtkmm-2.10.9/gtk/gtkmm'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/tmp/portage/dev-cpp/gtkmm-2.10.9/work/gtkmm-2.10.9/gtk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/tmp/portage/dev-cpp/gtkmm-2.10.9/work/gtkmm-2.10.9/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tmp/portage/dev-cpp/gtkmm-2.10.9/work/gtkmm-2.10.9'
make: *** [all] Error 2


I get a very similar error when attempting to upgrade gnome-appletts to 2.18. Everything else compiles with no errors at all. This is on an x86 box.


Last edited by Timbers2k on Wed Oct 03, 2007 3:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
Timbers2k
Apprentice
Apprentice


Joined: 03 Oct 2003
Posts: 215

PostPosted: Wed Sep 26, 2007 1:24 pm    Post subject: Reply with quote

This is what I get in gnome-applets-2.18.0-r2:
Code:
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I. -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2   -DPNG_NO_MMX_CODE -DORBIT2=1 -pthread -I/usr/include/panel-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2   -DPNG_NO_MMX_CODE -DORBIT2=1 -pthread -I/usr/include/gnome-desktop-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/startup-notification-1.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2      -march=pentium4 -O2 -pipe -MT applet.o -MD -MP -MF ".deps/applet.Tpo" -c -o applet.o applet.c; \
        then mv -f ".deps/applet.Tpo" ".deps/applet.Po"; else rm -f ".deps/applet.Tpo"; exit 1; fi
In file included from applet.c:49:
applet.h:90: error: expected specifier-qualifier-list before 'GtkTooltips'
applet.c: In function 'gnome_volume_applet_init':
applet.c:222: error: 'GnomeVolumeApplet' has no member named 'tooltips'
applet.c:223: error: 'GnomeVolumeApplet' has no member named 'tooltips'
applet.c: In function 'cb_volume':
applet.c:1052: error: 'GnomeVolumeApplet' has no member named 'force_next_update'
applet.c: In function 'gnome_volume_applet_refresh':
applet.c:1101: error: 'GnomeVolumeApplet' has no member named 'force_next_update'
applet.c:1102: error: 'GnomeVolumeApplet' has no member named 'force_next_update'
applet.c:1141: error: 'GnomeVolumeApplet' has no member named 'tooltips'
applet.c: In function 'cb_gconf':
applet.c:1259: error: 'GnomeVolumeApplet' has no member named 'force_next_update'
make[3]: *** [applet.o] Error 1
make[3]: Leaving directory `/home/tmp/portage/gnome-base/gnome-applets-2.18.0-r2/work/gnome-applets-2.18.0/mixer'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/tmp/portage/gnome-base/gnome-applets-2.18.0-r2/work/gnome-applets-2.18.0/mixer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tmp/portage/gnome-base/gnome-applets-2.18.0-r2/work/gnome-applets-2.18.0'
make: *** [all] Error 2


I'm stuck, these two ebuilds won't compile.
Back to top
View user's profile Send private message
Kugar
n00b
n00b


Joined: 06 Apr 2004
Posts: 47

PostPosted: Fri Sep 28, 2007 11:40 pm    Post subject: Reply with quote

I have the same error for gnome-applets but no solution for the moment :(
Back to top
View user's profile Send private message
guru369
Apprentice
Apprentice


Joined: 02 Jun 2005
Posts: 225

PostPosted: Sat Sep 29, 2007 12:11 am    Post subject: Reply with quote

Bug: 193701
_________________
Gentoo Rulz!!!
Back to top
View user's profile Send private message
Kugar
n00b
n00b


Joined: 06 Apr 2004
Posts: 47

PostPosted: Sat Sep 29, 2007 12:37 am    Post subject: Reply with quote

Yes I know, I dit the modifications to patch gcalctool with success, I'm trying to do it for gnome-applets too but not successful for the moment.

Edit: the ebuils has been updated, emerge --sync and emerge packages with this gtk error solve the problem.
Back to top
View user's profile Send private message
Cthulhu666
Apprentice
Apprentice


Joined: 02 Apr 2004
Posts: 195

PostPosted: Wed Oct 03, 2007 12:09 pm    Post subject: Reply with quote

Kugar wrote:
Yes I know, I dit the modifications to patch gcalctool with success, I'm trying to do it for gnome-applets too but not successful for the moment.

Edit: the ebuils has been updated, emerge --sync and emerge packages with this gtk error solve the problem.

Funny, I synced portage today and hit this error on dev-cpp/gtkmm-2.10.10.

I guess there's a bit of regression going on here :(

EDIT: Nevermind. It turned out to be a bad mix of x86 and ~x86 keyworded packages. :oops:
Perhaps it's time to take the big step and go 100% ~x86... :roll:

_________________
A certified Gentoo lover!
Got 4 Gentoo boxes (2 desktops, 1 laptop and a server/MythTV HTPC).

Bought a computer bundled with windows? Don't want to use windows? Demand a refund!
Back to top
View user's profile Send private message
drwholton
n00b
n00b


Joined: 11 Jul 2003
Posts: 12
Location: U.K.

PostPosted: Wed Oct 03, 2007 1:26 pm    Post subject: Reply with quote

Cthulhu666 wrote:

Funny, I synced portage today and hit this error on dev-cpp/gtkmm-2.10.10.

I guess there's a bit of regression going on here :(


Me too, but added dev-cpp/gtkmm and dev-cpp/glibmm to package.keywords and it compiled fine
Back to top
View user's profile Send private message
ghutzl
Tux's lil' helper
Tux's lil' helper


Joined: 29 May 2005
Posts: 123
Location: Germany

PostPosted: Wed Oct 03, 2007 2:02 pm    Post subject: Reply with quote

I am sorry, I did not get it. Cthulhu666, what packages do you think have caused your problem? I have indeed a mix of ~x86 and x86, but I cannot identify which package(s) causes the problem. :-(
Back to top
View user's profile Send private message
Cthulhu666
Apprentice
Apprentice


Joined: 02 Apr 2004
Posts: 195

PostPosted: Wed Oct 03, 2007 2:36 pm    Post subject: Reply with quote

ghutzl wrote:
I am sorry, I did not get it. Cthulhu666, what packages do you think have caused your problem? I have indeed a mix of ~x86 and x86, but I cannot identify which package(s) causes the problem. :-(

No, I am sorry ;)

I should have clarified which packages caused my problem. I did exactly as drwholton and added dev-cpp/gtkmm and dev-cpp/glibmm to packages.keywords. Then I did emerge -DNuv world which upgraded those two and gtkmm, which then compiled without problems (due to the correct versions of the dependencies).
_________________
A certified Gentoo lover!
Got 4 Gentoo boxes (2 desktops, 1 laptop and a server/MythTV HTPC).

Bought a computer bundled with windows? Don't want to use windows? Demand a refund!
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