如何在Ubuntu 14.04上构建ttfautohint?
我正在尝试安装ttfautohint的最新版本。Ubuntu有一个非常古老的版本 我的问题是,如何在Ubuntu14.04上构建ThautoHint的最新版本,以便与grunt webfont结合使用 到目前为止,我尝试了这个方法,但几乎没有成功,它在依赖性方面不断失败如何在Ubuntu 14.04上构建ttfautohint?,ubuntu,Ubuntu,我正在尝试安装ttfautohint的最新版本。Ubuntu有一个非常古老的版本 我的问题是,如何在Ubuntu14.04上构建ThautoHint的最新版本,以便与grunt webfont结合使用 到目前为止,我尝试了这个方法,但几乎没有成功,它在依赖性方面不断失败 # dependencies from INTSTALL.git sudo apt-get install autoconf -y sudo apt-get install automake -y sudo apt-get in
# 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.
当您说您的编译“依赖项不断失败”时,您收到了什么错误消息?最重要的是:您是否阅读了文件
INSTALL.git
?它列出了所有的先决条件。我确实阅读了INSTALL.git,但我可能还没有完全理解全部内容。我安装了一些ohter依赖项,这些在原始问题中缺失,请参阅更新。运行/bootstrap
后,它说我准备运行/configure
,我这样做了,但失败了,出现错误配置:错误:未满足包要求(harfbuzz>=0.9.19):未找到包“harfbuzz”
。也许我应该继续阅读“使用mxe编译(在Unix上,用于Windows)”一节并执行所有这些?最后,我只需要一个Ubuntu的命令行工具,这样grunt webfont就可以正常运行,如果运行“使用mxe编译(在Unix上,用于Windows)”部分是为了这个目的吗?在谷歌上快速搜索“Ubuntu”、“RPM”和“harfbuzz”,我第一次成功。。。我不是Ubuntu用户,但这看起来很有希望:-)当你说你的编译“依赖项不断失败”时,你收到了什么错误消息?最重要的是:你读过文件INSTALL.git
?它列出了所有的先决条件。我确实阅读了INSTALL.git,但我可能还没有完全理解全部内容。我安装了一些ohter依赖项,这些在原始问题中缺失,请参阅更新。运行/bootstrap
后,它说我准备运行/configure
,我这样做了,但失败了,出现错误配置:错误:未满足包要求(harfbuzz>=0.9.19):未找到包“harfbuzz”
。也许我应该继续阅读“使用mxe编译(在Unix上,用于Windows)”一节并执行所有这些?最后,我只需要一个Ubuntu的命令行工具,这样grunt webfont就可以正常运行,如果运行“使用mxe编译(在Unix上,用于Windows)”部分是为了这个目的吗?在谷歌上快速搜索“Ubuntu”、“RPM”和“harfbuzz”,我第一次成功。。。我不是Ubuntu用户,但这看起来很有希望:-)