make fails after a clean ./configure

Bug #1417907 reported by rob
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Won't Fix
High
Unassigned

Bug Description

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

Tags: build
Revision history for this message
Alex Valavanis (valavanisalex) wrote :

Please could you tell us the version of libsigc++ on your system?

Changed in inkscape:
status: New → Incomplete
importance: Undecided → High
tags: added: build
Revision history for this message
su_v (suv-lp) wrote :

Likely a duplicate of
- Bug #1362545 “Inkscape-trunk and libsigc++ 2.3.2”
  https://bugs.launchpad.net/inkscape/+bug/1362545

Bug #1362545 was actually an upstream regression in an earlier unstable release of libsigc++ (2.3.2), which was fixed in the current stable release 2.4.0.

Revision history for this message
rob (hankin-robin) wrote : Re: [Bug 1417907] Re: make fails after a clean ./configure
Download full text (4.7 KiB)

hello Alex, thanks for this. I'm not a power user.

As far as I can tell, it is version 2.0:

rksh@paua:/usr/local/lib$ pwd
/usr/local/lib
rksh@paua:/usr/local/lib$ ls -l libsig*
-rwxr-xr-x 1 root root 956 Sep 18 20:17 libsigc-2.0.la
lrwxrwxrwx 1 root root 20 Sep 18 20:17 libsigc-2.0.so ->
libsigc-2.0.so.0.0.0
lrwxrwxrwx 1 root root 20 Sep 18 20:17 libsigc-2.0.so.0 ->
libsigc-2.0.so.0.0.0
-rwxr-xr-x 1 root root 140382 Sep 18 20:17 libsigc-2.0.so.0.0.0
rksh@paua:/usr/local/lib$

cheers! HTH

Robin

On Wed, Feb 4, 2015 at 8:59 PM, Alex Valavanis <email address hidden>
wrote:

> Please could you tell us the version of libsigc++ on your system?
>
> ** Changed in: inkscape
> Status: New => Incomplete
>
> ** Changed in: inkscape
> Importance: Undecided => High
>
> ** Tags added: build
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1417907
>
> Title:
> make fails after a clean ./configure
>
> Status in Inkscape: A Vector Drawing Tool:
> Incomplete
>
> Bug description:
> 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...

Read more...

Revision history for this message
su_v (suv-lp) wrote :

Check the version string in '/usr/local/lib/pkgconfig/sigc++-2.0.pc', or try the command
$ pkg-config --modversion sigc++-2.0

Revision history for this message
rob (hankin-robin) wrote :
Download full text (5.0 KiB)

Hello again Alex, sorry for the delay, here is the output from pkg-config:

rksh@paua:~$ pkg-config --modversion sigc++-2.0
2.3.2
rksh@paua:~$

and here is the contents of sigc++-2.0.pc:

rksh@paua:/usr/local/lib/pkgconfig$ pwd
/usr/local/lib/pkgconfig
rksh@paua:/usr/local/lib/pkgconfig$ cat sigc++-2.0.pc
prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
datarootdir=${prefix}/share
datadir=${datarootdir}
includedir=${prefix}/include

docdir=${datarootdir}/doc/libsigc++-2.0
doxytagfile=${docdir}/reference/libsigc++-2.0.tag
htmlrefdir=${docdir}/reference/html
htmlrefpub=http://library.gnome.org/devel/libsigc++/unstable/

Name: libsigc++
Description: Typesafe signal and callback system for C++
Version: 2.3.2
URL: http://libsigc.sourceforge.net/
Libs: -L${libdir} -lsigc-2.0
Cflags: -I${includedir}/sigc++-2.0 -I${libdir}/sigc++-2.0/include
rksh@paua:/usr/local/lib/pkgconfig$

best wishes

Robin

On Sun, Feb 8, 2015 at 7:30 PM, ~suv <email address hidden> wrote:

> Check the version string in '/usr/local/lib/pkgconfig/sigc++-2.0.pc', or
> try the command
> $ pkg-config --modversion sigc++-2.0
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1417907
>
> Title:
> make fails after a clean ./configure
>
> Status in Inkscape: A Vector Drawing Tool:
> Incomplete
>
> Bug description:
> 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_func...

Read more...

Revision history for this message
su_v (suv-lp) wrote :

On 2015-02-09 09:25 (+0100), rob wrote:
> rksh@paua:~$ pkg-config --modversion sigc++-2.0
> 2.3.2

You have an outdated unstable libsigc++ version installed in '/usr/local' which has a known bug triggering the build failure of inkscape, as tracked in bug #1362545 (“Inkscape-trunk and libsigc++ 2.3.2”) - see also comment #2.

Proposing to link as duplicate to bug #1362545.

Changed in inkscape:
status: Incomplete → New
Revision history for this message
Alex Valavanis (valavanisalex) wrote :

As of Inkscape 0.92, CMake is used as the default build system. autotools builds have been removed in all subsequent releases.

Changed in inkscape:
status: New → Won't Fix
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.