Last updated on June 18, 2020 by Dan Nanni
autoconf
to generate a configuration file on CentOS. However, it fails with the following error.
configure.ac:1: error: Autoconf version 2.69 or higher is requiredApparently, the default
autoconf
on CentOS is not meet the requirement. How can I upgrade autoconf
on CentOS?autoconf
is a development tool used to generate automatically a platform-dependent configure
script for compiling and installing software on UNIX/Linux platforms. autoconf
is typically used with automake
and libtool
to minimize the efforts to build and package software for a target architecture.
To upgrade the default autoconf
on CentOS, you can build the latest autoconf
from its source. Here is the instruction on building and installing autoconf
from its source.
$ wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz $ tar xvfvz autoconf-2.69.tar.gz $ cd autoconf-2.69 $ ./configure $ make $ sudo make install
After installation, verify autoconf
version:
$ autoconf --version
This website is made possible by minimal ads and your gracious donation via PayPal or credit card
Please note that this article is published by Xmodulo.com under a Creative Commons Attribution-ShareAlike 3.0 Unported License. If you would like to use the whole or any part of this article, you need to cite this web page at Xmodulo.com as the original source.
Xmodulo © 2021 ‒ About ‒ Write for Us ‒ Feed ‒ Powered by DigitalOcean