install MapNik - freetype
AlysonTrizotto opened this issue · comments
Hey how is everything?? I'm trying to install MapNik, but I can't get past this step
`PESSOAL@AlysonTrizotto MINGW64 /c/mapnik-v3.1.0/mapnik-v3.0.12 -- py 2.5
$ ./configure
scons: Reading SConscript files ...
Welcome to Mapnik...
Configuring build environment...
Configuring on Windows in release mode...
Checking for freetype-config... no
Checking for dlfcn.h support ... no
Checking if compiler (c++) supports -std=c++11 flag... (cached) yes
Checking for C library z... yes
Checking for C++ library icuuc... no
Could not find required header or shared library for icuuc
Checking for C++ library harfbuzz... no
Could not find required header or shared library for harfbuzz
Searching for boost libs and headers... (cached)
Using default boost lib dir: /usr/lib
Using default boost include dir: /usr/include
Checking for C++ header file boost/version.hpp... no
Checking for pkg-config... yes
Checking for requested plugins dependencies...
Checking for pg_config... yes
Checking for C library sqlite3... yes
Checking if SQLite supports RTREE... (cached) yes
Checking for gdal-config --libs... error: no result
no
Checking for pg_config... yes
Checking if gdal is ogr enabled... no
Checking for cairo... no
Exiting... the following required dependencies were not found:
- freetype-config (freetype-config program | try setting FREETYPE_CONFIG SCons option or configure with FREETYPE_LIBS & FREETYPE_INCLUDES)
- icuuc (ICU C++ library | configure with ICU_LIBS & ICU_INCLUDES or use ICU_LIB_NAME to specify custom lib name | more info: http://site.icu-project.org/)
- harfbuzz (HarfBuzz text shaping library | configure with HB_LIBS & HB_INCLUDES)
- boost development headers (more info see: https://github.com/mapnik/mapnik/wiki/Mapnik-Installation & http://www.boost.org)
See 'C:\mapnik-v3.1.0\mapnik-v3.0.12 -- py 2.5\config.log' for details on possible problems.
Also, these OPTIONAL dependencies were not found:
- dlfcn
- gdal-config (gdal-config program | try setting GDAL_CONFIG SCons option)
- ogr (OGR-enabled GDAL C++ Library | configured using gdal-config program | try setting GDAL_CONFIG SCons option | more info: https://github.com/mapnik/mapnik/wiki/OGR)
- cairo (Cairo C library | configured using pkg-config | try setting PKG_CONFIG_PATH SCons option)
Set custom paths to these libraries and header files on the command-line or in a file called 'config.py'
ie. $ python scons/scons.py BOOST_INCLUDES=/usr/local/include BOOST_LIBS=/usr/local/lib
Once all required dependencies are found a local 'config.py' will be saved and then install:
$ sudo python scons/scons.py install
To view available path variables:
$ python scons/scons.py --help or -h
To view overall SCons help options:
$ python scons/scons.py --help-options or -H
More info: https://github.com/mapnik/mapnik/wiki/Mapnik-Installation
PESSOAL@AlysonTrizotto MINGW64 /c/mapnik-v3.1.0/mapnik-v3.0.12 -- py 2.5
$
`
My difficulty is installing freetype. Everything I search says to build or to use make, however, I'm not understanding where I should make the link or how I can recognize that I have the freetype on my machine. Can someone help me??
I'm using Windows, I found a question here from your github about linux, but I couldn't do the same procedure
I have Freetype-2.11.1 here on my machine,
scons-4.3.0