php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59272 compile error
Submitted: 2010-06-18 17:24 UTC Modified: 2010-06-18 17:59 UTC
From: janybravo at gmail dot com Assigned:
Status: Duplicate Package: oauth (PECL)
PHP Version: 5.3.1 OS: mac osx 10.6.3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: janybravo at gmail dot com
New email:
PHP Version: OS:

 

 [2010-06-18 17:24 UTC] janybravo at gmail dot com
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-06-18 17:58 UTC] janybravo at gmail dot com
Sorry for duplicate solution is already there:

http://pecl.php.net/bugs/bug.php?id=17559&edit=3
 [2010-06-18 17:59 UTC] janybravo at gmail dot com
marking duplicate
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jan 02 12:01:29 2025 UTC