Last updated on July 29, 2020 by Dan Nanni
autogen.sh
script. When I run it to create configure
script, however, I am getting the following error:
Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 326. autoreconf: failed to run aclocal: No such file or directoryHow can I fix this problem?
The development release of a program source code often comes with autogen.sh
which is used to prepare a build process, including verifying program functionality and generating configure
script. This autogen.sh
script then relies on autoreconf
to invoke autoconf
, automake
, aclocal
and other related tools.
The missing aclocal
is part of automake
package. Thus, to fix this error, install the following package.
To install automake
on Debian-based system:
$ sudo apt-get install automake
To install automake
on Red-Hat-based system:
$ sudo yum install automake
This website is made possible by minimal ads and your gracious donation via PayPal (Credit Card) or Bitcoin (1M161JGAkz3oaHNvTiPFjNYkeABox8rb4g
).
Xmodulo © 2020 ‒ About ‒ Powered by DigitalOcean