You must be logged in to post Login Register


Lost Your Password?

Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Error on Debian Lenny/armel virtual machine

UserPost

8:58 am
November 25, 2010


radu

Member

posts 7

I'm trying to compile Mangler from for a Debian Lenny – ARM arch.
I'm using for that a qemu-armel virtual machine, that has gtk+ 2.18.6 and gtkmm 2.12.7.
I get the following error:

mangler.cpp: In constructor 'Mangler::Mangler(_cli_options*)':
mangler.cpp:346: error: 'class Gtk::StatusIcon' has no member named 'signal_scroll_event'
mangler.cpp:347: error: 'class Gtk::StatusIcon' has no member named 'signal_button_press_event'
mangler.cpp: In member function 'void Mangler::onDisconnectHandler()':
mangler.cpp:459: error: 'class Gtk::MenuItem' has no member named 'set_label'
mangler.cpp: In member function 'void Mangler::adminLoginMenuItem_activate_cb()':
mangler.cpp:695: error: 'class Gtk::MenuItem' has no member named 'get_label'
mangler.cpp: In member function 'void Mangler::setTooltip()':
mangler.cpp:837: error: 'class Gtk::StatusIcon' has no member named 'set_tooltip_text'
mangler.cpp: In member function 'bool Mangler::getNetworkEvent()':
mangler.cpp:1575: error: 'class Gtk::MenuItem' has no member named 'set_label'
mangler.cpp:1583: error: 'class Gtk::MenuItem' has no member named 'set_label'

The error appears when compiling either 1.2.1 or latest svn.
Anyone knows what could be the problem?

 

12:49 pm
November 25, 2010


econnell

Admin

posts 320

Your version of gtkmm is too old.

1:43 pm
November 25, 2010


radu

Member

posts 7

But your configure script asks for a gtkmm > 1.3.3?

./configure, around line 16563 says:

"Package requirements (gtkmm-2.4 >= 1.3.3) were not met:

What's the minimum version of gtkmm needed? 

 

I'm compiling Mangler for a Nokia N900 smartphone, which runs a Linux distro called Maemo5. That distro is based on Debian Lenny and is outated in terms of libs, also it uses a heavily modified gtk+ which won't compile Mangler (and is too old, too). So I use a vanilla Debian Lenny chroot. The mantainer of this chroot warns against upgrading to Squeeze, so I guess i'm stuck…

1:54 pm
November 25, 2010


econnell

Admin

posts 320

I have no idea where that 1.3.3 came from.  The minimum version is either 2.16 or 2.18… i'm not sure which exactly.  I know that the version lenny has is definitely too old.

 

However, as far as I know, there are only two main things that require the newer version, which, as shown in the error you're getting is the menu bar and status icon stuff.  If you rip out the menu and the status icon code, it may work.

2:49 pm
November 25, 2010


econnell

Admin

posts 320

If you log on to IRC (irc.freenode.net in #mangler) we can give you some tips along the way…


About the Mangler forum

Forum Timezone: America/New_York

Most Users Ever Online: 30

Currently Online:
6 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 1
Forums: 4
Topics: 247
Posts: 1128

Membership:

There are 746 Members

There is 1 Admin
There are 2 Moderators

Top Posters:

clearscreen – 48
dardack – 18
Krovikan – 16
FWishbringer – 14
faldiin – 12
vpro – 11

Recent New Members: keeper, pezz, nvs2dvs, fishtoast, melody, Etane

Administrators: econnell (320 Posts)

Moderators: Haxar (58 Posts), bobshaffer (2 Posts)



Go to Top