Bug #12525 Updated: PHP cannot be compiled with GCC version 3.0 and Apache version 2 combinatio
| From: | sniper@php.net | Date: | Sat, 18 Aug 2001 16:22:10 +0000 |
| Subject: | Bug #12525 Updated: PHP cannot be compiled with GCC version 3.0 and Apache version 2 combinatio | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-63599@lists.php.net to get a copy of this message | ||
ID: 12525
Updated by: sniper
Reported By: bakhtiar@sofhome.net
Old Status: Open
Status: Closed
Bug Type: Compile Failure
Operating System: Linux v2.4.7 Slackware 7.1
PHP Version: 4.0.6
New Comment:
Should be fixed in CVS. Try the latest snapshot: http://snaps.php.net/
--Jani
Previous Comments:
------------------------------------------------------------------------
[2001-08-01 23:28:37] bakhtiar@sofhome.net
PHP compiled succesfully with Apache 1.3.20 using GCC version 3.0 but, have problem with Apache
2.0.18
cd php-4.0.6
./configure --with-apxs2=/ysr/local/apache2/bin/apxs
make
/bin/sh ../libtool --silent --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../main -D_REENTRANT
-DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -I../TSRM -DTHREAD=1 -pthread -c zend_language_scanner_cc.cc
In file included from FlexLexer.h:47,
from zend_language_scanner_cc.cc:240:
/usr/local/include/g++-v3/backward/iostream.h:36: using directive `istream'
introduced ambiguous type `istream'
In file included from zend_language_scanner_cc.cc:2712:
zend_istdiostream.h:8: 'stdiobuf' is used as a type, but is not defined as a
type.
#CUT#CUT#CUT#CUT#CUT#CUT#CUT#CUT#CUT#CUT#CUT#CUT#CUT
Help me to compile this excellent software using excellent C compiler.
yours,
Mohammad Bahathir Hashim
Malaysia
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=12525&edit=1