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

Re: Install gcc



On Fri, August 28, 2009 8:16 am, Celejar wrote:
> [Please reply only to the list and don't cc. me, as per the list CoC.]

Sorry.  Rookie mistake.

> On Fri, 28 Aug 2009 07:49:08 -0500 (CDT)
>> 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'

Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name                                 Version                   
Description
+++-====================================-==========================-============================================
un  gcc                                  <none>                    
(no description available)


> and
>
> ls /usr/bin/gcc*

/usr/bin/gcc-4.3


I probably missed a step somewhere.

Thanks again.




> Celejar



Reply to: