php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64867 Php's compilation fails due to PCRE bug
Submitted: 2013-05-17 10:37 UTC Modified: 2013-05-17 12:45 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: alex at phpguide dot co dot il Assigned:
Status: Not a bug Package: PCRE related
PHP Version: master-Git-2013-05-17 (Git) OS: Linux (debian)
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: alex at phpguide dot co dot il
New email:
PHP Version: OS:

 

 [2013-05-17 10:37 UTC] alex at phpguide dot co dot il
Description:
------------
/bin/bash /root/php/libtool --silent --preserve-dup-deps --mode=compile cc -
I/root/php/ext/pcre/pcrelib -Iext/pcre/ -I/root/php/ext/pcre/ -DPHP_ATOM_INC -
I/root/php/include -I/root/php/main -I/root/php -I/root/php/ext/date/lib -
I/root/php/ext/ereg/regex -I/usr/include/libxml2 -
I/root/php/ext/mbstring/oniguruma -I/root/php/ext/mbstring/libmbfl -
I/root/php/ext/mbstring/libmbfl/mbfl -I/root/php/ext/sqlite3/libsqlite -
I/root/php/TSRM -I/root/php/Zend    -I/usr/include -g -O2 -fvisibility=hidden  -
c /root/php/ext/pcre/pcrelib/pcre_chartables.c -o 
ext/pcre/pcrelib/pcre_chartables.lo
In file included from /root/php/ext/pcre/pcrelib/pcre_chartables.c:27:
/root/php/ext/pcre/pcrelib/pcre_internal.h:461:2: error: #error LINK_SIZE must 
be either 2, 3, or 4
make: *** [ext/pcre/pcrelib/pcre_chartables.lo] Error 1



----------------

This is the generated config.h : http://pastebin.com/iE5bDiAV
Configure command is: 


'./configure' '--enable-mbstring' '--enable-bcmath' '--with-regex' '--with-
apxs2=/usr/bin/apxs2' '--enable-fpm' '--with-pcre-regex' '--with-mcrypt' '--
disable-posix' '--disable-fileinfo'


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-05-17 12:45 UTC] ab@php.net
You probably need

./buildconf --force 

before configure
 [2013-05-17 12:45 UTC] ab@php.net
-Status: Open +Status: Not a bug
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 09:01:28 2024 UTC