wiki:pm-get-autotools

Version 1 (modified by andreasw, 14 years ago) (diff)

first version

Using the Correct Version of the Autotools

We ask that every developer in COIN is using the same version of the autotools. This is necessary in order to ensure that the custom defined COIN additions work. Also, this way we guarantee that each developer generates the same output files, which avoids the mess that would occur if this is not the case.

Since precompiled versions of the tools often differ (since they include changes from the basic GNU release), we ask you to download the original source code for the Autotools from GNU and to install it by hand on your system.

We recommend that you install the self-compiled tools in your $HOME directory, i.e., in $HOME/bin, and other configuration files by $HOME/share. This is done by specifying --prefix=$HOME when you configure your compilation of each tool. Alternatively, you may install them in another directory, (such as /usr/local), but then you will have to set the environment variable AUTOTOOLS_DIR to this directory in your shell's login file (e.g., ~/.bashrc or ~/.cshrc).

The tools that you should install are:

  • autoconf (version 2.59)
  • automake (version 1.9.6)
  • libtool (version 1.5.22)

You need to install them in this order, and you should always specify the same argument to --prefix.

You can get the source code for each package from

Make sure you get the correct version, as indicated in the list above.

After they are installed, you also need to ensure that your $PATH variable is set so that your self-installed versions of the tools are the ones that are actually used.

When you run configure in your local copy with the --enable-maintainer-mode flag (which you should do as developer), it tests, if the above conditions are met, and will fail, if the test turns out negative.