0

我正在尝试从源代码安装最新版本的FontForge./configure, make, 和的整个过程我都知道make install,但是源码包里没有配置脚本,只有configure.ac,貌似需要用 处理autoconf,但是autoconf没做。当我运行时autoconf,它说明了可能未定义的宏。在我用谷歌搜索错误后,它让我尝试aclocal ; autoheader; automake ; autoconf了也不起作用。

4

3 回答 3

1

只需运行autogen.sh脚本,它将执行所有必要的步骤。有关说明,请参阅自动预订

于 2013-04-11T08:24:49.110 回答
1

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

$ ./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
于 2013-04-11T08:25:53.410 回答
0

配置脚本不存在于 git master 中;这很正常。要创建它,请运行

./autogen.sh

我已经在 git repo 中添加了一个 INSTALL.git 文件,这样其他用户就会清楚这一点。

https://github.com/fontforge/fontforge/blob/master/INSTALL.git

于 2013-09-18T17:40:47.090 回答