Friday, September 20, 2019

GNU Autoconf issues


For the following errors in configure and make:

WARNING: 'aclocal-1.1x' is missing on your system.
WARNING: 'automake-1.1x' is missing on your system.
WARNING: 'autoheader' is probably too old.

We may probably install the required version of the GNU Autoconf tools and run the reconfiguration:

$ autoreconf -fi

before running ./configure again.

If the problem is only caused by the timestamps of the autoconf-generated files that make autoconf think that a re-configuration is necessary, we can fool autoconf by changing the timestamps of those files in the following order:

touch m4/*
touch build-aux/*
touch
Makefile.am
touch confugure.ac
touch aclocal.m4
touch configure
touch Makefile.in
touch config.h.in


Another trick is to assign no-op to the required autoconf commands to allow the build go through without running the actual reconfiguration:

make AUTOCONF=: AUTOHEADER=: AUTOMAKE=: ACLOCAL=:



No comments:

 
Get This <