0

我试图从 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.
4

1 回答 1

2

看起来像这个错误报告。您可以从那里获取附加的补丁,或者只是转到第 32 行configure.ac并在autodetect. 即改变这个:

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

对此:

    [Path where to install Xtables extensions [[autodetect]]]),
于 2012-07-04T16:37:42.937 回答