Hi All, I have been trying to setup osm on centos 7. I have been following this site https://github.com/lijenpan/osm/blob/master/osm-centos7.md. Most of the steps like installing postgres, boost c++ library I did had issue I managed to resolve them too. I am stucked at here git clone git://github.com/mapnik/mapnik
Then I google and manually download the latest release candidate and ran the ./configure command but I end up with different set of errors. Could not find required header files for boost python Checking for pkg-config... yes Checking for pycairo... yes Exiting... the following required dependencies were not found: - ltdl (GNU Libtool | more info: http://www.gnu.org/software/libtool) - boost version >=1.47 (more info see: https://github.com/mapnik/mapnik/wiki//MapnikInstallation & http://www.boost.org) - boost system (more info see: https://github.com/mapnik/mapnik/wiki//MapnikInstallation & http://www.boost.org) - boost filesystem (more info see: https://github.com/mapnik/mapnik/wiki//MapnikInstallation & http://www.boost.org) - boost regex (more info see: https://github.com/mapnik/mapnik/wiki//MapnikInstallation & http://www.boost.org) - boost thread (more info see: https://github.com/mapnik/mapnik/wiki//MapnikInstallation & http://www.boost.org) - boost python (more info see: https://github.com/mapnik/mapnik/wiki//MapnikInstallation & http://www.boost.org) See '/usr/local/mapnik-v2.1.0rc2/config.log' for details on possible problems. I tried to run yum install libtool-ltdl but it says already installed. asked 05 Jun '17, 19:30 newbie14 |
It sounds like you have a couple of options on Centos:
answered 06 Jun '17, 15:42 SomeoneElse ♦ 1
I found a better link as most steps in here works http://qiita.com/nkmrtkhd/items/642ae1b8a996cc46d85c
(06 Jun '17, 20:38)
newbie14
|
Similar issue: https://github.com/mapnik/mapnik/issues/3591 . You need to update your compiler. Maybe there are third-party gcc packages with newer versions for CentOS available?
See also this forum thread: https://forum.openstreetmap.org/viewtopic.php?id=58594
@scai I have run yum update yet the same what else should I do with the gcc?