Error installing php extension OAuth via pecl

Posted by PJ on Server Fault See other posts from Server Fault or by PJ
Published on 2010-06-15T17:46:22Z Indexed on 2010/06/15 17:53 UTC
Read the original article Hit count: 610

Filed under:
|
|

I'm trying to install the php extension OAuth in my local environment. php.net suggests it's super easy. You just run pecl install oauth. I tried this, and here is the output in terminal:

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

Any tips on how to fix the errors and install OAuth succesfully? I'm on Mac OS X 10.6.3

Thanks!

© Server Fault or respective owner

Error installing php extension OAuth via pecl

Posted by hookedonwinter on Stack Overflow See other posts from Stack Overflow or by hookedonwinter
Published on 2010-06-15T17:29:26Z Indexed on 2010/06/15 17:32 UTC
Read the original article Hit count: 610

Filed under:
|
|

I'm trying to install the php extension OAuth in my local environment. php.net suggests it's super easy. You just run pecl install oauth. I tried this, and here is the output in terminal:

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

Any tips on how to fix the errors and install OAuth succesfully? Thanks!

© Stack Overflow or respective owner

Related posts about php

Related posts about pecl