Last active
September 2, 2016 10:41
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # 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