2
autogen.sh失敗,輸出顯示我需要更高版本的autoconf。但事實上,我有一個2.6倍的autoconf ....爲什麼autogen.sh失敗,即使使用正確的autoconf?
爲什麼它仍然失敗?在配置
[[email protected] 4]$ ./autogen.sh
+ autoreconf -i -f -v
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --force -I m4
configure.in:4: error: Autoconf version 2.60 or higher is required
configure.in:4: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
aclocal: autom4te failed with exit status: 63
autoreconf: aclocal failed with exit status: 63
//內容:4
它AC_PREREQ(2.60)
[[email protected] 4]$ autoconf
autoconf autoconf2.59 autoconf2.6x
[[email protected] 4]$ autoconf
[[email protected] 4]$ ls -l autocon
[[email protected] 4]$ ls /usr/bin/autoconf* -l
lrwxrwxrwx 1 root root 12 Aug 27 13:55 /usr/bin/autoconf -> autoconf2.6x
-rwxr-xr-x 1 root root 7663 Jan 6 2007 /usr/bin/autoconf2.59
-rwxr-xr-x 1 root root 14635 Feb 3 2011 /usr/bin/autoconf2.6x
2.63> 2.60,但AUTOGEN失敗了,這真的令人困惑:(
[[email protected] 4]$ autoconf --version
autoconf (GNU Autoconf) 2.63
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later
<http://gnu.org/licenses/old-licenses/gpl-2.0.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 David J. MacKenzie and Akim Demaille.
更多細節:
autoreconf --version
autoreconf (GNU Autoconf) 2.59
我想知道的是爲什麼autogen.sh失敗?
什麼實際上是在'configure.in'的4號線? – ptomato
'configure.in'實際上是'configure.ac'的舊名稱,所以我想你正嘗試更新一箇舊的項目?嘗試重命名該文件(也許autoconf在遇到'configure.in'文件時假設有一些兼容的東西) –
@ptomato已經加上 – hugemeow