On Fri, Nov 02, 2007 at 11:06:19PM -0700, Mason Thomas wrote:
On Fri, Sep 28, 2007 at 01:18:41PM -0500, Aaron Spike wrote:
Docsonic wrote:
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'
I use Debian Etch (stable) so it seems compiling myself is my best option but I have tried with about 5 different source packages and the result is always the same (the package which created this error was 16060 but it is still there in 16148).
It appears we are using a widget from GTK2.10 even though I don't think we officially require 2.10 yet. Does anyone remember where we were on pushing to require newer GTK versions? (I'm waiting on a feature from GTK 2.12 :-) )
Aaron Spike
The exact same error still occurs in revision 16411. If GTK 2.10 is required, shouldn't that show up in the configure (or perhaps autogen.sh) script? Otherwise, is there an option to not compile the ocaldialog, or a way to backtrack to a dependency < GTK 2.10?
-Mason
Nobody else seems to be bothered by this (perhaps everyone already has the most up-to-date libraries?), so if Inkscape is going to require gtkmm at least 2.10 just to support "ListViewText", at least the configure script should be updated to require that. Will requiring gtkmm
= 2.10 lock out users unnecessarily?
Anyway, following is a patch to check for a gtkmm >=2.10.
-Mason
Index: configure.ac =================================================================== --- configure.ac (revision 16450) +++ configure.ac (working copy) @@ -584,7 +584,7 @@ else min_sigc_version=2.0.11 fi -PKG_CHECK_MODULES(INKSCAPE, gdkmm-2.4 glibmm-2.4 gtkmm-2.4 gtk+-2.0 >= 2.8.0 libxml-2.0 >= 2.6.11 libxslt >= 1.0.15 cairo sigc++-2.0 >= $min_sigc_version $ink_spell_pkg gthread-2.0 >= 2.0 libpng >= 1.2) +PKG_CHECK_MODULES(INKSCAPE, gdkmm-2.4 glibmm-2.4 gtkmm-2.4 >= 2.10.0 gtk+-2.0 >= 2.8.0 libxml-2.0 >= 2.6.11 libxslt >= 1.0.15 cairo sigc++-2.0 >= $min_sigc_version $ink_spell_pkg gthread-2.0 >= 2.0 libpng >= 1.2)
# Check for some boost header files AC_CHECK_HEADERS([boost/concept_check.hpp], [], AC_MSG_ERROR([You need the boost package (e.g. libboost-dev)]))