2012-05-03 17 views
8

Chciałbym użyć graph-tool w systemie Windows 7, ale mam problem z jego instalacją.nie można zainstalować narzędzia wykresów w systemie Windows 7

Wszystkie wymienione wymagania here zostały pomyślnie zainstalowane. Python 2.7 jest zainstalowany w C:\python27. Doładowanie 1.49.0 zostało pomyślnie skompilowane z mingw, zainstalowane w C:\boost, a zmienna środowiskowa BOOST_ROOT wskazuje na to. Zwiększenie jest kompilowane w trybie debugowania i wydawania, zarówno statycznym, jak i dynamicznym.


Wywoływanie configure od wewnątrz Msys prowadzi do następującego błędu.

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. 
    ============================================================================ 

Zadzwoń configure LDFLAGS="-LC:/python27/libs" ustalone tego błędu, ale prowadzi do następującego błędu

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. 

Jest to dziwne, ponieważ BOOST_ROOT jest jasno określony (sprawdziliśmy to z polecenia printenv).


Kolejna komenda Próbowałem był 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 

Alright wykryje impuls, ale nie może znaleźć boost :: python. Ze względu na jego rozmiar nie jestem w stanie opublikować config.log na stackoverflow, ale można go znaleźć here.

Jestem teraz bardzo zdezorientowany i docenię każdą pomoc.

Odpowiedz

0

Może coś w tym pomoże:

./configure --prefix=/usr/ 

do okien ścieżka jest inna, spróbuj sam.

6

mam zerowe doświadczenie w sporządzaniu wykresu-narzędzie (lub czegokolwiek innego) dla systemu Windows, ale następujący częścią config.log wyróżnia się:

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. 

Zauważ, że ścieżka doładowania zdałeś nie jest używany! Spróbuj przekazać CXXFLAGS = "- IC: \ boost \ include", aby również skonfigurować.