The C++ compiler you want is probably g++, and it's probably not installed
(check with the "find" or "which" command). I don't recall if the gcc/g++
mess was fixed by the time RH 6.0 came out ... it is pretty out of date,
after all ... older versions of g++ simply were not decent C++ compilers,
and the suggestion that gcc would act like a C++ compiler if the file's
extension was .cpp, or something like that, was pure fantasy. 

Check thr RH site, or a mirror like metalab, for updates. The current
version (in Debian) is 2.95.2-13, and it works pretty well.

At 10:03 PM 8/5/00 +0000, Richard Spencer wrote:
>Hello gurus:
>
>I just wondered why I cannot install tarballs with ./configure
>make and make install; I get error messages as follows:
><snip>
>checking for gcc... gcc
>checking whether the C compiler (gcc  ) works... yes
>checking whether the C compiler (gcc  ) is a cross-compiler... no
>checking whether we are using GNU C... yes
>checking whether gcc accepts -g... yes
>checking for c++... no
>checking for g++... no
>checking for gcc... gcc
>checking whether the C++ compiler (gcc  ) works... no
>configure: error: installation or configuration problem: 
>  C++ compiler cannot create executables.
>
>
>I'm running rh6, mostly gui-free, and totally windoze-free
>rh let me leave something vital out, didn't it?



--
------------------------------------"Never tell me the odds!"---
Ray Olszewski                                        -- Han Solo
Palo Alto, CA                                    [EMAIL PROTECTED]        
----------------------------------------------------------------


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to