From: [EMAIL PROTECTED] Operating system: Linux (RedHat 7.2) PHP version: 4.1.2 PHP Bug Type: Compile Failure Bug description: Unable to compile the fribidi extension
When trying to compile PHP with --with-fribidi: [sagi@domino php-4.2.0RC1]$ make Making all in Zend make[1]: Entering directory `/usr/local/src/php-4.2.0RC1/Zend' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/local/src/php-4.2.0RC1/Zend' Making all in main make[1]: Entering directory `/usr/local/src/php-4.2.0RC1/main' make[2]: Entering directory `/usr/local/src/php-4.2.0RC1/main' gcc -I. -I/usr/local/src/php-4.2.0RC1/main -I/usr/local/src/php-4.2.0RC1/main -I/usr/local/src/php-4.2.0RC1 -I/usr/local/src/php-4.2.0RC1/Zend -I/usr/local/include/fribidi/ -I/usr/lib/glib/include/ -I/usr/include/freetype2/freetype -I/usr/include/mysql -I/usr/include/pspell -I/usr/local/src/php-4.2.0RC1/ext/xml/expat -I/usr/local/src/php-4.2.0RC1/TSRM -g -O2 -c internal_functions.c && touch internal_functions.lo In file included from internal_functions.c:36: /usr/local/src/php-4.2.0RC1/ext/fribidi/php_fribidi.h:32: parse error before `guint16' /usr/local/src/php-4.2.0RC1/ext/fribidi/php_fribidi.h:32: warning: no semicolon at end of struct or union /usr/local/src/php-4.2.0RC1/ext/fribidi/php_fribidi.h:33: warning: data definition has no type or storage class /usr/local/src/php-4.2.0RC1/ext/fribidi/php_fribidi.h:34: parse error before `*' /usr/local/src/php-4.2.0RC1/ext/fribidi/php_fribidi.h:34: warning: data definition has no type or storage class /usr/local/src/php-4.2.0RC1/ext/fribidi/php_fribidi.h:35: parse error before `*' /usr/local/src/php-4.2.0RC1/ext/fribidi/php_fribidi.h:35: warning: data definition has no type or storage class /usr/local/src/php-4.2.0RC1/ext/fribidi/php_fribidi.h:36: parse error before `}' /usr/local/src/php-4.2.0RC1/ext/fribidi/php_fribidi.h:36: warning: data definition has no type or storage class make[2]: *** [internal_functions.lo] Error 1 make[2]: Leaving directory `/usr/local/src/php-4.2.0RC1/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/php-4.2.0RC1/main' make: *** [all-recursive] Error 1 [sagi@domino php-4.2.0RC1]$ Same thing happens with PHP4.1.2. FriBidi version: 0.10.1 GLIB version: 1.2.10 Sagi -- Edit bug report at http://bugs.php.net/?id=16414&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16414&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16414&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16414&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16414&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16414&r=support Expected behavior: http://bugs.php.net/fix.php?id=16414&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16414&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16414&r=submittedtwice