Skip to content

Instantly share code, notes, and snippets.

@gp187
Last active September 2, 2016 10:41
Show Gist options
  • Select an option

  • Save gp187/6f77ec8404104ea7e7efc367fe34f7b8 to your computer and use it in GitHub Desktop.

Select an option

Save gp187/6f77ec8404104ea7e7efc367fe34f7b8 to your computer and use it in GitHub Desktop.
aclocal-1.14 command not found error by compiling automake from source to get latest version
#
# You already have aclocal installed on your system, but it's aclocal-1.14
# Many compiles fail due to that, like OpenSSL, Luajit, etc
# Automake from source will fix that
#
VERSION=1.15
wget ftp://ftp.gnu.org/gnu/automake/automake-${VERSION}.tar.gz &> /dev/null
if [ -f "automake-${VERSION}.tar.gz" ]; then
tar -xzf automake-${VERSION}.tar.gz
cd automake-${VERSION}/
./configure
make && make install
echo -e "\e[1;39m[ \e[1;32mOK\e[39m ] automake-${VERSION} installed\e[0;39m"
else
echo -e "\e[1;39m[ \e[31mError\e[39m ] cannot fetch file from ftp://ftp.gnu.org/gnu/automake/ \e[0;39m"
exit 1
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment