ID: 38778 Updated by: [EMAIL PROTECTED] Reported By: jari at personal dot fi -Status: Open +Status: Bogus Bug Type: mbstring related Operating System: Fedora Core 5 PHP Version: 5.1.6 New Comment:
Duplicate of #38452. Previous Comments: ------------------------------------------------------------------------ [2006-09-11 08:43:20] jari at personal dot fi Description: ------------ Hi to everyone, I have annoying error when compiling PHP (Fedora 5 [i386]). I try compile with this: ./configure --with-zlib-dir=/usr/local/ --enable-shared --enable-static --enable-memory-limit --enable-magic-quotes --disable-short-tags --with-apxs2=/usr/local/apache2/bin/apxs --with-bz2 --without-sqlite --with-mysql=/usr/local/mysql --enable-exif --with-mm --enable-calendar --with-gd=/usr/local/ --with-freetype-dir=/usr/local/include/freetype2/ --with-png-dir=/usr/local/include/ --with-jpeg --enable-gd-native-ttf --enable-mbstring ...and got result like this: In file included from /usr/src/php-5.1.6/ext/mbstring/oniguruma/regerror.c:37: /usr/lib/gcc/i386-redhat-linux/4.0.2/include/varargs.h:4:2: error: #error "GCC no longer implements <varargs.h>." /usr/lib/gcc/i386-redhat-linux/4.0.2/include/varargs.h:5:2: error: #error "Revise your code to use <stdarg.h>." /usr/src/php-5.1.6/ext/mbstring/oniguruma/regerror.c: In function 'onig_error_code_to_str': /usr/src/php-5.1.6/ext/mbstring/oniguruma/regerror.c:194: error: syntax error before 'va_dcl' /usr/src/php-5.1.6/ext/mbstring/oniguruma/regerror.c:200: error: syntax error before 'va_list' /usr/src/php-5.1.6/ext/mbstring/oniguruma/regerror.c:269: error: syntax error before 'va_dcl' /usr/src/php-5.1.6/ext/mbstring/oniguruma/regerror.c:273: error: redefinition of parameter 's' /usr/src/php-5.1.6/ext/mbstring/oniguruma/regerror.c:192: error: previous definition of 's' was here /usr/src/php-5.1.6/ext/mbstring/oniguruma/regerror.c:275: error: syntax error before 'va_list' make: *** [ext/mbstring/oniguruma/regerror.lo] Error 1 I have compiled PHP with result ok WITHOUT --enable-calendar option previously. I have installed only Zend Optimizer 3.0.1 afted PHP and next when I try to recompile with calendar, it fails... Seems that other fellows have this kind of problems too so what's wrong? --WIZ-- Reproduce code: --------------- See previous Expected result: ---------------- Compile OK Actual result: -------------- Make failure... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38778&edit=1
