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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 09:01:30 2024 UTC