#19833 [Com]: parse error
| From: | scherf at holyhome dot de | Date: | Wed, 09 Oct 2002 19:58:15 +0000 |
| Subject: | #19833 [Com]: parse error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-21980@lists.php.net to get a copy of this message | ||
ID: 19833
Comment by: scherf@holyhome.de
Reported By: scherf@holyhome.de
Status: Feedback
Bug Type: Compile Failure
Operating System: SuSE Linux 7.1
PHP Version: 4.2.3
New Comment:
all the same with SuSE 8.0
Previous Comments:
------------------------------------------------------------------------
[2002-10-09 11:48:12] scherf@holyhome.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 10:19:32] 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 10:18:38] scherf@holyhome.de
wrote a better summary
------------------------------------------------------------------------
[2002-10-09 10:05:54] scherf@holyhome.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?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19833&edit=1