ID: 48593
User updated by: dmda at yandex dot ru
Reported By: dmda at yandex dot ru
-Status: Feedback
+Status: Open
Bug Type: Compile Failure
Operating System: OpenBSD 4.1
PHP Version: 5.3.0RC3
New Comment:
In short, all the same.
Still hangs compiling:
php5.3-200906181430/ext/fileinfo/libmagic/apprentice.c
Disabling fileinfo php extension led to further error:
/bin/sh /home/jvlad/php/php5.3-200906181430/libtool --silent
--preserve-dup-deps --mode=compile gcc -Iext/phar/
-I/home/jvlad/php/php5.3-200906181430/ext/phar/ -DPHP_ATOM_INC
-I/home/jvlad/php/php5.3-200906181430/include
-I/home/jvlad/php/php5.3-200906181430/main
-I/home/jvlad/php/php5.3-200906181430
-I/home/jvlad/php/php5.3-200906181430/ext/date/lib
-I/home/jvlad/php/php5.3-200906181430/ext/ereg/regex
-I/home/jvlad/php/install/include/libxml2 -I/usr/local/include
-I/home/jvlad/php/php5.3-200906181430/ext/sqlite3/libsqlite
-I/home/jvlad/php/php5.3-200906181430/TSRM
-I/home/jvlad/php/php5.3-200906181430/Zend -I/usr/local/include -g
-O2 -c /home/jvlad/php/php5.3-200906181430/ext/phar/util.c -o
ext/phar/util.lo
In file included from
/home/jvlad/php/php5.3-200906181430/ext/spl/spl_array.h:25,
from
/home/jvlad/php/php5.3-200906181430/ext/phar/phar_internal.h:59,
from
/home/jvlad/php/php5.3-200906181430/ext/phar/util.c:23:
/home/jvlad/php/php5.3-200906181430/ext/spl/php_spl.h:68: error: syntax
error before "intptr_t"
*** Error code 1
Previous Comments:
------------------------------------------------------------------------
[2009-06-18 13:50:06] [email protected]
Please try using this CVS snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
[2009-06-18 08:57:13] dmda at yandex dot ru
replacing intptr_t with zend_intptr_t in all spl's files fixes the
problem.
------------------------------------------------------------------------
[2009-06-18 07:07:48] dmda at yandex dot ru
configure's arguments:
./configure --prefix=/home/jvlad/php/install \
--enable-bcmath \
--enable-calendar \
--enable-wddx \
--with-zlib \
--disable-fileinfo \
--with-libxml-dir=/home/jvlad/php/install
libxml: 2.7.3, compiled from sources
------------------------------------------------------------------------
[2009-06-18 07:05:22] dmda at yandex dot ru
compiler: gcc version 3.3.5 (propolice)
$ uname -a
OpenBSD u.uud.localdomain 4.1 GENERIC#874 amd64
(64bit)
------------------------------------------------------------------------
[2009-06-18 07:03:36] dmda at yandex dot ru
Description:
------------
1st. Compiler hangs in php-5.3.0RC3/ext/fileinfo/libmagic/apprentice.c
2nd. Disabling fileinfo extension leads to next problem:
/bin/sh /home/jvlad/php/php-5.3.0RC3/libtool --silent
--preserve-dup-deps --mode=compile gcc -Iext/phar/
-I/home/jvlad/php/php-5.3.0RC3/ext/phar/ -DPHP_ATOM_INC
-I/home/jvlad/php/php-5.3.0RC3/include
-I/home/jvlad/php/php-5.3.0RC3/main -I/home/jvlad/php/php-5.3.0RC3
-I/home/jvlad/php/php-5.3.0RC3/ext/date/lib
-I/home/jvlad/php/php-5.3.0RC3/ext/ereg/regex
-I/home/jvlad/php/install/include/libxml2 -I/usr/local/include
-I/home/jvlad/php/php-5.3.0RC3/ext/sqlite3/libsqlite
-I/home/jvlad/php/php-5.3.0RC3/TSRM -I/home/jvlad/php/php-5.3.0RC3/Zend
-I/usr/local/include -g -O2 -c
/home/jvlad/php/php-5.3.0RC3/ext/phar/util.c -o ext/phar/util.lo
In file included from
/home/jvlad/php/php-5.3.0RC3/ext/spl/spl_array.h:25,
from
/home/jvlad/php/php-5.3.0RC3/ext/phar/phar_internal.h:59,
from /home/jvlad/php/php-5.3.0RC3/ext/phar/util.c:23:
/home/jvlad/php/php-5.3.0RC3/ext/spl/php_spl.h:68: error: syntax error
before "intptr_t"
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=48593&edit=1