Tuesday, May 10, 2011

aclocal.m4 Error

Q:
aclocal.m4:14: error: this file was generated for autoconf 2.61.
You have another version of autoconf. If you want to use that,
you should regenerate the build system entirely.
aclocal.m4:14: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
make: *** [configure] Error 1

A:
Running aclocal to create aclocal.m4
[ ]# aclocal
Running autoheader to create config.h.in
[ ]# autoheader
Running automake to create Makefile.in
[ ]# automake
Running autoconf to create configure
[ ]# autoconf

Run ./configure and then make to compile the code
[ ]# ./configure
[ ]# make

No comments: