I would like to use the graph-tool on Windows 7, but I had problems installing it.
All of the requirements listed here have been successfully installed. Python 2.7 is installed in C:\python27 . Boost 1.49.0 was successfully compiled with mingw set to C:\boost , and the BOOST_ROOT environment BOOST_ROOT indicates this. Boost is compiled in debug and release mode, as well as static and dynamic.
Calling configure from MSyS results in the following error.
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. ============================================================================
A call to configure LDFLAGS="-LC:/python27/libs" fixed this error, but led to the following error
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.
This is strange since BOOST_ROOT is well defined (verified using the printenv command).
The next command I tried was 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
It's good that it detects a boost, but cannot find boost :: python. Due to its size, I cannot publish config.log to stackoverflow, but you can find it here .
I am really confused right now and will be grateful for any help.
python boost windows-7 mingw boost-python
P3trus
source share