有2个文件,test.c和test.h。执行autoscan生成configure.scan,改名为configure.ac,增加一条AM_INIT_AUTOMAKE(test,0.0.1),保存。执行aclocal,没有生成aclocal.m4,却生成了autom4te.cahce文件加。执行autoconf,没报错。执行automake,抱错。
( ]; W v9 c1 _" z. Z3 Rconfigure.ac:8: no proper implementation of AM_INIT_AUTOMAKE was found,
. d( {- T, y% N- f5 C6 Q1 O
configure.ac:8: probably because aclocal.m4 is missing...
0 o1 _& l5 c) V) b
configure.ac:8: You should run aclocal to create this file, then
! \& d% |4 L: u, k$ B# Y2 l
configure.ac:8: run automake again.
' M7 \% z ^% [+ R- l; |
重新执行aclocal,在执行automake,还是没用
/ }( \) t+ b5 Z/ ~& Y* X+ R# P值得注意的是aclocal输出内容
4 y& ^. D( r, t2 W @aclocal: saw macro AM_INIT_AUTOMAKE
1 j% A2 t: m9 S6 b) g: ~+ Q
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
]3 s7 R0 K7 i. j
到此结束, 请告诉我该如何处理
' Z5 z/ d; Q% p. O0 L5 q
autoconf -2.59 automake -1.9.4 Redhat 9