2010-10-29 22 views
0

J'ai une erreur en essayant d'exécuter aclocal bien que j'ai le Autoconf v 2.67 installéavec aclocal

configure.ac:6: error: Autoconf version 2.62 or higher is required
/usr/share/aclocal-1.11/init.m4:26: AM_INIT_AUTOMAKE is expanded from...
configure.ac:6: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
aclocal: autom4te failed with exit status: 63

et voici le fichier configure.ac

AC_PREREQ(2.59) 
AC_INIT(Header, 1.0, [email protected]) 
AM_INIT_AUTOMAKE 
AC_CONFIG_SRCDIR([Header.h]) 
AC_CONFIG_FILES([Makefile]) 

Répondre

1

probablement un problème avec votre CHEMIN. Ou, essayez de définir l'environnement autom4te variable à la autom4te correcte lorsque vous exécutez aclocal:

 
env AUTOM4TE=/path/to/autom4te-2.67 aclocal 

Cependant, il est typique de ne pas invoquer aclocal directement à tous; Exécutez autoreconf à la place.