[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Install gcc



[Please reply only to the list and don't cc. me, as per the list CoC.]

On Fri, 28 Aug 2009 07:49:08 -0500 (CDT)
"David Young" <inform@io.com> wrote:

> On Thu, August 27, 2009 7:48 pm, Celejar wrote:
> > On Thu, 27 Aug 2009 19:18:28 -0500 (CDT)
> > "David Young" <inform@io.com> wrote:
> >
> >> I installed gcc 4.3 using Synaptic, and the process seemed to have
> >> succeeded.  However, when I enter the gcc -v command, I get a "bash:
> >> gcc: command not found error".
> >
> > Exactly what package(s) did you install?
> 
> Here's the Synaptic log entry --
> Installed the following packages:
> binutils (2.18.1~cvs20080103-7)
> gcc-4.3 (4.3.2-1.1)
> libc6-dev (2.7-18)
> libgomp1 (4.3.2-1.1)
> linux-libc-dev (2.6.26-17)
> 
> >> Is there additional configuration to be done beyond the package
> >> install?
> >
> > Shouldn't be.  What's the output of 'whereis gcc' or 'which gcc'?
> 
> 'which gcc' doesn't return anything.
> 'whereis gcc' returns '/usr/lib/gcc /usr/local/gcc'

You don't seem to have a gcc executable installed, which doesn't make
any sense if gcc-4.3 is indeed installed.  What's the output of:

dpkg -l 'gcc'

and

ls /usr/bin/gcc*

Celejar
-- 
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


Reply to: