RE: [PHP4BETA] Compile problems iostream.h No such file or directory

[email protected] (Scot Needy)
Newsgroups php.version4
Message-ID <[email protected]>

Hi all;
 Still having trouble with this. 
One person recommended the following but 
it is still not working for me. There is no configure cache 
this is from a fresh untar of the source code using...

 GNU Bison version 1.28
 Flex version 2.5.4
 Solaris 2.6
 GCC version 2.7.2.3
 GNU Make version 3.77
 Zeus 3.3.6 /usr/local/zeus

-------------------- recommendation
---------------------------------------------------------
#>
#>zend-scanner-cc.cc is an auto-generated file, the ones packaged
#>with PHP may not be compatible with the OS/compiler that you are
#>using. If you delete the following files, they will be re-built from the
#>original source:
#>
#>configuration-parser.c
#>Zend/zend-scanner-cc.cc
#>Zend/zend-parser.c
#>
#>You will need up-to-date versions of the GNU tools 'bison' and 'flex' in
#>order to create new versions of these files.
----------------------------------------------------------------------------
----------------------------
Still no luck :(

neon> rm configuration-parser.c Zend/zend-scanner-cc.cc Zend/zend-parser.c

neon> ./configure --prefix=/usr/local/php \
       --enable-memory-limit \
       --with-zeus=/usr/local/zeus \
       --with-mysql=/usr/local/mysql \
       --enable-libgcc \

neon> make
make[1]: Entering directory `/infinet/src/php-4.0.0/Zend'
flex -+ -B -i -S./flex.skl -Pzend -ozend-scanner-cc.cc ./zend-scanner.l
bison -y -p zend -v -d ./zend-parser.y -o zend-parser.c
/bin/sh ../libtool --silent --mode=compile c++ -DHAVE_CONFIG_H
-I. -I. -I..   -
D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DXML_BYTE_ORDER=21 -I../TSRM  -g
-O2 -c
 zend-scanner-cc.cc
In file included from zend-scanner-cc.cc:241:
FlexLexer.h:47: iostream.h: No such file or directory
./zend-scanner.l:53: fstream.h: No such file or directory
./zend-scanner.l:63: strstream.h: No such file or directory
make[1]: *** [zend-scanner-cc.lo] Error 1
make[1]: Leaving directory `/infinet/src/php-4.0.0/Zend'
make: *** [all-recursive] Error 1



At 07:17 AM 5/23/00 -0400, Scot wrote:
>
>gcc comes with C++ right.
>I tried several LD options but I can't seem to get it to find 
>/usr/local/include. 
>
>>find  /usr/local/include/ -name iostream.h
>/usr/local/include/g++/iostream.h
>
>-----Original Message-----
>From:	Sascha Schumann [SMTP:[email protected]]
>Sent:	Monday, May 22, 2000 5:41 PM
>To:	Scot Needy
>Cc:	[email protected]
>Subject:	Re: [PHP4BETA] Compile problems iostream.h No such file or directory
>
>> In file included from zend-scanner-cc.cc:241:
>> FlexLexer.h:47: iostream.h: No such file or directory
>
>Sorry, but PHP requires a standardized iostream implementation in threaded
>mode. The C++ compiler shipped with older Sun WorkShops does not have
>that. You can either upgrade to a newer version or use gcc.
>
>- Sascha
>
>
>-- 
>PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
>To unsubscribe, e-mail: [email protected]
>For additional commands, e-mail: [email protected]
>To contact the list administrators, e-mail: [email protected]
>
>
>-- 
>PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
>To unsubscribe, e-mail: [email protected]
>For additional commands, e-mail: [email protected]
>To contact the list administrators, e-mail: [email protected]
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.