не удалось установить инструмент графика -в Windows 7

Я хотел бы использовать график -инструмент в Windows 7, но у меня возникли проблемы с его установкой.

Все требования, перечисленные здесь , успешно установлены. Python 2.7 установлен в C:\python27. Boost 1.49.0 был успешно скомпилирован с mingw, установленным в C:\boost, и переменная окружения BOOST_ROOTуказывает на него. Boost компилируется в режиме отладки и выпуска, а также в статическом и динамическом режимах.


Вызов configureиз MSyS приводит к следующей ошибке.

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"исправил эту ошибку, но привел к следующей ошибке

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 . See http://randspringer.
de/boost for more documentation.

Это странно, так как BOOST_ROOTчетко определено (проверил это командой 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

Хорошо, она обнаруживает boost, но не может найти boost ::python. Из-за его размера я не могу опубликовать config.logв stackoverflow, но вы можете найти его здесь .

Сейчас я совсем запутался и буду признателен за любую помощь.

8
задан P3trus 3 May 2012 в 15:02
поделиться