自动重新配置无法从 configure.ac 创建配置



我试图从 sf.net 构建xtables-addons。

我已经从SF克隆了xtables-addons git repo。它有一个"autogen.sh"创建配置脚本。./autogen.sh 因以下原因而失败消息:

/usr/bin/m4:configure.ac:33: Warning: excess arguments to builtin `m4_if' ignored
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: autom4te failed with exit status: 1
autoreconf: aclocal failed with exit status: 1

我在自动工具方面没有经验,所以我对实际是什么一无所知继续在那里。

autogen.sh 包含以下内容:

#!/bin/bash
autoreconf -fi;
rm -Rf autom4te*.cache;

为什么会失败?我有所有的自动工具。

编辑:

[root@s1 xtables-addons]# /usr/bin/m4 --version
m4 (GNU M4) 1.4.13
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Rene' Seindal.

看起来像这个错误报告。您可以从那里获取附加的补丁,或者只是转到 configure.ac 中的第 32 行并在 autodetect 之后删除多余的右方括号。即更改此内容:

    [Path where to install Xtables extensions [[autodetect]]]]),

对此:

    [Path where to install Xtables extensions [[autodetect]]]),

相关内容

最新更新