ID: 48593
Updated by: [email protected]
Reported By: dmda at yandex dot ru
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: OpenBSD 4.1
PHP Version: 5.3.0RC3
New Comment:
Nobody seems to have openbsd 4.1 to reproduce this problem. If you can
provide a patch (try RC4 btw), please do it :)
Previous Comments:
------------------------------------------------------------------------
[2009-06-18 15:29:30] dmda at yandex dot ru
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
------------------------------------------------------------------------
[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)
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/48593
--
Edit this bug report at http://bugs.php.net/?id=48593&edit=1