[ACCEPTED]-$PHP_AUTOCONF errors on mac os x 10.7.3 when trying to install pecl extensions-pecl

Accepted answer
Score: 317
brew install autoconf

Much easier solution

0

Score: 93

You need to install autoconfig. I usually 3 like to install libraries from source. So 2 you can do the following:

curl -OL http://ftpmirror.gnu.org/autoconf/autoconf-latest.tar.gz
tar xzf autoconf-latest.tar.gz
cd autoconf-*
./configure --prefix=/usr/local
make
sudo make install

I just went through 1 this with Mountain Lion.

Score: 55

On Mac OS X 10.8 situation is slightly different. Highly 6 voted solution from Bob Spryn doesn't work, because 5 it doesn't create symlinks, so after installing 4 autoconf you should make them:

sudo ln -s /usr/local/Cellar/autoconf/2.69/bin/autoconf /usr/bin/autoconf
sudo ln -s /usr/local/Cellar/autoconf/2.69/bin/autoheader /usr/bin/autoheader

I know that this question 3 was for 10.7, but I hope my answer is useful 2 for someone on 10.8. :)

Updated: Also works 1 on 10.10 Yosemite.

Score: 15

or

sudo port install autoconf

if you use macports

0

Score: 4

XCODE 4.3 doesn't put all the autoconf etc. tools 5 in the Developer folder. It doesn't even 4 create that folder in MACINTOSH HD. I had 3 to downgrade to XCODE 4.2.1 which installs 2 everything you need in the Developer folder 1 and now I see no errors.

Also here is a useful reference.

Score: 0

maybe you need link autoconf with brew link autoconf.

0

More Related questions