Bug#373254: Fixed in NMU of graphviz 2.8-2.1

2006-07-04 Thread John Ellson

Cyril Brulebois wrote:

 and hppa fails too
but due to register/linkage matters.
  



/usr/lib/perl/5.8/CORE/perlvars.h:73: error: invalid use of 'register' in 
linkage specification
gv_perl.cpp:1036: error: invalid use of 'register' in linkage specification
gv_perl.cpp:5429: error: invalid use of 'register' in linkage specification
make[4]: *** [gv_perl.lo] Error 1
make[4]: Leaving directory `/build/buildd/graphviz-2.8/tclpkg/gv'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/build/buildd/graphviz-2.8/tclpkg'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/buildd/graphviz-2.8'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/buildd/graphviz-2.8'
make: *** [build-stamp] Error 2



I've seen this problem too on fedora development with gcc-4.1.1-3
but it went away with gcc-4.1.1-6

John



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



Bug#377694: FTBFS: graphviz_2.8-2.1

2006-07-10 Thread John Ellson

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]