Troubles installing oauth extension

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hello,

I'm having problems installing the oauth extension. I'm trying to install it on a Ubuntu Hardy Heron (8.0.4) box with PHP 5.2.4.

I'm installing it by running "pecl install oauth". It goes through a bunch of checks, then make runs, then finally it errors out with "make: *** [oauth.lo] Error 1". There are some errors and a warning just before it exists out:

In file included from /tmp/pear/cache/oauth-1.0.0/php_oauth.h:47,
                 from /tmp/pear/cache/oauth-1.0.0/oauth.c:14:
/usr/include/php5/ext/pcre/php_pcre.h:29:18: error: pcre.h: No such file or directory
In file included from /tmp/pear/cache/oauth-1.0.0/php_oauth.h:47,
                 from /tmp/pear/cache/oauth-1.0.0/oauth.c:14:
/usr/include/php5/ext/pcre/php_pcre.h:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/php5/ext/pcre/php_pcre.h:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/php5/ext/pcre/php_pcre.h:52: error: expected specifier-qualifier-list before ‘pcre’
/tmp/pear/cache/oauth-1.0.0/oauth.c: In function ‘oauth_http_build_query’:
/tmp/pear/cache/oauth-1.0.0/oauth.c:562: warning: dereferencing type-punned pointer will break strict-aliasing rules

Is the extension itself corrupt?

Any help will be appreciated. Thanks.

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux