#### Linux From Scratch - Version 7.9

### Chapter 6. Installing Basic System Software

- Prev

  Autoconf-2.69

- Next

  Coreutils-8.25

- Up
- Home

# 6.44. Automake-1.15

The Automake package contains programs for generating Makefiles for use with Autoconf.

Approximate build time: less than 0.1 SBU (about 8.3 SBU with tests)
Required disk space: 108 MB

## 6.44.1. Installation of Automake

First fix a warning that is caused by perl-5.22 and later:

    sed -i 's:/\\\${:/\\\$\\{:' bin/automake.in

Prepare Automake for compilation:

    ./configure --prefix=/usr --docdir=/usr/share/doc/automake-1.15

Compile the package:

    make

There are a couple of tests that incorrectly link to the wrong version of the flex library, so we temporarily work around the problem. Also, using the -j4 make option speeds up the tests, even on systems with only one processor, due to internal delays in individual tests. To test the results, issue:

    sed -i "s:./configure:LEXLIB=/usr/lib/libfl.a &:" t/lex-{clean,depend}-cxx.sh
    make -j4 check

Install the package:

    make install

## 6.44.2. Contents of Automake

Installed programs: aclocal, aclocal-1.15 (hard linked with aclocal), automake, and automake-1.15 (hard linked with automake)
Installed directories: /usr/share/aclocal-1.15, /usr/share/automake-1.15, and /usr/share/doc/automake-1.15

### Short Descriptions

aclocal | Generates `aclocal.m4` files based on the contents of `configure.in` files
aclocal-1.15 | A hard link to aclocal
automake | A tool for automatically generating `Makefile.in` files from `Makefile.am` files [To create all the `Makefile.in` files for a package, run this program in the top-level directory. By scanning the `configure.in` file, it automatically finds each appropriate `Makefile.am` file and generates the corresponding `Makefile.in` file.]
automake-1.15 | A hard link to automake

- Prev

  Autoconf-2.69

- Next

  Coreutils-8.25

- Up
- Home