Bug #69883 [Opn->Csd]: Compilation failed on PCRE
| From: | laruence@php.net | Date: | Fri, 19 Jun 2015 12:36:52 +0000 |
| Subject: | Bug #69883 [Opn->Csd]: Compilation failed on PCRE | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-193690@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69883&edit=1
ID: 69883
Updated by: laruence@php.net
Reported by: jbenoit dot jb at gmail dot com
Summary: Compilation failed on PCRE
-Status: Open
+Status: Closed
Type: Bug
Package: PCRE related
Operating System: OS X 10.10
PHP Version: 7.0Git-2015-06-19 (Git)
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=05c24d5dfa4719c4f15948ffd74f5266c60a4d67
Log: Fixed Bug #69883 (Compilation failed on PCRE)
Previous Comments:
------------------------------------------------------------------------
[2015-06-19 12:26:04] jbenoit dot jb at gmail dot com
Title more comprehensive, I hope ...
------------------------------------------------------------------------
[2015-06-19 12:25:24] jbenoit dot jb at gmail dot com
Description:
------------
The compilation of PHP sources stopped on PCRE. With the following error message :
php_pcre.c:1085:78: error: use of undeclared identifier 'use_heap'
(see below for the full message)
I tried with the PCRE installed by default on my computer and another version (PCRE 8.37) I
installed via Homebrew: Same result.
I did not find any solutions on Google, so I think this is a bug.
I open the file php_pcre.c, at line 1085. I did not find out where "use_heap" variable is
declared. But since I am not a C developer, maybe I am wrong.
Test script:
---------------
git clone git@git.php.net:php-src.git
cd php-src
./buildconf
./configure
make
Expected result:
----------------
A compilation without errors.
Actual result:
--------------
php-src/ext/pcre/php_pcre.c:1085:78: error: use of undeclared identifier 'use_heap'
offsets = (int *)do_alloca_ex(size_offsets * sizeof(int), 32 * sizeof(int), use_heap);
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69883&edit=1