php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19833 parse error
Submitted: 2002-10-09 10:05 UTC Modified: 2002-10-12 09:43 UTC
From: scherf at holyhome dot de Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.2.3 OS: SuSE Linux 7.1/8.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: scherf at holyhome dot de
New email:
PHP Version: OS:

 

 [2002-10-09 10:05 UTC] scherf at holyhome dot de
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?



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-09 10:18 UTC] scherf at holyhome dot de
wrote a better summary
 [2002-10-09 10:19 UTC] derick@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip
 [2002-10-09 11:48 UTC] scherf at holyhome dot de
tried with http://snaps.php.net/php4-latest.tar.gz and the same configuration as shown above.

That's what i get after typing make:

ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam':
/usr/local/src/php4-200210090600/ext/mysql/libmysql/my_tempnam.c:103: the use of `tempnam' is dangerous, better use `mkstemp'
 [2002-10-09 14:58 UTC] scherf at holyhome dot de
all the same with SuSE 8.0
 [2002-10-10 06:01 UTC] scherf at holyhome dot de
sorry, I forgot one configuration-option:
--with-fdftk=/usr/local/fdftk
 [2002-10-12 04:53 UTC] scherf at holyhome dot de
Still not working.

Is there a connection to http://bugs.php.net/bug.php?id=4839?
 [2002-10-12 09:43 UTC] sniper@php.net
The warning about `tempnam' is harmless. If your compiler
treats warninsg as errors, that's too bad, but it's not bug in PHP anyway.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Sep 11 06:01:28 2024 UTC