在GitHub上从源代码安装FontForge
问题描述:
我试图从源代码安装最新版本的FontForge。我知道./configure
,make
和make install
的整个过程,但是源程序包中没有配置脚本,只是configure.ac
,看起来需要用autoconf
来处理,但autoconf
未能这样做。当我运行autoconf
时,它说明了一些可能未定义的宏。在我搜索了这个错误之后,它导致我尝试了aclocal ; autoheader; automake ; autoconf
,这也没有奏效。在GitHub上从源代码安装FontForge
答
您需要调用autogen.sh
脚本来生成configure
脚本。作为先决条件,您需要安装autoconf
,automake
和libtool
。
$ ./autogen.sh
Preparing the fontforge build system...please wait
Found GNU Autoconf version 2.69
Found GNU Automake version 1.12.1
Found GNU Libtool version 2.4.2
Automatically preparing build ... done
The fontforge build system is now prepared. To build here, run:
./configure
make
答
配置脚本不存在于git master;这很正常。创建它,运行
./autogen.sh
我已经添加了一个INSTALL.git文件到git仓库,所以这对其他用户来说很清楚。
https://github.com/fontforge/fontforge/blob/master/INSTALL.git
非常感谢! – 2013-04-11 08:34:08