Thursday, November 15, 2012

Updating autoconf on OS 10.6.8

These instructions were copied from http://www.mattvsworld.com/blog/2010/02/install-the-latest-autoconf-and-automake-on-mac-os-10-6 and then updated so that the version numbers are much more recent ones.

Make sure that /usr/local/bin is in your $/.profile file in your path variable!

Make the two following sections of commands into 2 scripts.

#!/bin/bash
curl -O http://mirrors.kernel.org/gnu/m4/m4-1.4.16.tar.gz
tar -xzvf m4-1.4.16.tar.gz
cd m4-1.4.16
./configure --prefix=/usr/local
make
sudo make install
cd ..
curl -O http://mirrors.kernel.org/gnu/autoconf/autoconf-2.69.tar.gz
tar -xzvf autoconf-2.69.tar.gz
cd autoconf-2.69
./configure --prefix=/usr/local
make
sudo make install
cd ..


#!/bin/bash
curl -O http://mirrors.kernel.org/gnu/automake/automake-1.12.tar.gz
tar xzvf automake-1.12.tar.gz
cd automake-1.12
./configure --prefix=/usr/local
make
sudo make install
cd ..
curl -O http://mirrors.kernel.org/gnu/libtool/libtool-2.4.tar.gz
tar xzvf libtool-2.4.tar.gz
cd libtool-2.4
./configure --prefix=/usr/local
make
sudo make install

Run the first script, then open a new terminal window, then run the second script.
 You may have to type in your password when it hits the sudo steps.

This should update all of those tools to the newer versions.

1 comment:

  1. thnx. looks like MattVsWorld doesn't live there anymore.

    ReplyDelete