2013-04-11 105 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以獲取解釋。