如何在Ubuntu 14.04上构建ttfautohint?

时间:2016-07-15 22:07:11

标签: ubuntu

我正在尝试安装最新版本的ttfautohint。 Ubuntu有一个ttfautohint 0.97 package,它很老了does not work properly with grunt-webfont and Ubuntu 14.04

我的问题是,如何在Ubuntu 14.04上构建更新版本的tthautohint,以便我可以将它与grunt-webfont结合使用?

到目前为止,我尝试过这一点,虽然收效甚微但仍然无法依赖。

# dependencies from INTSTALL.git
sudo apt-get install autoconf -y
sudo apt-get install automake -y
sudo apt-get install bison -y
sudo apt-get install flex -y
sudo apt-get install git -y
sudo apt-get install libtool -y
sudo apt-get install perl -y

# additional dependencies after ./configure stopped with errors a couple of times
sudo apt-get install g++ -y
sudo apt-get install pkg-config -y

./bootstrap
./configure  #on my box ./configure still fails

./configure因以下错误而失败:

checking whether wcswidth is declared without a macro... yes
checking for stdint.h... (cached) yes
checking for HARFBUZZ... no
configure: error: Package requirements (harfbuzz >= 0.9.19) were not met:

No package 'harfbuzz' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables HARFBUZZ_CFLAGS
and HARFBUZZ_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

0 个答案:

没有答案