php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12525 PHP cannot be compiled with GCC version 3.0 and Apache version 2 combinatio
Submitted: 2001-08-01 23:28 UTC Modified: 2001-08-18 12:22 UTC
From: bakhtiar at sofhome dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.6 OS: Linux v2.4.7 Slackware 7.1
Private report: No CVE-ID: None
 [2001-08-01 23:28 UTC] bakhtiar at sofhome dot 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-18 12:22 UTC] sniper@php.net
Should be fixed in CVS. Try the latest snapshot: http://snaps.php.net/

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 16:01:28 2024 UTC