|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-06-07 06:15 UTC] datibbaw@php.net
[2010-06-07 06:41 UTC] evert at rooftopsolutions dot nl
[2010-06-07 11:39 UTC] datibbaw@php.net
[2010-06-10 09:20 UTC] datibbaw@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 20:00:01 2025 UTC |
Description: ------------ Build fails on OS/X. This is with a stock PHP installation (5.3.1) and gcc-4.2.1 Reproduce code: --------------- pecl download OAuth tar xfvz OAuth-1.0.0.tgz cd OAuth-1.0.0 phpize ./configure make Expected result: ---------------- A compiled OAuth extension Actual result: -------------- $ make /bin/sh /Users/evert2/code/sabredav/main/pecl/oauth-1.0.0/libtool --mode=compile cc -I. -I/Users/evert2/code/sabredav/main/pecl/oauth-1.0.0 -DPHP_ATOM_INC -I/Users/evert2/code/sabredav/main/pecl/oauth-1.0.0/include -I/Users/evert2/code/sabredav/main/pecl/oauth-1.0.0/main -I/Users/evert2/code/sabredav/main/pecl/oauth-1.0.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -Wall -g -c /Users/evert2/code/sabredav/main/pecl/oauth-1.0.0/oauth.c -o oauth.lo mkdir .libs cc -I. -I/Users/evert2/code/sabredav/main/pecl/oauth-1.0.0 -DPHP_ATOM_INC -I/Users/evert2/code/sabredav/main/pecl/oauth-1.0.0/include -I/Users/evert2/code/sabredav/main/pecl/oauth-1.0.0/main -I/Users/evert2/code/sabredav/main/pecl/oauth-1.0.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -Wall -g -c /Users/evert2/code/sabredav/main/pecl/oauth-1.0.0/oauth.c -fno-common -DPIC -o .libs/oauth.o In file included from /Users/evert2/code/sabredav/main/pecl/oauth-1.0.0/php_oauth.h:47, from /Users/evert2/code/sabredav/main/pecl/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/evert2/code/sabredav/main/pecl/oauth-1.0.0/php_oauth.h:47, from /Users/evert2/code/sabredav/main/pecl/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