From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9501 invoked by alias); 31 Mar 2008 12:10:18 -0000 Received: (qmail 9482 invoked by uid 22791); 31 Mar 2008 12:10:17 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 31 Mar 2008 12:09:02 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m2VC90bR024102; Mon, 31 Mar 2008 08:09:00 -0400 Received: from zebedee.pink (vpn-14-7.rdu.redhat.com [10.11.14.7]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m2VC8wsp012839; Mon, 31 Mar 2008 08:08:59 -0400 Message-ID: <47F0D45A.1000306@redhat.com> Date: Mon, 31 Mar 2008 12:10:00 -0000 From: Andrew Haley User-Agent: Thunderbird 2.0.0.12 (X11/20080213) MIME-Version: 1.0 To: Vivek Katakam CC: gcc-help@gcc.gnu.org Subject: Re: C++ compiler not installed References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-03/txt/msg00329.txt.bz2 Vivek Katakam wrote: > Hi All, > > I tried to install gcc and it was successful. > But when i tried to compile the following CPP program, I am getting the error > g++ -Wno-deprecated -I/usr/include host/frdaemon/daemon.cpp -o svfrd -lcurl > > g++: host/fr_log/logger.cpp: C++ compiler not installed on this system > .. > .. > > I am having the following versions of gcc and g++ installed on the system. > bash-2.05# g++ --version > g++ (GCC) 4.0.3 > Copyright (C) 2006 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > bash-2.05# gcc --version > gcc (GCC) 4.0.3 > Copyright (C) 2006 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > The Operating system is solaris9 (ultra_Sparc) Tell us exactly how you installed the compiler. Andrew.