Matthias Klose wrote:
Package: graphviz
Version: 2.8-2.1
Severity: serious

apparently, a build-conflict or a build-dependency is missing.

swig -c++ -lua -o gv_lua.cpp gv.i
if /bin/sh ../../libtool --tag=CXX --mode=compile i486-linux-gnu-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/perl/5.8/CORE -I/usr/lib/ocaml -I/usr/include/php 
-I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM  
-I/usr/lib/ruby/1.8/i486-linux -I/usr/include/tcl8.4 -I/usr/include/tcl8.4/generic    -g 
-O2 -MT gv_lua.lo -MD -MP -MF ".deps/gv_lua.Tpo" -c -o gv_lua.lo gv_lua.cpp; \
        then mv -f ".deps/gv_lua.Tpo" ".deps/gv_lua.Plo"; else rm -f 
".deps/gv_lua.Tpo"; exit 1; fi
 i486-linux-gnu-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/perl/5.8/CORE -I/usr/lib/ocaml -I/usr/include/php 
-I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM 
-I/usr/lib/ruby/1.8/i486-linux -I/usr/include/tcl8.4 
-I/usr/include/tcl8.4/generic -g -O2 -MT gv_lua.lo -MD -MP -MF .deps/gv_lua.Tpo 
-c gv_lua.cpp  -fPIC -DPIC -o .libs/gv_lua.o
gv_lua.cpp:696:17: error: lua.h: No such file or directory
gv_lua.cpp:697:21: error: lauxlib.h: No such file or directory

It looks like you don't have lua.h installed. Is there a lua-devel package for Debian?


The graphviz -2.8 problem is that configure.ac is not checking properly for lua.h. You may want to backport the lua test from the current graphviz-2.9 development snapshot.

John


=================fragment from configure.ac==========================

dnl -----------------------------------
dnl INCLUDES and LIBS for LUA

if test "x$SWIG" != "x"; then
AC_ARG_ENABLE(lua,
 [AC_HELP_STRING([--disable-lua], [don't support lua language bindings])])
if test "x$enable_lua" != "xno"; then
if test `$SWIG -help 2>&1 | $GREP -c '\-lua *- Generate'` = 0; then
       LUA=
AC_MSG_WARN([swig does not support lua. The LUA packages will not be built])
else
AC_CHECK_PROG(LUA,lua,lua)
LUA_INCLUDES=
LUA_LIBS=
AC_CHECK_HEADER(lua.h,,[
AC_MSG_WARN([Unable to find header lua.h. The LUA packages will not be built])
 LUA=
 ])
AC_SUBST(LUA_INCLUDES)
AC_SUBST(LUA_LIBS)
fi
fi
fi
AM_CONDITIONAL(WITH_LUA, [test "x$LUA" != "x"])




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to