|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-06-18 17:58 UTC] janybravo at gmail dot com
[2010-06-18 17:59 UTC] janybravo at gmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 05:00:01 2025 UTC |
Description: ------------ Extension fails to compile on macbook prowith snow leopard (intel 64). I downloaded oauth package untared and ran: older versions of oauth compiles OK. $ sudo phpize $ MACOSX_DEPLOYMENT_TARGET=10.5 CFLAGS=?-arch x86_64 -g -Os -pipe -no-cpp-precomp? CCFLAGS=?-arch x86_64 -g -Os -pipe? CXXFLAGS=?-arch x86_64 -g -Os -pipe? LDFLAGS=?-arch x86_64 -bind_at_load? ./configure $ make Actual result: -------------- In file included from /Users/janybravo/oauth-1.0.0/php_oauth.h:47, from /Users/janybravo/oauth-1.0.0/oauth.c:14: /usr/include/php/ext/pcre/php_pcre.h:29:18: error: pcre.h: No such file or directory In file included from /Users/janybravo/oauth-1.0.0/php_oauth.h:47, from /Users/janybravo/oauth-1.0.0/oauth.c:14: /usr/include/php/ext/pcre/php_pcre.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/include/php/ext/pcre/php_pcre.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/include/php/ext/pcre/php_pcre.h:44: error: expected specifier-qualifier-list before 'pcre' make: *** [oauth.lo] Error 1