重新安装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/
3)
可能 PKG_CONFIG_PATH里的东西会有冲突,只保留了一个主要的
export PKG_CONFIG_PATH=/一个路径/05.setting/PKGCONFIG
4)
报错:make的时候出现一个报错,提示代码问题。具体描述同 https://github.com/harfbuzz/harfbuzz/issues/1338(HarfBuzz 2.1.0 fails to build if default standard isn't C++11 or later)
解决方法: ./configure --prefix=/lustre1/zeminz_pkuhpc/01.bin/mills/harfbuzz/harfbuzz-2.1.0/mybuild CXXFLAGS=-std=c++11
* 注意: 需要下载再兼容的软件版本。安装成功的版本: freetype-2.9.1,harfbuzz-2.1.0, fribidi-1.0.5