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" <email@example.com> wrote:
>> >> I installed gcc 4.3 using Synaptic, and the process seemed to
>> >> succeeded. However, when I enter the gcc -v command, I get a
>> >> 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'
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
||/ Name Version
un gcc <none>
(no description available)
> ls /usr/bin/gcc*
I probably missed a step somewhere.