安装harfbuzz遇到的报错与解决方法

重新安装ggrastr,需要先安装harfbuzz。

0)

报错: ./autogen.sh 出现
undefined symbol: Perl_xs_handshake

解决方法: 重装 autoconf (automake, libtool)

1)

报错: 0)解决后, ./autogen.sh  又出现
src/hb-ucdn/Makefile.am:3: error: Libtool library used but 'LIBTOOL' is undefined
src/hb-ucdn/Makefile.am:3:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
src/hb-ucdn/Makefile.am:3:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
src/hb-ucdn/Makefile.am:3:   If 'LT_INIT' is in 'configure.ac', make sure
src/hb-ucdn/Makefile.am:3:   its definition is in aclocal's search path.

实际上libtool和libtoolize都work

解决方法:

libtoolize

./autogen.sh

2)

报错:./configure 时出现
./configure: line 18189: syntax error near unexpected token `0.20'
./configure: line 18189: `PKG_PROG_PKG_CONFIG(0.20)'

解决方法:

cp /一个路径/automake/pkg-config-0.29.1/mybuild/share/aclocal/pkg.m4 m4/

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值