To properly build, the following patch should be added
to get guile version on Debian


-- 


Christophe TROPHIME
Research Engineer

LNCMI
CNRS - LNCMI
25, rue des Martyrs
BP 166
38042 GRENOBLE Cedex 9
FRANCE
CNRS

Tel : +33 (0)4 76 88 90 02 
Fax : +33 (0) 4 76 88 10 01
Office U 19 
M@il : christophe.troph...@lncmi.cnrs.fr 
________________________________________________________________________
Index: graphviz-2.34.0/configure.ac
===================================================================
--- graphviz-2.34.0.orig/configure.ac	2014-01-06 15:52:40.000000000 +0100
+++ graphviz-2.34.0/configure.ac	2014-01-06 16:09:08.000000000 +0100
@@ -689,7 +689,7 @@
       if test "x$GUILE" = "x"; then
         use_guile="No (guile not available)"
       else
-        [GUILE_VERSION=`$GUILE --version | sed -n '1 s/^.* \+\([0-9\.]\+\)$/\1/ p'`]
+        [GUILE_VERSION=`$GUILE --version | head -1 | cut -d ' ' -f 4`]
         GUILE_VERSION_MAJOR=`echo $GUILE_VERSION | cut -d '.' -f 1`
         GUILE_VERSION_MINOR=`echo $GUILE_VERSION | cut -d '.' -f 2`
         if test 0$GUILE_VERSION_MAJOR -lt 2; then

Reply via email to