inkscape 0.91, kubuntu linux.
after a clean ./configure, make fails with the following error:
rksh@paua:~/Downloads/inkscape-0.91$ make
make all-recursive
make[1]: Entering directory `/home/rksh/Downloads/inkscape-0.91'
Making all in src
make[2]: Entering directory `/home/rksh/Downloads/inkscape-0.91/src'
make all-am
make[3]: Entering directory `/home/rksh/Downloads/inkscape-0.91/src'
CXX layer-manager.o
make[3]: Leaving directory `/home/rksh/Downloads/inkscape-0.91/src'
make[2]: Leaving directory `/home/rksh/Downloads/inkscape-0.91/src'
make[1]: Leaving directory `/home/rksh/Downloads/inkscape-0.91'
In file included from /usr/local/include/sigc++-2.0/sigc++/functors/mem_fun.h:13:0,
from layer-manager.cpp:12:
/usr/local/include/sigc++-2.0/sigc++/limit_reference.h:115:8: error: ‘visitor’ is not a class template
struct visitor<limit_reference<T_type, I_derives_trackable> >
^
/usr/local/include/sigc++-2.0/sigc++/limit_reference.h: In static member function ‘static void sigc::visitor<T_type, I_derives_trackable>::do_visit_each(const T_action&, const sigc::limit_reference<T_type, I_derives_trackable>&)’:
/usr/local/include/sigc++-2.0/sigc++/limit_reference.h:121:5: error: ‘visit_each’ is not a member of ‘sigc’
sigc::visit_each(_A_action, _A_target.visit());
^
/usr/local/include/sigc++-2.0/sigc++/limit_reference.h: At global scope:
/usr/local/include/sigc++-2.0/sigc++/limit_reference.h:229:67: error: wrong number of template arguments (1, should be 2)
struct visitor<const_limit_r
[snip]
/usr/local/include/sigc++-2.0/sigc++/functors/slot.h:38:19: required from ‘sigc::internal::typed_slot_rep<T_functor>::typed_slot_rep(const T_functor&) [with T_functor = sigc::bound_mem_functor2<void, Inkscape::LayerManager, SPObject*, unsigned int>]’
/usr/local/include/sigc++-2.0/sigc++/functors/slot.h:604:65: required from ‘sigc::slot2<T_return, T_arg1, T_arg2>::slot2(const T_functor&) [with T_functor = sigc::bound_mem_functor2<void, Inkscape::LayerManager, SPObject*, unsigned int>; T_return = void; T_arg1 = SPObject*; T_arg2 = unsigned int]’
/usr/local/include/sigc++-2.0/sigc++/functors/slot.h:1188:26: required from ‘sigc::slot<T_return, T_arg1, T_arg2, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>::slot(const T_functor&) [with T_functor = sigc::bound_mem_functor2<void, Inkscape::LayerManager, SPObject*, unsigned int>; T_return = void; T_arg1 = SPObject*; T_arg2 = unsigned int]’
layer-manager.cpp:330:122: required from here
/usr/local/include/sigc++-2.0/sigc++/visit_each.h:169:64: warning: left operand of comma operator has no effect [-Wunused-value]
{ sigc::visitor<T_functor>::do_visit_each(_A_action, _A_functor); }
^
/usr/local/include/sigc++-2.0/sigc++/visit_each.h:169:64: error: cannot convert ‘const sigc::adaptor_functor<sigc::bound_mem_functor2<void, Inkscape::LayerManager, SPObject*, unsigned int> >’ to ‘int’ in initialization
/usr/local/include/sigc++-2.0/sigc++/visit_each.h:169:29: warning: unused variable ‘do_visit_each’ [-Wunused-variable]
{ sigc::visitor<T_functor>::do_visit_each(_A_action, _A_functor); }
^
make[3]: *** [layer-manager.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Please could you tell us the version of libsigc++ on your system?