current svn does not compile on current Debian 4.0 (etch)

Bug #174358 reported by theAdib
2
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Medium
Unassigned
Nominated for 0.46.x by Luca Bruno

Bug Description

I have a current Debian Etch System with no backports. I loaded all the sources from svn.
./configure runs fine
make returns error on file.cpp
ui/dialog/ocaldialogs.h:247: error: expected class-name before ‘{’ token
ui/dialog/ocaldialogs.h: In constructor ‘Inkscape::UI::Dialog::FileListViewText::FileListViewText(guint, Inkscape::UI::Dialog::SVGPreview&, Gtk::Label&, Gtk::Button&)’:
ui/dialog/ocaldialogs.h:250: error: class ‘Inkscape::UI::Dialog::FileListViewText’ does not have any field named ‘ListViewText’
make[2]: *** [file.o] Error 1
make[2]: Leaving directory `/home/debian/projects/inkscape/inkscape/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/debian/projects/inkscape/inkscape'
make: *** [all] Error 2

accoring to gtkmm description on http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1ListViewText.html
this function exists "Since gtkmm 2.10:" in Etch there is gtkmm 2.8 included

Tags: build linux
Changed in inkscape:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Luca Bruno (lucab) wrote :

So I think we just have to put a gtkmm >= 2.10 in configure.ac. But as I'm not sure how this work for other build system (ie. win32) and who decide the lib dep bump, I'd like to hear someone's comment before.

Revision history for this message
theAdib (theadib) wrote :

I would like to compile and run inkscape on that unmodified system.
What I can imagine is an additional compiler define USE_OCCAL that is enabled if gtkmm version is >=2.10. Similar to gnome-vfs, etc
I do not know configure scripts.
There is no issue on win32 as all the libs are delivered in one package.

Revision history for this message
Ted Gould (ted) wrote :

I'd like to also update it to 2.10. The reason is the printing stuff that Kees is working on will also require 2.10. I think that 0.46 will have to be 2.10 or higher.

I realize this is a problem for etch users, but I think there is too much good stuff in GTK+ 2.10...

Luca Bruno (lucab)
Changed in inkscape:
milestone: none → 0.46.1
Revision history for this message
jazzynico (jazzynico) wrote :

The 2.10 requirement has been set revision 4212 (new bzr revno).
Since Debian Lenny (and probably most GNU/Linux distros) now has gtkmm2.4 > 2.10, I think we can close this report fixed.

Changed in inkscape:
milestone: 0.46.1 → 0.46
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.