From: [EMAIL PROTECTED]
Operating system: SuSE Linux 7.1
PHP version: 4.2.3
PHP Bug Type: Compile Failure
Bug description: Compile-Error with Recode
While compiling with the following configuration:
./configure
--with-pgsql=/usr
--with-config-file-path=/etc/httpd
--with-apxs=/usr/sbin/apxs
--enable-trans-sid
--enable-track-vars
--with-mcrypt=/usr/bin
--with-pdflib
--with-recode
--with-zip=/usr/local
I get some Warnings, then "make" fails:
/usr/local/src/php-4.2.3/ext/mysql/libmysql
-I/usr/local/src/php-4.2.3/ext/xml/expat -DEAPI_MM
-DSINGLE_LISTEN_UNSERIALIZED_ACCEPT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DHARD_SERVER_LIMIT=2048 -DDYNAMIC_MODULE_LIMIT=128
-DLINUX=2 -DMOD_SSL=207101 -DEAPI -DUSE_EXPAT
-I/usr/local/src/php-4.2.3/TSRM -g -O2 -prefer-pic -c
internal_functions.c
In file included from
/usr/local/src/php-4.2.3/ext/recode/php_recode.h:44,
from internal_functions.c:40:
/usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/stdbool.h:14: warning:
`false' redefined
/usr/local/fdftk/include/fdftk.h:50: warning: this is the location of the
previous definition
/usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/stdbool.h:15: warning:
`true' redefined
/usr/local/fdftk/include/fdftk.h:47: warning: this is the location of the
previous definition
In file included from
/usr/local/src/php-4.2.3/ext/recode/php_recode.h:44,
from internal_functions.c:40:
/usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/stdbool.h:9: parse error
before `0'
make[2]: *** [internal_functions.lo] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.2.3/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.2.3/main'
make: *** [all-recursive] Error 1
Any Suggestions?
--
Edit bug report at http://bugs.php.net/?id=19833&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19833&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19833&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19833&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19833&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19833&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19833&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19833&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19833&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19833&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19833&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19833&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=19833&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=19833&r=isapi