problem when I run MAKE for gcc-4.8.0

Xiangqian Guo xqguo@stanford.edu
Thu May 9 20:49:00 GMT 2013


Thanks.

I did that as root, but got nothing

[root@sr12-3cc52e351c software]# yum install gcc-c++
Loaded plugins: product-id, refresh-packagekit, subscription-manager
Updating Red Hat repositories.
Setting up Install Process
No package gcc-c++ available.
Error: Nothing to do


Best,
Xiang


----- Original Message -----
From: "Jonathan Wakely" <jwakely.gcc@gmail.com>
To: "Xiangqian Guo" <xqguo@stanford.edu>
Cc: "gcc-help" <gcc-help@gcc.gnu.org>
Sent: Thursday, May 9, 2013 1:03:57 PM
Subject: Re: problem when I run MAKE for gcc-4.8.0

On 9 May 2013 18:49, Xiangqian Guo wrote:
> Hi,
>
> when I installed gcc-4.8.0 in redhat enterprise v6.1 and did "MAKE", I have a problem as below.
>
> Could you please give some suggestion?
>
> Best,
> Xiang
>
>
> configure: error: C++ compiler missing or inoperational
> make[2]: *** [configure-stage1-libcpp] Error 1
> make[2]: Leaving directory `/home/xqguo/software/gcc-4.8.0'
> make[1]: *** [stage1-bubble] Error 2
> make[1]: Leaving directory `/home/xqguo/software/gcc-4.8.0'
> make: *** [all] Error 2

Do you have a C++ compiler installed?

If not then you'll need to run 'yum install gcc-c++' as root.



More information about the Gcc-help mailing list