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

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

I do believe it is using G++ already but I checked the configure script and
don't see any test for the --with-CXX=g++ option. 

 Solaris 2.6
 GCC version 2.7.2.3
 GNU Make version 3.77
 Zeus 3.3.6 /usr/local/zeus
>./configure --prefix=/usr/local/php  \
                  --enable-memory-limit  \
                  --with-zeus=/usr/local/zeus  \
                  --with-mysql=/usr/local/mysql  \
                  --enable-libgcc
--------------- from configure
---------------------------------------------------------

checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking how to run the C++ preprocessor... (cached) c++ -E
checking for stdiostream.h... (cached) no
checking for cin in -lC... (cached) no
checking for cin in -lg++... (cached) no
checking for cin in -lstdc++... (cached) no
checking for cin in -lcxx... (cached) no
checking for __array_delete in -lcxxstd... (cached) no
checking for class istdiostream... (cached) no
checking for inline... (cached) inline



At 01:24 PM 5/23/00 +0200, Sascha Schumann wrote:
>On Tue, 23 May 2000, 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
>
>Is c++ the GNU C++ compiler on your system? If not, you need to configure
>with CXX=g++
>
>- Sascha
>
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.