Re: Re: 5.3.0 stable release

From: Date: Tue, 23 Jun 2009 16:44:05 +0000
Subject: Re: Re: 5.3.0 stable release
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-44438@lists.php.net to get a copy of this message
Hi 2009/6/23 jvlad <dmda@yandex.ru>: > Now the problem is: > > > /bin/sh > /home/jvlad/php/php5.3-200906221030/libtool --silent --preserve-dup-deps --mode=compile > gcc  -Iext/phar/ -I/home/jvlad/php/php5.3-200906221030/ext/phar/ -DPHP_ATOM_INC >  -I/home/jvlad/php/php5.3-200906221030/include -I/home/jvlad/php/php5.3-200906221030/main >  -I/home/jvlad/php/php5.3-200906221030 -I/home/jvlad/php/php5.3-200906221030/ext/date/lib >  -I/home/jvlad/php/php5.3-200906221030/ext/ereg/regex > -I/home/jvlad/php/install/include/libxml2 >  -I/usr/local/include -I/home/jvlad/php/php5.3-200906221030/ext/sqlite3/libsqlite >  -I/home/jvlad/php/php5.3-200906221030/TSRM -I/home/jvlad/php/php5.3-200906221030/Zend >    -I/usr/local/include -O0  -c > /home/jvlad/php/php5.3-200906221030/ext/phar/util.c -o ext/phar/util.lo > In file included from > /home/jvlad/php/php5.3-200906221030/ext/spl/spl_array.h:25, >                 from > /home/jvlad/php/php5.3-200906221030/ext/phar/phar_internal.h:59, >                 from > /home/jvlad/php/php5.3-200906221030/ext/phar/util.c:23: > /home/jvlad/php/php5.3-200906221030/ext/spl/php_spl.h:68: error: syntax > error before "intptr_t" > *** Error code 1 > > Stop in /home/jvlad/php/php5.3-200906221030 (line 750 of Makefile). > > > As I mentioned in bug#48593 replacing intptr_t with zend_intptr_t fixes the > problem completely. > Or it could be possibly fixed by including <stdint.h>, like "win32/php_stdin.h" is included on Windows thrus no compilation error here. Let me know if the following patch fixes your problem: Index: php_spl.h =================================================================== RCS file: /repository/php-src/ext/spl/php_spl.h,v retrieving revision 1.31 diff -u -r1.31 php_spl.h --- php_spl.h 10 Mar 2009 23:39:38 -0000 1.31 +++ php_spl.h 23 Jun 2009 16:43:13 -0000 @@ -21,7 +21,9 @@ #include "php.h" #if defined(PHP_WIN32) -#include "win32/php_stdint.h" +# include "win32/php_stdint.h" +#else +# include <stdint.h> #endif #include <stdarg.h> -- regrads, Kalle Sommer Nielsen kalle@php.net

« previous php.internals (#44438) next »