2012-05-03 42 views
8

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です。

私は本当に今混乱しており、助けていただければ幸いです。

答えて

0

はこのようなものが役立つだろうである場合があります。パスが異なるウィンドウに対する

./configure --prefix=/usr/ 

、それを自分を試してみてください。

6

私はウィンドウのグラフツール(または何か)をコンパイルすると、ゼロの経験を持っていますが、あなたのconfig.logの以下の部分が際立っている:あなたが渡されたブーストパスがされていませんか

configure:17224: checking whether the Boost::Python library is available 
    configure:17254: g++ -c -Wall -ftemplate-depth-150 -Wno-deprecated -Wno-unknown-pragmas -O99 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -Ic:\python27\include conftest.cpp >&5 
    conftest.cpp:32:36: fatal error: boost/python/module.hpp: No such file or directory 
    compilation terminated. 

注意中古! CXXFLAGS = " - IC:\ boost \ include"を渡して設定してください。

関連する問題