Bug #64867 [NEW]: Php's compilation fails due to PCRE bug
From: alex at phpguide dot co dot il
Operating system: Linux (debian)
PHP version: master-Git-2013-05-17 (Git)
Package: PCRE related
Bug Type: Bug
Bug description:Php's compilation fails due to PCRE bug
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'
--
Edit bug report at https://bugs.php.net/bug.php?id=64867&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=64867&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=64867&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=64867&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=64867&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=64867&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=64867&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=64867&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=64867&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=64867&r=support
Expected behavior: https://bugs.php.net/fix.php?id=64867&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=64867&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=64867&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=64867&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64867&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=64867&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=64867&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=64867&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=64867&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=64867&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=64867&r=mysqlcfg
Thread (2 messages)
- alex at phpguide dot co dot il