Number: 749
Title: Unrecognized option -perl in gv build
Submitter: John Klug
Date: Fri Jul 22 15:38:02 2005
Subsys: Build/Installation
Version: 2.5.20050722.0430
System: Other-Linux-Linux-SUSE ES 9
Severity: major
Problem:
I have IA-64 architecture.

I was asked by John Ellison to build the latest graphviz source on my system. Unfortunately, I could not reach the problem I had previously discovered in 2.4.

Snippet of the build output:


Making all in gv
make[3]: Entering directory `/work3/graphviz/graphviz-2.5.beta/graphviz-2.5.20050722.0430/tclpkg/gv'
if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../.. -I../../lib/gvc -I../../lib/common -I../../lib/graph -I../../lib/cdt -I../../lib/pathplan -I/usr/lib/perl5/5.8.3/ia64-linux-thread-multi/CORE   -I/usr/lib/ruby/1.8/ia64-linux  -I/usr/local/include  -g -O2 -MT gv.lo -MD -MP -MF ".deps/gv.Tpo" -c -o gv.lo gv.cpp; 
then mv -f ".deps/gv.Tpo" ".deps/gv.Plo"; else rm -f ".deps/gv.Tpo"; exit 1; fi
mkdir -p .libs
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../lib/gvc -I../../lib/common -I../../lib/graph -I../../lib/cdt -I../../lib/pathplan -I/usr/lib/perl5/5.8.3/ia64-linux-thread-multi/CORE -I/usr/lib/ruby/1.8/ia64-linux -I/usr/local/include -g -O2 -MT gv.lo -MD -MP -MF .deps/gv.Tpo -c gv.cpp  -fPIC -DPIC -o .libs/gv.o
c++ -perl -o gv_perl.cpp gv.i
c++: unrecognized option `-perl'
gv.i:17: error: syntax error before `%' token
gv.i:19: error: parse error before `#' token
gv.i:23: error: syntax error before `*' token
gv.i:24: error: syntax error before `*' token
gv.i:26: error: syntax error before `*' token

All downhill after this.

I have: gcc version 3.3.3 (SuSE Linux)

I saved the configuration output and build output, if you need it.
Comments:
[ellson] Please let me know what version of swig you have, and try with : ./configure --without-swig
Owner: ellson
Status: Inactive