From:
Operating system: OpenBSD 5.0
PHP version: 5.4.0
Package: Compile Failure
Bug Type: Bug
Bug description:PHP 5.4.0 fails to build on OpenBSD 5.0; possibly related to --enable-mbstring
Description:
------------
When supplying "--enable-mbstring" to configure:
/bin/sh /usr/opt/php-5.4.0/libtool --silent --preserve-dup-deps
--mode=compile
cc -DNOT_RUBY -DONIG_ESCAPE_UCHAR_COLLISION=1 -DUChar=OnigUChar
-DHAVE_CONFIG_H
-Iext/mbstring/ -I/usr/opt/php-5.4.0/ext/mbstring/ -DPHP_ATOM_INC -
I/usr/opt/php-5.4.0/include -I/usr/opt/php-5.4.0/main -I/usr/opt/php-5.4.0
-
I/lib" -I/usr/opt/php-5.4.0/ext/date/lib
-I/usr/opt/php-5.4.0/ext/ereg/regex -
I/usr/local/include -I/usr/opt/php-5.4.0/ext/mbstring/oniguruma
-I/oniguruma" -
I/usr/opt/php-5.4.0/ext/mbstring/libmbfl -I/libmbfl" -I/usr/opt/php-
5.4.0/ext/mbstring/libmbfl/mbfl -I/mbfl" -I/usr/opt/php-
5.4.0/ext/sqlite3/libsqlite -I/usr/opt/php-5.4.0/TSRM
-I/usr/opt/php-5.4.0/Zend
-I/usr/local/include -g -O2 -fvisibility=hidden -c /usr/opt/php-
5.4.0/ext/mbstring/oniguruma/regparse.c -o
ext/mbstring/oniguruma/regparse.lo
/usr/opt/php-5.4.0/ext/mbstring/oniguruma/regparse.c: In function
'onig_parse_make_tree':
/usr/opt/php-5.4.0/ext/mbstring/oniguruma/regparse.c:5279: warning: passing
argument 3 of 'parse_regexp' discards qualifiers from pointer target type
/bin/sh /usr/opt/php-5.4.0/libtool --silent --preserve-dup-deps
--mode=compile
cc -DNOT_RUBY -DONIG_ESCAPE_UCHAR_COLLISION=1 -DUChar=OnigUChar
-DHAVE_CONFIG_H
-Iext/mbstring/ -I/usr/opt/php-5.4.0/ext/mbstring/ -DPHP_ATOM_INC -
I/usr/opt/php-5.4.0/include -I/usr/opt/php-5.4.0/main -I/usr/opt/php-5.4.0
-
I/lib" -I/usr/opt/php-5.4.0/ext/date/lib
-I/usr/opt/php-5.4.0/ext/ereg/regex -
I/usr/local/include -I/usr/opt/php-5.4.0/ext/mbstring/oniguruma
-I/oniguruma" -
I/usr/opt/php-5.4.0/ext/mbstring/libmbfl -I/libmbfl" -I/usr/opt/php-
5.4.0/ext/mbstring/libmbfl/mbfl -I/mbfl" -I/usr/opt/php-
5.4.0/ext/sqlite3/libsqlite -I/usr/opt/php-5.4.0/TSRM
-I/usr/opt/php-5.4.0/Zend
-I/usr/local/include -g -O2 -fvisibility=hidden -c /usr/opt/php-
5.4.0/ext/mbstring/oniguruma/enc/unicode.c -o
ext/mbstring/oniguruma/enc/unicode.lo
/usr/opt/php-5.4.0/ext/mbstring/oniguruma/enc/unicode.c:30:20: error:
regenc.h:
No such file or directory
/usr/opt/php-5.4.0/ext/mbstring/oniguruma/enc/unicode.c:68: error: expected
'=',
',', ';', 'asm' or '__attribute__' before
'CRAlnum'
/usr/opt/php-5.4.0/ext/mbstring/oniguruma/enc/unicode.c:493: error:
expected
'=', ',', ';', 'asm' or '__attribute__' before
'CRAlpha'
/usr/opt/php-5.4.0/ext/mbstring/oniguruma/enc/unicode.c:900: error:
expected
'=', ',', ';', 'asm' or '__attribute__' before
'CRBlank'
/usr/opt/php-5.4.0/ext/mbstring/oniguruma/enc/unicode.c:920: error:
expected
'=', ',', ';', 'asm' or '__attribute__' before
'CRCntrl'
/usr/opt/php-5.4.0/ext/mbstring/oniguruma/enc/unicode.c:950: error:
expected
'=', ',', ';', 'asm' or '__attribute__' before
'CRDigit'
/usr/opt/php-5.4.0/ext/mbstring/oniguruma/enc/unicode.c:984: error:
expected
'=', ',', ';', 'asm' or '__attribute__' before
'CRGraph'
/usr/opt/php-5.4.0/ext/mbstring/oniguruma/enc/unicode.c:1400: error:
expected
'=', ',', ';', 'asm' or '__attribute__' before
'CRLower'
/usr/opt/php-5.4.0/ext/mbstring/oniguruma/enc/unicode.c:1835: error:
expected
'=', ',', ';', 'asm' or '__attribute__' before
'CRPrint'
/usr/opt/php-5.4.0/ext/mbstring/oniguruma/enc/unicode.c:2251: error:
expected
'=', ',', ';', 'asm' or '__attribute__' before
'CRPunct'
/usr/opt/php-5.4.0/ext/mbstring/oniguruma/enc/unicode.c:2348: error:
expected
'=', ',', ';', 'asm' or '__attribute__' before
'CRSpace'
/usr/opt/php-5.4.0/ext/mbstring/oniguruma/enc/unicode.c:2370: error:
expected
'=', ',', ';', 'asm' or '__attribute__' before
'CRUpper'
/usr/opt/php-5.4.0/ext/mbstring/oniguruma/enc/unicode.c:2802: error:
expected
'=', ',', ';', 'asm' or '__attribute__' before
'CRXDigit'
/usr/opt/php-5.4.0/ext/mbstring/oniguruma/enc/unicode.c:2813: error:
expected
'=', ',', ';', 'asm' or '__attribute__' before
'CRASCII'
/usr/opt/php-5.4.0/ext/mbstring/oniguruma/enc/unicode.c:2822: error:
expected
'=', ',', ';', 'asm' or '__attribute__' before
'CRWord'
/usr/opt/php-5.4.0/ext/mbstring/oniguruma/enc/unicode.c:3272: error:
expected
')' before 'code'
/usr/opt/php-5.4.0/ext/mbstring/oniguruma/enc/unicode.c:3343: error:
expected
';', ',' or ')' before '*' token
*** Error code 1
Stop in /usr/opt/php-5.4.0 (line 652 of Makefile).
Without "--enable-mbstring":
/bin/sh /usr/opt/php-5.4.0/libtool --silent --preserve-dup-deps
--mode=compile
cc -Iext/date/lib -Iext/date/ -I/usr/opt/php-5.4.0/ext/date/ -DPHP_ATOM_INC
-
I/usr/opt/php-5.4.0/include -I/usr/opt/php-5.4.0/main -I/usr/opt/php-5.4.0
-
I/lib" -I/usr/opt/php-5.4.0/ext/date/lib
-I/usr/opt/php-5.4.0/ext/ereg/regex -
I/usr/local/include -I/usr/opt/php-5.4.0/ext/sqlite3/libsqlite
-I/usr/opt/php-
5.4.0/TSRM -I/usr/opt/php-5.4.0/Zend -I/usr/local/include -g -O2 -
fvisibility=hidden -c /usr/opt/php-5.4.0/ext/date/php_date.c -o
ext/date/php_date.lo
*** Error code 1
/bin/sh: no closing quote
Stop in /usr/opt/php-5.4.0 (line 471 of Makefile).
Expected result:
----------------
-
Actual result:
--------------
-
--
Edit bug report at https://bugs.php.net/bug.php?id=61234&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=61234&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=61234&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=61234&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=61234&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=61234&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=61234&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=61234&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=61234&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=61234&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=61234&r=support
Expected behavior: https://bugs.php.net/fix.php?id=61234&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=61234&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=61234&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=61234&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=61234&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=61234&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=61234&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=61234&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=61234&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=61234&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=61234&r=mysqlcfg