[Linux] Problème : Instal de Graphviz avec «Python bindings»
Olemis Lang
olemis@::1
Jeu 21 Mai 23:12:57 CEST 2009
2009/5/21 Olemis Lang <olemis@::1>:
> 2009/5/21 Olemis Lang <olemis@::1>:
>> Bonjour !
>>
>> Mais ce q je reçois c'est le texte suivant
>>
>> {{{
>>
>> language extensions:
>> gv_sharp: No (mcs not available)
>> gv_guile: No (guile header missing)
>> gv_io: No (disabled by default - no swig support yet)
>> gv_java: No (java not available)
>> gv_lua: No (lua not available)
>> gv_ocaml: No (ocaml not available)
>> gv_perl: Yes
>> gv_php: No (php not available)
>> gv_python: No (python is too old)
>> gv_python23: No (disabled by default - for multiversion installs)
>> gv_python24: No (disabled by default - for multiversion installs)
>> gv_python25: No (python2.5 is too old)
>>
>> }}}
>>
>> C'est pas swig parce que gv_perl = Yes
>>
>> Je viens de lire le script `configure` et je ne trouve pas la cause
>> pour laquelle j'obtiens le message `No (python2.5 is too old)`
>>
>
> Je me suis pas souvenu de dire q j'utilise python 2.5.4 ... excusez-moi svp ;)
>
Je viens aussi d'essayer
{{{
#! /bin/sh
export INSTALLROOT="C:/GraphViz" # Root install directory
export GTKDIR="C:/gtk+" # Root of GTK tree
export FONTCONFIGINCLUDEDIR # Path of fontconfig include dir
export FONTCONFIGLIBDIR # Path of fontconfig lib dir
export FREETYPEINCLUDEDIR # Path of freetype2 include dir
export FREETYPELIBDIR # Path of freetype2 lib dir
export CFLAGS="-DGVDLL=1"
export CPPFLAGS="-I$GTKDIR/include -I$GTKDIR/include/freetype2 "
export LDFLAGS="-L$GTKDIR/lib -no-undefined"
export FONTCONFIG_CFLAGS=-I$GTKDIR/include/
export FONTCONFIG_LIBS="-L$FONTCONFIGLIBDIR -lfontconfig"
export FREETYPE2_CFLAGS=-I$FREETYPEINCLUDEDIR
export FREETYPE2_LIBS="-L$FREETYPELIBDIR"
export PKG_CONFIG="$GTKDIR/bin/pkg-config"
export PKG_CONFIG_PATH="$GTKDIR/lib/pkgconfig"
export PANGOFLAGS="--with-fontconfig
--with-fontconfiglibdir$FONTCONFIGLIBDIR
--with-fontconfigincludedir=$FONTCONFIGINCLUDEDIR --with-pangocairo"
./configure -v -C --prefix=$INSTALLROOT --without-gdk-pixbuf
--with-mylibgd --disable-swig=yes --without-x
--disable-tcl --without-ipsepcola --with-codegens --enable-shared
--disable-static --with-freetype=$GTKDIR/lib --enable-ltdl $PANGOFLAGS
--without-gtk --without-gtkgl
}}}
Dans ce cas ça marche, mais ensuite `make` ne marche pas. On obtient
des messages. Le premier dit :
{{{
gdftc:107:22: ft2build.h: No such file or directory
}}}
--
Regards,
Olemis.
Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/
Featured article:
Un mundo hermoso gracias al producto Z: The World of Goo -
http://feedproxy.google.com/~r/simelo-es/~3/5Rlq3bHsnHQ/un-mundo-increiblemente-hermoso-gracias_12.html
Plus d'informations sur la liste de diffusion linux