Number: 1860
Title: Problem compiling graphviz 2.26.0
Submitter: Pierre
Date: Wed Jan 20 22:43:55 2010
Subsys: Tcl/Tk utilities
Version: 2.26.0
System: x86-Linux-
Severity: major
Problem:

[...]
Making all in gv
make[3]: Entering directory `/tmp/graphviz-2.26.0/tclpkg/gv'
Making all in demo
make[4]: Entering directory `/tmp/graphviz-2.26.0/tclpkg/gv/demo'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/tmp/graphviz-2.26.0/tclpkg/gv/demo'
make[4]: Entering directory `/tmp/graphviz-2.26.0/tclpkg/gv'
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H  -I. -I../..  -I../.. -I../../lib/gvc -I../../lib/common -I../../lib/graph -I../../lib/cdt -I../../lib/pathplan -DDEMAND_LOADING=1 -I/usr/local/lib/perl5/5.11.1/i686-linux-thread-multi-ld/CORE -I/usr/local/include  -s -O3 -march=i686 -MT libgv_perl_la-gv_perl.lo -MD -MP -MF .deps/libgv_perl_la-gv_perl.Tpo -c -o libgv_perl_la-gv_perl.lo `test -f 'gv_perl.cpp' || echo './'`gv_perl.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/gvc -I../../lib/common -I../../lib/graph -I../../lib/cdt -I../../lib/pathplan -DDEMAND_LOADING=1 -I/usr/local/lib/perl5/5.11.1/i686-linux-thread-multi-ld/CORE -I/usr/local/include -s -O3 -march=i686 -MT libgv_perl_la-gv_perl.lo -MD -MP -MF .deps/libgv_perl_la-gv_perl.Tpo -c gv_perl.cpp  -fPIC -DPIC -o .libs/libgv_perl_la-gv_perl.o
gv_perl.cpp:727: error: expected unqualified-id before string constant
gv_perl.cpp:728: error: expected initializer before '*' token
gv_perl.cpp:733: error: 'SwigPerlWrapperPtr' does not name a type
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp:5546: error: too many initializers for 'swig_command_info'
gv_perl.cpp: In function 'void boot_gv(PerlInterpreter*, CV*)':
gv_perl.cpp:5566: error: 'struct swig_command_info' has no member named 'wrapper'
make[4]: *** [libgv_perl_la-gv_perl.lo] Error 1
make[4]: Leaving directory `/tmp/graphviz-2.26.0/tclpkg/gv'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/graphviz-2.26.0/tclpkg/gv'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/graphviz-2.26.0/tclpkg'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/graphviz-2.26.0'
make: *** [all] Error 2

Comments:
[erg] As a possible workaround, unless you need the perl bindings, you can disable these at configure time using --disable-perl or, more completely, --disable-swig.

[ellson] Perl-5.11.1 ???? This hasn't even hit Rawhide yet! What distro is this?

Please try to generate a bug report to the swig developers.

In the meantime, either downgrade to perl-5.10.1, or configure with --disable-perl
Owner: *
Status: *