求助安装Mapnik3.0版本之harfbuzz

有安装地图服务器的需求,在安装Mapnik。

查遍全网,其中在编译Mapnik过程中有一个步骤过不去。

 

(cached) Checking for C++ library harfbuzz... no
Could not find required header or shared library for harfbuzz

Exiting... the following required dependencies were not found:
   - harfbuzz (HarfBuzz text shaping library | configure with HB_LIBS & HB_INCLUDES)

See '/home/chanliq/gis/mapnik/config.log' for details on possible problems.

Also, these OPTIONAL dependencies were not found:
   - webp (WEBP C library | configure with WEBP_LIBS & WEBP_INCLUDES)

Set custom paths to these libraries and header files on the command-line or in
 file called 'config.py'
    ie. $ python scons/scons.py BOOST_INCLUDES=/usr/local/include BOOST_LIBS=/u
r/local/lib

 

大家在这个问题的解决办法是一致的,但是我这里无法解决。

在Mapnik官方的安装文档中有要求如下

libharfbuzz - an OpenType text shaping engine (>=0.9.34 needed for CSS font-feature-settings support)

在网上搜索Mapnik安装 到了这步,解决办法一模一样。

CSDN上1CSDN2阿里云jb51

于是我安装了brew,推荐去brew的github上下载安装。也有安装步骤!

安装完成,执行如下指令,安装harfbuzz。

$ brew install harfbuzz

BUT ! 问题来了。

安装好 harfbuzz 系统不识别那!

 $ pkg-config --libs --cflags harfbuzz

有人能解决这个问题嘛!谢谢

后来我找到---harfbuzz.pc 和 graphite2.pc 放在

/usr/lib64/pkgconfig/

然后查看可以识别出 harfbuzz,

不过依旧不能安装。

@网上的大神们,给小弟帮帮忙!再三感谢!

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值