2013-04-11 108 views
0

我试图从源代码安装最新版本的FontForge。我知道./configure,makemake install的整个过程,但是源程序包中没有配置脚本,只是configure.ac,看起来需要用autoconf来处理,但autoconf未能这样做。当我运行autoconf时,它说明了一些可能未定义的宏。在我搜索了这个错误之后,它导致我尝试了aclocal ; autoheader; automake ; autoconf,这也没有奏效。在GitHub上从源代码安装FontForge

回答

1

您需要调用autogen.sh脚本来生成configure脚本。作为先决条件,您需要安装autoconfautomakelibtool

$ ./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 
+0

非常感谢! – 2013-04-11 08:34:08

1

只要运行autogen.sh脚本,它将执行所有必要的步骤。请参阅Auto-Book以获取解释。