Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install Autoconf and Automake on OS X El Capitan
#!/bin/sh
##
# Install autoconf, automake and libtool smoothly on Mac OS X.
# Newer versions of these libraries are available and may work better on OS X
#
# This script is originally from http://jsdelfino.blogspot.com.au/2012/08/autoconf-and-automake-on-mac-os-x.html
#
export build=~/devtools # or wherever you'd like to build
mkdir -p $build
##
# Autoconf
# http://ftpmirror.gnu.org/autoconf
cd $build
curl -OL http://ftpmirror.gnu.org/autoconf/autoconf-2.69.tar.gz
tar xzf autoconf-2.69.tar.gz
cd autoconf-2.69
./configure --prefix=/usr/local
make
sudo make install
export PATH=$PATH:/usr/local/bin
##
# Automake
# http://ftpmirror.gnu.org/automake
cd $build
curl -OL http://ftpmirror.gnu.org/automake/automake-1.15.tar.gz
tar xzf automake-1.15.tar.gz
cd automake-1.15
./configure --prefix=/usr/local
make
sudo make install
##
# Libtool
# http://ftpmirror.gnu.org/libtool
cd $build
curl -OL http://ftpmirror.gnu.org/libtool/libtool-2.4.6.tar.gz
tar xzf libtool-2.4.6.tar.gz
cd libtool-2.4.6
./configure --prefix=/usr/local
make
sudo make install
echo "Installation complete."
@AnimaTardeb

This comment has been minimized.

Copy link

commented Dec 14, 2016

Thanks very helpful

@andrekandore

This comment has been minimized.

Copy link

commented Dec 31, 2016

This worked perfectly, much appreciated.

@dennisvanderpool

This comment has been minimized.

Copy link

commented Jan 3, 2017

Thanks! :-)

@vkcreox

This comment has been minimized.

Copy link

commented Jan 9, 2017

Thanks. Working on Sierra too :-)

@jwdomingo

This comment has been minimized.

Copy link

commented Feb 8, 2017

Working in Sierra!

@lguzmanz

This comment has been minimized.

Copy link

commented Feb 24, 2017

Just a few extra comments for those of us that are really new to command line:

  1. Go to your root folder
    $ cd ~

  2. Find the bin folder
    $ ls
    $ cd bin

  3. Create the .sh file (with whatever your favorite text editor is)
    $ nano cltools.sh

  4. Save the file and make it executable
    $ chmod +x cltools.sh

  5. Run the file
    $ sh ./cltools.sh

And it should work! Thank you @justinbellamy this worked perfectly. You saved me a bundle of time!

@rossanoua

This comment has been minimized.

Copy link

commented Jun 19, 2017

Thanks very helpful
gulp-imagemin now compiling successful!

@jessoe

This comment has been minimized.

Copy link

commented Jul 1, 2017

Thank you so much, this worked perfectly!!!!

@MiraiNiki

This comment has been minimized.

Copy link

commented Jul 13, 2017

Thanks very helpful!!

@sarahbeth7389

This comment has been minimized.

Copy link

commented Jul 14, 2017

Thanks! :)

@fdch

This comment has been minimized.

Copy link

commented Jul 15, 2017

Thanks so much, very helpful!!

@RunnableMan

This comment has been minimized.

Copy link

commented Aug 18, 2017

Thanks!

@hanhha

This comment has been minimized.

Copy link

commented Nov 22, 2017

Thanks so much.

@petestanley

This comment has been minimized.

Copy link

commented Jan 25, 2018

Love it!

@carcagi

This comment has been minimized.

Copy link

commented Jan 26, 2018

Thank you, you saved me a lot of time :)

@NSAWATCH

This comment has been minimized.

Copy link

commented Apr 22, 2018

Thanks a lot !! :D :D :D :D :D

@mdforbes500

This comment has been minimized.

Copy link

commented May 16, 2018

This should have a link for autoconf as

curl -OL http://ftp.gnu.org/gnu/autoconf/autoconf-latest.tar.xz

Otherwise tar doesn't recognize the archive format and exits.

@sguotao

This comment has been minimized.

Copy link

commented Feb 2, 2019

thank u,it's very helpful.

@sscarr

This comment has been minimized.

Copy link

commented Mar 2, 2019

SUPER SUPER helpful. THANK YOU!

@shide1989

This comment has been minimized.

Copy link

commented Apr 26, 2019

Thanks ! worked great !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.