Помогите собрать Mapnik под windows
-
- Новоприбывший
- Сообщения: 11
- Зарегистрирован: 25 янв 2012, 14:39
- Репутация: 0
Помогите собрать Mapnik под windows
Собираю Mapnik с помощью MSVC2008 на Windows7.
Установил Python 2.7 и часть других зависимых библиотек.
Создал файл config.py в котором указываю пути к зависимостям.
Запускаю scons/scons.py configure он начинает проверять зависимости(пути берет из config.py) какие то находит какие то нет.
Вопрос: Он требует какую то библиотеку Checking for C library m... no - я не понимаю что это за библиотека и где ее взять для windows?
И как прописать пути к инклудам и либе freetype -он просит указать путь к freetype-config - но это скрипт для .sh а не .exe - как быть?
Вот вывод в консоль:
scons: Reading SConscript files ...
Welcome to Mapnik...
Configuring build environment...
SCons CONFIG found: 'config.py', variables will be inherited...
Configuring on Windows in *release mode*...
Checking for freetype-config... no
Checking for xml2-config... no
Sorting lib and inc compiler paths...(cached) yes
Checking for C library m... no //что это за библиотека??
Could not find required header or shared library for m
Checking for C library ltdl... no
Could not find required header or shared library for ltdl
Checking for C library png... yes
Checking for C library tiff... yes
Checking for C library z... no
Could not find required header or shared library for z
Checking for C library proj... no
Could not find required header or shared library for proj
Checking for C++ library icuuc... yes
Checking for C library jpeg... yes
Checking for ICU version >= 4.2... found: icu 4.8
(cached) Searching for boost libs and headers... (cached) ←[94m
*using default boost lib dir: /usr/lib
*using default boost include dir: /usr/include
*using boost lib naming: -vc90-mt-1_48←[0m
Checking for Boost version >= 1.41... no
Boost version 1.41 or greater is required
Checking for C++ library boost_system-vc90-mt-1_48... no
Could not find required header or shared library for boost system
Checking for C++ library boost_filesystem-vc90-mt-1_48... no
Could not find required header or shared library for boost filesystem
Checking for C++ library boost_regex-vc90-mt-1_48... no
Could not find required header or shared library for boost regex
Checking for C++ library boost_program_options-vc90-mt-1_48... no
Could not find optional header or shared library for boost program_options
Checking for C++ library boost_thread-vc90-mt-1_48... no
Could not find required header or shared library for boost thread
Checking if boost_regex was built with ICU unicode support... (cached) no
Checking for requested plugins dependencies...
Checking for C library sqlite3... no
Checking if SQLite supports RTREE... (cached) no
Checking if gdal is ogr enabled... no
Checking for gdal-config --libs... error: no result
no
Checking for pg_config... error: no result
no
Checking for pkg-config... no
Checking for C++ header file boost/python/detail/config.hpp... no
Установил Python 2.7 и часть других зависимых библиотек.
Создал файл config.py в котором указываю пути к зависимостям.
Запускаю scons/scons.py configure он начинает проверять зависимости(пути берет из config.py) какие то находит какие то нет.
Вопрос: Он требует какую то библиотеку Checking for C library m... no - я не понимаю что это за библиотека и где ее взять для windows?
И как прописать пути к инклудам и либе freetype -он просит указать путь к freetype-config - но это скрипт для .sh а не .exe - как быть?
Вот вывод в консоль:
scons: Reading SConscript files ...
Welcome to Mapnik...
Configuring build environment...
SCons CONFIG found: 'config.py', variables will be inherited...
Configuring on Windows in *release mode*...
Checking for freetype-config... no
Checking for xml2-config... no
Sorting lib and inc compiler paths...(cached) yes
Checking for C library m... no //что это за библиотека??
Could not find required header or shared library for m
Checking for C library ltdl... no
Could not find required header or shared library for ltdl
Checking for C library png... yes
Checking for C library tiff... yes
Checking for C library z... no
Could not find required header or shared library for z
Checking for C library proj... no
Could not find required header or shared library for proj
Checking for C++ library icuuc... yes
Checking for C library jpeg... yes
Checking for ICU version >= 4.2... found: icu 4.8
(cached) Searching for boost libs and headers... (cached) ←[94m
*using default boost lib dir: /usr/lib
*using default boost include dir: /usr/include
*using boost lib naming: -vc90-mt-1_48←[0m
Checking for Boost version >= 1.41... no
Boost version 1.41 or greater is required
Checking for C++ library boost_system-vc90-mt-1_48... no
Could not find required header or shared library for boost system
Checking for C++ library boost_filesystem-vc90-mt-1_48... no
Could not find required header or shared library for boost filesystem
Checking for C++ library boost_regex-vc90-mt-1_48... no
Could not find required header or shared library for boost regex
Checking for C++ library boost_program_options-vc90-mt-1_48... no
Could not find optional header or shared library for boost program_options
Checking for C++ library boost_thread-vc90-mt-1_48... no
Could not find required header or shared library for boost thread
Checking if boost_regex was built with ICU unicode support... (cached) no
Checking for requested plugins dependencies...
Checking for C library sqlite3... no
Checking if SQLite supports RTREE... (cached) no
Checking if gdal is ogr enabled... no
Checking for gdal-config --libs... error: no result
no
Checking for pg_config... error: no result
no
Checking for pkg-config... no
Checking for C++ header file boost/python/detail/config.hpp... no
- Дмитрий Барышников
- Гуру
- Сообщения: 2572
- Зарегистрирован: 17 ноя 2009, 19:17
- Репутация: 261
- Откуда: Москва
Re: Помогите собрать Mapnik под windows
Это unix библиотека libm.anton21 писал(а): Вопрос: Он требует какую то библиотеку Checking for C library m... no - я не понимаю что это за библиотека и где ее взять для windows?
Как вы собирали? Я нашел вот такую инструкцию http://www.falconview.org/trac/FalconVi ... t?rev=2479
-
- Новоприбывший
- Сообщения: 11
- Зарегистрирован: 25 янв 2012, 14:39
- Репутация: 0
Re: Помогите собрать Mapnik под windows
Я не создаю проект Visual Studio , а пытаюсь собрать через систему сборки scons - так вот она и просит эту библиотеку
- Дмитрий Барышников
- Гуру
- Сообщения: 2572
- Зарегистрирован: 17 ноя 2009, 19:17
- Репутация: 261
- Откуда: Москва
Re: Помогите собрать Mapnik под windows
Русским языком повторяю - это библиотека для Unix - значит что-то не так в вашей системе сборки.
-
- Гуру
- Сообщения: 5173
- Зарегистрирован: 26 сен 2009, 16:26
- Репутация: 793
- Ваше звание: званий не имею
- Откуда: Москва
-
- Гуру
- Сообщения: 2627
- Зарегистрирован: 29 мар 2007, 14:12
- Репутация: 34
- Откуда: Ukraine
Re: Помогите собрать Mapnik под windows
Поставьте MinGW и не мучайтесь.
Кто сейчас на конференции
Сейчас этот форум просматривают: нет зарегистрированных пользователей и 26 гостей