Installing Autoconf, Automake & Libtool on Mac OSX Mountain Lion

After the upgrade to XCode 4.3 on Mac OS X Mountain Lion, you might have just realised that XCode no longer includes the GNU Autoconf, Automake and Libtool build tools used by most open source projects to generate makefiles and dynamic libraries.

You could install via MacPorts or Brew, or just get the latest versions directly with the simple commands below.

  16 comments for “Installing Autoconf, Automake & Libtool on Mac OSX Mountain Lion

  1. April 11, 2014 at 1:27 am

    Thanks! It worked

  2. George
    September 19, 2014 at 3:20 pm

    Very helpful post. Thanks man

  3. Samah
    February 27, 2015 at 8:10 am

    Thanks Jatt that worked perfectly for me.

  4. emil
    September 2, 2015 at 5:17 pm

    Thanks, awesome and perfect working 😉

  5. Justin
    September 4, 2015 at 6:11 am

    The last four lines of my install are:

    install: /usr/local/bin/autom4te: No such file or directory
    make[3]: *** [install-binSCRIPTS] Error 71
    make[2]: *** [install-am] Error 2
    make[1]: *** [install-recursive] Error 1
    make: *** [install] Error 2

    And then, the subsequent attempt to install automake fails, because I don’t have autoconf. What am I doing wrong??! I downloaded the files into the /usr/local/ directory, OS 10.10.4

    • Joris
      November 14, 2016 at 1:03 am

      Make sure your path has no spaces

  6. KR
    September 9, 2015 at 2:50 pm

    Thank you so much. This has saved me a lot of confusion 🙂

  7. October 16, 2015 at 2:04 am

    Thanks!

  8. October 22, 2015 at 3:44 pm

    Thanks!!!

  9. Waruna
    January 13, 2016 at 5:53 am

    Thanks!!!

  10. Nishanth
    January 18, 2016 at 5:29 am

    Works like a charm! Thanks!

  11. Kirk mosier
    September 16, 2016 at 7:39 am

    I like the new view
    .

  12. Milton Alvarez
    November 8, 2016 at 8:15 am

    Getting the following error after downoading

    Miltons-MBP:~ milton$ curl -OL http://ftpmirror.gnu.org/autoconf/autoconf/autoconf-296.tar.gz
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 341 100 341 0 0 16311 0 –:–:– –:–:– –:–:– 17050
    100 330 100 330 0 0 2109 0 –:–:– –:–:– –:–:– 2109
    Miltons-MBP:~ milton$ tar -xzf autoconf-296.tar.gz
    tar: Unrecognized archive format
    tar: Error exit delayed from previous errors.
    Miltons-MBP:~ milton$

  13. Milton Alvarez
    November 8, 2016 at 8:19 am

    Same with the libtool file
    Miltons-MBP:~ milton$ curl -OL http://ftpmirror.gnu.org/libtool/libtool-2.42.tar.gz
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 321 100 321 0 0 11774 0 –:–:– –:–:– –:–:– 11888
    100 310 100 310 0 0 1031 0 –:–:– –:–:– –:–:– 1031
    Miltons-MBP:~ milton$ tar -xzf libtool-2.42.tar.gz
    tar: Unrecognized archive format
    tar: Error exit delayed from previous errors.

    The autoconf file worked fine

  14. MAnon
    April 20, 2017 at 8:16 pm

    Still working on Yosemite ! Thank you very much 😀

Leave a Reply

Your email address will not be published. Required fields are marked *