Windows 7でgraph-toolを使用したいと思いますが、インストールに問題があります。Windows 7にグラフツールをインストールできない
リストされた要件はすべてhereになりました。 Python 2.7はC:\python27
にインストールされています。 Boost 1.49.0はmingwで正常にコンパイルされ、C:\boost
にインストールされ、BOOST_ROOT
という環境変数がそれを指しています。 Boostは、デバッグモードとリリースモード、および静的と動的の両方でコンパイルされます。 MSYS内からconfigure
を起動
は、次のエラーにつながります。
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.
============================================================================
がconfigure LDFLAGS="-LC:/python27/libs"
は、このエラーを修正しますが、BOOST_ROOT
が明確に定義されているので、次のエラー
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.
これは奇妙であるにつながるコーリング(printenv
コマンドでそれをチェックします)。
私が試した次のコマンドが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
大丈夫だった、それはブーストを検出し、それが後押し::のpythonを見つけることができません。そのサイズのために私はconfig.log
をstackoverflowに投稿できませんが、それはhereです。
私は本当に今混乱しており、助けていただければ幸いです。