Using a local copy of automake/autoconf

The current requirement for automake is version 1.11.2, but this version is not yet routinely available for RedHat Enterprise 6.2. I detail here instructions to install a current version of automake/autoconf in your own home directory without needing administrator involvment.

Getting the software

The version numbers may change with time.

Creating local directory

If necessary,

cd ~
mkdir usr
mkdir usr/local

Configuring the software

In the download directory,

tar xzf autoconf-2.69.tar.gz
tar xzf automake-1.12.5.tar.gz 
cd autoconf-2.69
./configure --prefix=/home/<username>/usr/local
make
make install
cd ../automake-1.12.5
./configure --prefix=/home/<username>/usr/local
make
make install

You need to replace <username> by your user name.

Running Dynare configuration and compilation

export PATH=/home/<username>/usr/local/bin:$PATH

autoreconf -si

make

export PATH=/home/<username>/usr/local/bin:$PATH

Cleaning up

In the download directory,

rm autoconf-2.69.tar.gz
rm automake-1.12.5.tar.gz 
rm -r autoconf-2.69
rm -r automake-1.12.5

DynareWiki: AutoMake (last edited 2012-11-19 11:54:09 by MichelJuillard)