{"action":"opened","issue":{"url":"https://api.github.com/repos/mapnik/mapnik/issues/3748","repository_url":"https://api.github.com/repos/mapnik/mapnik","labels_url":"https://api.github.com/repos/mapnik/mapnik/issues/3748/labels{/name}","comments_url":"https://api.github.com/repos/mapnik/mapnik/issues/3748/comments","events_url":"https://api.github.com/repos/mapnik/mapnik/issues/3748/events","html_url":"https://github.com/mapnik/mapnik/issues/3748","id":254377882,"number":3748,"title":"FT_LOAD_COLOR error on make","user":{"login":"bbd08unlimited","id":11368693,"avatar_url":"https://avatars1.githubusercontent.com/u/11368693?v=4","gravatar_id":"","url":"https://api.github.com/users/bbd08unlimited","html_url":"https://github.com/bbd08unlimited","followers_url":"https://api.github.com/users/bbd08unlimited/followers","following_url":"https://api.github.com/users/bbd08unlimited/following{/other_user}","gists_url":"https://api.github.com/users/bbd08unlimited/gists{/gist_id}","starred_url":"https://api.github.com/users/bbd08unlimited/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbd08unlimited/subscriptions","organizations_url":"https://api.github.com/users/bbd08unlimited/orgs","repos_url":"https://api.github.com/users/bbd08unlimited/repos","events_url":"https://api.github.com/users/bbd08unlimited/events{/privacy}","received_events_url":"https://api.github.com/users/bbd08unlimited/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-31T15:36:34Z","updated_at":"2017-08-31T15:36:34Z","closed_at":null,"author_association":"NONE","body":"When I attempt to build on Centos 7 using scl devtoolset-6, and clang 3.8 I get the below error. Is there a way to get past this? \r\n\r\nThanks,\r\n\r\nHere is the error from make\r\n\r\n```bash\r\n$ make\r\n# then install the rest with -j1\r\nscons/scons.py -j1 --config=cache --implicit-cache --max-drift=1\r\nscons: Reading SConscript files ...\r\nUsing previous successful configuration...\r\nRe-configure by running \"python scons/scons.py configure\".\r\n\r\nWelcome to Mapnik...\r\n\r\nNotice: dependencies not met for plugin 'sqlite', not building...\r\nscons: done reading SConscript files.\r\nscons: Building targets ...\r\nc++ -o src/text/face.os -c -std=c++14 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -pthread -ftemplate-depth-300 -Wsign-compare -O3 -fPIC -DMAPNIK_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -DBOOST_REGEX_HAS_ICU -DHAVE_JPEG -DHAVE_PNG -DHAVE_WEBP -DHAVE_TIFF -DLINUX -DMAPNIK_THREADSAFE -DBOOST_SPIRIT_NO_PREDEFINED_TERMINALS=1 -DBOOST_PHOENIX_NO_PREDEFINED_TERMINALS=1 -DBOOST_SPIRIT_USE_PHOENIX_V3=1 -DNDEBUG -DGRID_RENDERER -Ideps -Ideps/mapbox/protozero/include -Ideps/mapbox/geometry/include -Ideps/mapbox/variant/include -Ideps/agg/include -Iinclude -I/usr/local/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/gdal src/text/face.cpp\r\nsrc/text/face.cpp: In member function ‘bool mapnik::font_face::glyph_dimensions(mapnik::glyph_info&) const’:\r\nsrc/text/face.cpp:69:36: error: ‘FT_LOAD_COLOR’ was not declared in this scope\r\n     if (color_font_) load_flags |= FT_LOAD_COLOR ;\r\n                                    ^~~~~~~~~~~~~\r\nscons: *** [src/text/face.os] Error 1\r\nscons: building terminated because of errors.\r\nMakefile:46: recipe for target 'mapnik' failed\r\nmake: *** [mapnik] Error 2\r\n```\r\n\r\nHere is my ./configure output\r\n\r\n```bash\r\n$./configure PREFIX=/opt/mapnik\r\nscons: Reading SConscript files ...\r\n\r\nWelcome to Mapnik...\r\n\r\nConfiguring build environment...\r\nSCons CONFIG found: 'config.py', variables will be inherited...\r\nConfiguring on Linux in *release mode*...\r\nCXX c++ (GCC) 6.2.1 20160916 (Red Hat 6.2.1-3)\r\nCopyright (C) 2016 Free Software Foundation, Inc.\r\nThis is free software; see the source for copying conditions.  There is NO\r\nwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\r\nChecking for freetype-config... yes\r\nChecking for dlfcn.h support ... yes\r\nChecking if compiler (c++) supports -std=c++14 flag... (cached) yes\r\nChecking for C library z... yes\r\nChecking for C++ library icuuc... yes\r\nChecking for ICU version >= 4.2... found: icu 50.1\r\n(cached) Checking for C++ library harfbuzz... yes\r\nChecking for HarfBuzz version >= 0.9.34... found: HarfBuzz 1.4.5\r\nChecking for HarfBuzz with freetype support\r\n(cached) yes\r\nSearching for boost libs and headers... (cached)\r\nFound boost libs: /usr/local/lib\r\nFound boost headers: /usr/local/include\r\nChecking for C++ header file boost/version.hpp... yes\r\nChecking for Boost version >= 1.61... yes\r\nFound boost lib version... 1_63\r\nChecking for C++ library boost_system... yes\r\nChecking for C++ library boost_filesystem... yes\r\nChecking for C++ library boost_regex... yes\r\nChecking for C++ library boost_program_options... yes\r\nChecking whether Boost was compiled with C++11 scoped enums ... yes\r\nChecking if boost_regex was built with ICU unicode support... (cached) yes\r\nChecking for C library jpeg... yes\r\nChecking for C library proj... no\r\nCould not find optional header or shared library for proj\r\nChecking for C library png... yes\r\nChecking for C library webp... yes\r\nChecking for C library tiff... yes\r\nChecking for pkg-config... yes\r\nChecking for requested plugins dependencies...\r\nChecking for gdal-config --libs... yes\r\nChecking for gdal-config --cflags... yes\r\nChecking for name of gdal library... gdal\r\nChecking for C++ library gdal... yes\r\nChecking if gdal is ogr enabled... yes\r\nChecking for gdal-config --libs... yes\r\nChecking for gdal-config --cflags... yes\r\nChecking for name of ogr library... gdal\r\nChecking for C++ library gdal... yes\r\nChecking for pg_config... yes\r\nChecking for pg_config... yes\r\nChecking for C library sqlite3... no\r\nChecking if SQLite supports RTREE... (cached) no\r\nChecking for cairo... yes\r\nChecking for cairo lib and include paths...  yes\r\nChecking for cairo freetype font support ... no\r\n\r\nAll Required dependencies found!\r\n\r\nOverwriting and re-saving file 'config.py'...\r\nWill hold custom path variables from commandline and python config file(s)...\r\n\r\nNote: will build without these OPTIONAL dependencies:\r\n   - proj (Proj.4 C Projections library | configure with PROJ_LIBS & PROJ_INCLUDES | more info: http://trac.osgeo.org/proj/)\r\n   - sqlite3 (SQLite3 C Library | configure with SQLITE_LIBS & SQLITE_INCLUDES | more info: https://github.com/mapnik/mapnik/wiki/SQLite)\r\n   - sqlite_rtree (The SQLite plugin requires libsqlite3 built with RTREE support (-DSQLITE_ENABLE_RTREE=1))\r\n   - cairo (Cairo C library | configured using pkg-config | try setting PKG_CONFIG_PATH SCons option)\r\n\r\n\r\nConfigure completed: run `make` to build or `make install`\r\n```\r\n\r\n"}}
{"actor":{"display_login":"bbd08unlimited"}}