Automake
In software development, GNU Automake is a programming tool to automate parts of the compilation process. It eases usual compilation problems. For example, it points to needed dependencies.
It automatically generates one or more Makefile.in from files called Makefile.am. Each Makefile.am contains, among other things, useful variable definitions for the compiled software, such as compiler and linker flags, dependencies and their versions, etc. The generated Makefile.ins are portable and compliant with the Makefile conventions in the GNU Coding Standards, and may be used by configure scripts to generate a working Makefile.
The Free Software Foundation maintains automake
as one of the GNU programs, and as part of the GNU build system.
Download
GNU Automake can be found on http://ftp.gnu.org/gnu/automake/. Use the
wget
command to download the file. The following is for the
1.15 version:
cd ~/Downloads wget http://ftp.gnu.org/gnu/automake/automake-1.15.tar.gz
This will download the tar
file to your
/home/[user]/Downloads
directory. Verify the download.
ls -la
This should return something like:
total 2196 drwxr-xr-x. 2 root root 33 May 1 22:13 . dr-xr-x---. 17 root root 4096 May 1 16:25 .. -rw-r--r-- 1 root root 2244206 May 1 22:12 automake-1.15.tar.gz
Next, uncompress the file.
tar -zxvf automake-1.15.tar.gz
Move the automake files to the /usr/local/automake
directory.
sudo mv /root/Downloads/automake-1.15 /usr/local/automake ls -la /usr/local/automake
This should return something like:
total 1520 drwxr-xr-x 11 osboxes osboxes 4096 Jan 5 2015 . drwxr-xr-x. 16 root root 4096 May 1 22:42 .. -rw-r--r-- 1 osboxes osboxes 1514 Jan 5 2015 aclocal.m4 -rw-r--r-- 1 osboxes osboxes 553 Dec 30 2014 AUTHORS drwxr-xr-x 2 osboxes osboxes 82 Jan 5 2015 bin -rwxr-xr-x 1 osboxes osboxes 3849 Dec 31 2014 bootstrap.sh -r--r--r-- 1 osboxes osboxes 808180 Jan 5 2015 ChangeLog -rwxr-xr-x 1 osboxes osboxes 232833 Jan 5 2015 configure -rw-r--r-- 1 osboxes osboxes 22831 Dec 31 2014 configure.ac drwxr-xr-x 4 osboxes osboxes 82 Jan 5 2015 contrib -rw-r--r-- 1 osboxes osboxes 17987 Jul 21 2013 COPYING drwxr-xr-x 3 osboxes osboxes 4096 Jan 5 2015 doc -rwxr-xr-x 1 osboxes osboxes 13940 Dec 30 2014 gen-testsuite-part -rw-r--r-- 1 osboxes osboxes 439 Dec 13 2012 .git-log-fix -rw-r--r-- 1 osboxes osboxes 3303 Dec 30 2014 GNUmakefile -rw-r--r-- 1 osboxes osboxes 17850 Dec 30 2014 HACKING -rw-r--r-- 1 osboxes osboxes 15752 Dec 27 2014 INSTALL drwxr-xr-x 4 osboxes osboxes 4096 Jan 5 2015 lib drwxr-xr-x 4 osboxes osboxes 4096 Jan 5 2015 m4 drwxr-xr-x 2 osboxes osboxes 88 Jan 5 2015 maintainer -rw-r--r-- 1 osboxes osboxes 4281 Dec 30 2014 Makefile.am -rw-r--r-- 1 osboxes osboxes 133297 Jan 5 2015 Makefile.in -rw-r--r-- 1 osboxes osboxes 123685 Jan 5 2015 NEWS drwxr-xr-x 2 osboxes osboxes 4096 Jan 5 2015 old drwxr-xr-x 4 osboxes osboxes 106 Jan 5 2015 PLANS -rw-r--r-- 1 osboxes osboxes 2713 Dec 30 2014 README drwxr-xr-x 6 osboxes osboxes 40960 Jan 5 2015 t -rw-r--r-- 1 osboxes osboxes 22938 Jan 5 2015 THANKS
cd /usr/local/automake ./configure --prefix=/usr
checking whether make supports nested variables... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether ln -s works... yes checking for perl... /usr/bin/perl checking for tex... no checking for yacc... no checking for byacc... no checking for bison... no checking for lex... no checking for flex... no checking whether autoconf is installed... yes checking whether autoconf works... yes checking whether autoconf is recent enough... yes checking whether ln works... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F configure: will now look for a sturdy POSIX shell, for our testsuite checking for sh... /usr/bin/sh checking for sh5... no checking for dash... no checking for ash... no checking for bash... /usr/bin/bash checking for zsh... no checking for ksh... no checking for pdksh... no checking whether /usr/bin/sh supports $(cmd)... yes checking whether /usr/bin/sh supports $((expr))... yes checking whether /usr/bin/sh supports ${#var}... yes checking whether /usr/bin/sh supports ${var#glob} and ${var%glob}... yes checking whether /usr/bin/sh preserves exit traps with "set -e"... yes checking whether /usr/bin/sh can define exit traps in a shell function... yes checking whether /usr/bin/sh corrupts stderr with "set -x"... no checking whether /usr/bin/sh can return early from "dot-sourced" files... yes checking whether /usr/bin/sh supports alias named like shell builtins... yes checking whether /usr/bin/sh supports "test -e"... yes configure: shell /usr/bin/sh is good enough, stop looking configure: will use /usr/bin/sh as the testsuite shell configure: will now look for generic compilers checking for cc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether cc understands -c and -o together... yes checking for aCC... no checking for CC... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking for c++... no checking for cxx... no checking for cc++... no checking for gpp... no checking for g++... no checking whether the C++ compiler works... no configure: WARNING: C++ compiler cannot create executables configure: tests requiring the C++ compiler will be skipped checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgfortran... no checking for pgf95... no checking for lf95... no checking for ftn... no checking for nagfor... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for g95... no checking for gfortran... no checking whether the Fortran compiler works... no configure: WARNING: Fortran compiler cannot create executables configure: tests requiring the Fortran compiler will be skipped checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for g77... no checking for gfortran... no checking whether the Fortran 77 compiler works... no configure: WARNING: Fortran 77 compiler cannot create executables configure: tests requiring the Fortran 77 compiler will be skipped configure: will now look for GNU compilers configure: cc is already a GNU C compiler checking for g++... no checking for gpp... no checking for gfortran... no checking for g77... no checking for gfortran... no checking for gcj... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating t/wrap/aclocal-1.15 config.status: creating t/wrap/automake-1.15
make
GEN bin/automake GEN bin/aclocal GEN t/ax/shell-no-trail-bslash GEN t/ax/cc-no-c-o GEN runtest GEN doc/aclocal.1 GEN doc/automake.1 GEN lib/Automake/Config.pm GEN doc/aclocal-1.15.1 GEN doc/automake-1.15.1 help2man: can't get `--help' info from automake-1.15 Try `--no-discard-stderr' if option outputs to stderr make: *** [doc/automake-1.15.1] Error 2