After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 612659 - Can't compile GParted: 'class GParted::Win_GParted' has no member named 'set_default_icon_name'
Can't compile GParted: 'class GParted::Win_GParted' has no member named 'set_...
Status: RESOLVED INCOMPLETE
Product: gparted
Classification: Other
Component: application
0.4.0
Other Linux
: Normal normal
: ---
Assigned To: gparted maintainers alias
gparted maintainers alias
Depends on:
Blocks:
 
 
Reported: 2010-03-12 03:11 UTC by Zhenya
Modified: 2010-04-23 21:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Compilation log (40.02 KB, application/octet-stream)
2010-03-12 03:11 UTC, Zhenya
Details
Same error with 0.5.2 source code (50.39 KB, text/plain)
2010-03-13 01:00 UTC, Zhenya
Details

Description Zhenya 2010-03-12 03:11:20 UTC
Created attachment 155920 [details]
Compilation log

I can't compile GParted. I have all deps. Distro: openSuSE 10.2, Linux Kernel 2.6.28.2,0 parted version 1.7.1, logs in attachment.

...
Win_GParted.cc:74: error: 'class GParted::Win_GParted' has no member named 'set_default_icon_name'
...

gcc version:
gcc (GCC) 4.1.2 20061115 (prerelease) (SUSE Linux)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

gtk2 version: 2.10.6
Comment 1 Curtis Gedak 2010-03-12 16:12:21 UTC
GParted version 0.4.0 is quite old.  I suggest you try the latest (currently 0.5.2) and then see how that goes.
Comment 2 Zhenya 2010-03-13 01:00:05 UTC
Created attachment 156029 [details]
Same error with 0.5.2 source code

I think, Win_GParted.cc has one or two strings of code that GCC 4.1.2 is not understand.
Comment 3 Curtis Gedak 2010-03-13 15:50:10 UTC
The method "set_default_icon_name()" comes from the gtkmm library.

http://library.gnome.org/devel/gtkmm/stable/classGtk_1_1Window.html#a533d03e9b92d8ccd142ab3a44005cae4

According to the documentation, this method has been available since gtkmm version 2.6.

Which gtkmm version are you using?

Do you have the libgtkmm development libraries installed?


As a different approach to this problem, you might consider that we recommend using GParted from live media.  This has the advantage that all of the features of GParted will be available, and none of the file systems will be mounted when booting from GParted Live.
Comment 4 Zhenya 2010-03-14 02:16:29 UTC
gtkmm-2.4 - you can see it in my attachment.
How much money I need to donate to add support of gtkmm-2.4 in GParted? If configure is done without errors, I want see compiled program or why it can't be compiled
Comment 5 Curtis Gedak 2010-03-14 15:39:10 UTC
The version numbering for gtkmm is a bit different than one would expect.  After version 2.4, I believe the application programming interface was kept the same but an additional version number was added.

Here is what the version for gtkmm-2.4 is on my system:

$ dpkg -l | grep gtkmm
ii  libgtkmm-2.4-1c2a                          1:2.12.5-2                                                 C++ wrappers for GTK+ 2.4 (shared libraries)
ii  libgtkmm-2.4-dev                           1:2.12.5-2                                                 C++ wrappers for GTK+ 2.4 (development files

The version number is read as gtkmm version 2.14-5.2.

It is these last few numbers that are important since all of these version conform to the gtkmm 2.4 API.

So, what is the version of gtkmm that you are using?
Comment 6 Curtis Gedak 2010-04-23 21:53:25 UTC
Closing this bug as INCOMPLETE.

If you are able to answer the question in comment #5, then please feel free to re-open this bug and provide additional information.