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
좋아했지만, 그것은 :: 향상 파이썬을 찾을 수 없습니다. 그 크기로 인해 나는 config.log
을 stackoverflow에 게시 할 수 없지만 here을 찾을 수 있습니다.
나는 정말로 혼란스럽고 어떤 도움을 주셔서 감사합니다.