Hello,
I hope I post on the good list, I though that posting that note on php-install list won't be coherent as this is a developpement version.
So, when I tried to make php 5.1.0-dev, the build failled :
gcc -Iext/standard/ -I/usr/src/php/php-5.1-cgi/ext/standard/ -DPHP_ATOM_INC -I/usr/src/php/php-5.1-cgi/include -I/usr/src/php/php-5.1-cgi/main -I/usr/src/php/php-5.1-cgi -I/usr/src/php/php-5.1-cgi/Zend -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/src/php/php-5.1-cgi/ext/mbstring/oniguruma -I/usr/src/php/php-5.1-cgi/ext/mbstring/libmbfl -I/usr/src/php/php-5.1-cgi/ext/mbstring/libmbfl/mbfl -I/usr/local/include/ming -I/usr/local/include/mysql -I/usr/local/include/tidy -I/usr/include/libxml2 -I/usr/src/php/php-5.1-cgi/TSRM -g -O2 -c /usr/src/php/php-5.1-cgi/ext/standard/basic_functions.c -o ext/standard/basic_functions.o && echo > ext/standard/basic_functions.lo
/usr/src/php/php-5.1-cgi/ext/standard/basic_functions.c:1738:1: directives may not be used inside a macro argument
/usr/src/php/php-5.1-cgi/ext/standard/basic_functions.c:1737:20: unterminated argument list invoking macro "RETURN_LONG"
/usr/src/php/php-5.1-cgi/ext/standard/basic_functions.c: In function `zif_sleep':
/usr/src/php/php-5.1-cgi/ext/standard/basic_functions.c:1739: syntax error before "sleep"
*** Error code 1
Stop in /usr/src/php/php-5.1-cgi.
I use FreeBSD 5.1 with gcc 3.2.2. The error cames from the last cvs update by Andrey.
However, when I have tried to build it on my gentoo with gcc 3.3.4, the build was complete, so it seems there is an incompatibility between gcc versions...
Regards
-- Cyprien Nicolas [EMAIL PROTECTED]
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php