gpt4 book ai didi

centos - 在 Centos 7 上安装 Mapnik : ICU C++ Library Not Found

转载 作者:太空宇宙 更新时间:2023-11-03 17:19:27 24 4
gpt4 key购买 nike

问题/简介:

我正在尝试在 Centos 7 上安装 Mapnik。我在专业环境中有大约一年的 UNIX 经验,但我仍然是一个初学者。据我所知,我已经编译并安装了 ICU C++ 库附带的 boost。不幸的是,当我为 Mapnik 安装运行 ./configure 时,出现以下错误:

Exiting... the following required dependencies were not found:
- 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/)

如何安装这个库?我找不到任何好的互联网资源,或者我找错地方了。

提前致谢。

最佳答案

  1. yum 安装 freetype-devel libtool-ltdl-devel libpng-devel libtiff-devel libjpeg-devel gcc-c++ libicu-devel python-devel bzip2-devel boost libwebp-devel libtiff-devel libjpeg-turbo-devel libpng-devel sqlite -开发gdal-开发gdal-python
  2. wget https://mapnik.s3.amazonaws.com/dist/v3.0.10/mapnik-v3.0.10.tar.bz2
  3. tar -xf ./mapnik-v3.0.10.tar.bz2
  4. cd ./mapnik-v3.0.10/
  5. ./配置
  6. 制作&&制作安装

关于centos - 在 Centos 7 上安装 Mapnik : ICU C++ Library Not Found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31589553/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com