Number: 1933
Title: Problem compiling graphviz 2.26.3
Submitter: Pierre
Date: Sat Apr 24 11:36:27 2010
Subsys: Tcl/Tk utilities
Version: 2.26.3
System: x86-Linux-
Severity: major
Problem:

[...]
make[4]: Entering directory `/tmp/graphviz-2.26.3/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.3/tclpkg/gv'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/graphviz-2.26.3/tclpkg/gv'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/graphviz-2.26.3/tclpkg'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/graphviz-2.26.3'
make: *** [all] Error 2

Comments:
[ellson] What version of swig do you have? We discovered recently that there are problems with swig < 1.3.33 and perl, at least on Macs.

[pierre42d]


# swig -version

SWIG Version 1.3.23 Copyright (c) 1995-1998 University of Utah and the Regents of the University of California Copyright (c) 1998-2004 University of Chicago Compiled with g++ [i686-pc-linux-gnu]

Please see http://www.swig.org for reporting bugs and further information


Owner: ellson
Status: *