Skip to content

Instantly share code, notes, and snippets.

@ghanbak
Last active December 22, 2015 11:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ghanbak/6465806 to your computer and use it in GitHub Desktop.
Save ghanbak/6465806 to your computer and use it in GitHub Desktop.
Stupid xcode doesn't have autoconf anymore? Can't run phpize cause you updated to 10.8? Here's your simple fix.

Autoconf Install for OSX 10.8

You can run this command from anywhere in terminal.

I ran it from /tmp and / (I've done it twice).

curl http://ftp.gnu.org/gnu/autoconf/autoconf-latest.tar.gz > autoconf.tar.gz | tar -zx
cd autoconf-2.69
./configure
sudo make && sudo make install

This next step puts autoconf where it needs to be

export PHP_AUTOCONF=/usr/local/bin/autoconf

Soure: Installing autoconf and fixing phpize on osx 10.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment