Mi piacerebbe usare graph-tool su Windows 7, ma ho difficoltà ad installarlo.impossibile installare graph-tool in windows 7
Tutti i requisiti elencati here sono stati installati correttamente. Python 2.7 è installato in C:\python27
. Boost 1.49.0 è stato compilato con successo con mingw, installato in C:\boost
e la variabile di ambiente BOOST_ROOT
sta puntando ad esso. Boost è compilato in modalità debug e release e sia statico che dinamico.
Richiamo configure
dall'interno MSYS porta alla seguente errore.
configure: error:
Could not link test program to Python. Maybe the main Python library has been
installed in some non-standard library path. If so, pass it to configure,
via the LDFLAGS environment variable.
Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib"
============================================================================
ERROR!
You probably have to install the development version of the Python package
for your distribution. The exact name of this package varies among them.
============================================================================
Calling configure LDFLAGS="-LC:/python27/libs"
risolto questo errore, ma portano alla seguente errore
checking for boostlib >= 1.38.0... configure: error: We could not detect the boo
st libraries (version 1.38 or higher). If you have a staged boost library (still
not installed) please specify $BOOST_ROOT in your environment and do not give a
PATH to --with-boost option. If you are sure you have boost installed, then ch
eck your version number looking in <boost/version.hpp>. See http://randspringer.
de/boost for more documentation.
Questo è strano, dal momento che BOOST_ROOT
è chiaramente definito (controllato con printenv
di comando).
Il comando successivo ho provato è stato configure --with-boost="C:/boost" LDFLAGS="-LC:/python27/libs"
checking for boostlib >= 1.38.0... yes
checking whether the Boost::Python library is available... no
configure: error: No usable boost::python found
Va bene rileva spinta, ma non riesce a trovare boost :: pitone. A causa delle sue dimensioni, non riesco a pubblicare lo config.log
su StackOverflow ma lo puoi trovare here.
Sono davvero confuso al momento e apprezzerei qualsiasi aiuto.