I am trying to install the PHP OAuth extension in Snow Leopard, I'm using the bundled Apache Web server and PHP 5.3.2 by Apple, which is working just fine.
When I type in Terminal:
sudo pecl install oauth
oauth-1.0.0.tgz downloads fine, but then I get this error:
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
downloading oauth-1.0.0.tgz ...
Starting to download oauth-1.0.0.tgz (42,834 bytes)
............done: 42,834 bytes
6 source files, building
running: phpize
grep: /usr/include/php/main/php.h: No such file or directory
grep: /usr/include/php/Zend/zend_modules.h: No such file or directory
grep: /usr/include/php/Zend/zend_extensions.h: No such file or directory
Configuring for:
PHP Api Version:
Zend Module Api No:
Zend Extension Api No:
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.
ERROR: `phpize' failed
I really have no idea this means or how to fix it, please help!