有2个文件,test.c和test.h。执行autoscan生成configure.scan,改名为configure.ac,增加一条AM_INIT_AUTOMAKE(test,0.0.1),保存。执行aclocal,没有生成aclocal.m4,却生成了autom4te.cahce文件加。执行autoconf,没报错。执行automake,抱错。
% `+ M- b/ ^( J2 Q4 X" uconfigure.ac:8: no proper implementation of AM_INIT_AUTOMAKE was found,
$ Q5 S! o0 ~, P& tconfigure.ac:8: probably because aclocal.m4 is missing...
6 p8 X; B) x! }9 @configure.ac:8: You should run aclocal to create this file, then
& m: k$ p) W! I3 J8 z" H4 d
configure.ac:8: run automake again.
; f. ~7 l$ A; x重新执行aclocal,在执行automake,还是没用
9 |. g: z6 T: C# Y; _
值得注意的是aclocal输出内容
. ?( c: d$ z6 k! @, N0 ^! d; t- F0 J
aclocal: saw macro AM_INIT_AUTOMAKE
. E- V$ s" E6 V4 |1 F( M
aclocal: running autom4te --language Autoconf-without-aclocal-m4 --trace='AC_DEFUN

f

n

1' --trace='AC_DEFUN_ONCE

f:$n:$1' --trace='AU_DEFUN:$f:$n:$1' --trace='AM_INIT_AUTOMAKE:$f:$n:$1' configure.ac
# w! c3 r. Y' S9 u7 O: l3 V! l
到此结束, 请告诉我该如何处理
. O1 m j0 o# @, f, rautoconf -2.59 automake -1.9.4 Redhat 9