Configure.ac içinde aşağıdakilere sahibim:
AC_CHECK_PROGS(MAKE,$MAKE make gmake,error)
if test "x$MAKE" = "xerror" ;then
AC_MSG_ERROR([cannot find a make command])
fi
Bu uzun zamandır projemizde yer alıyor, ancak bazı kurulumlarda şu hatayı alıyorum:
configure.ac:45: error: possibly undefined macro: AC_MSG_ERROR
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
Bunun üzerine yeni eklenen satırlar:
AC_CONFIG_MACRO_DIR([m4])
LT_INIT
Bu hataya neyin sebep olduğunu ve sorunun nasıl tespit edileceğini kimse açıklayabilir mi?
DÜZENLEME: Farklılıklar hakkında ayrıntılar ekleniyor .
Çalışan kutu:
uname -a Linux host1 2.6.38-13-generic #53-Ubuntu SMP Mon Nov 28 19:33:45 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
automake: 1.11.1
autoconf: 2.67
m4: 1.4.14
libtoolize: 2.2.6b
Çalışmayan kutu:
Linux host2 2.6.32-35-generic-pae #78-Ubuntu SMP Tue Oct 11 17:01:12 UTC 2011 i686 GNU/Linux
automake: 1.11.1
autoconf: 2.65
m4: 1.4.13
libtoolize: 2.2.6b
YENİ DÜZENLEME: sadece 32 bit makineler bu zorluğu yaşar.
Updated Birlikte bir CentOS makinedeki sorunu yeniden mümkün duyuyorum autoconf 2.67, automake 1.11.1, libtool 2.2.6b, ve m4 1.4.14. Bu sadece 32 bit makinelerde bir hata mı?