Click to See Complete Forum and Search --> : Mandrake7.2 "gcc:command not found"


siduch
11-22-2000, 06:12 PM
I installed Mandrake7.2, tried to install something (alsa drivers), but when it was time to ./configure, gcc was not found. I tried to just type gcc in the console, and got "bash: gcc: command not found"

There are some RPMs with "gcc" in their name in the cd number 2 (I did recommended install, with both cd's).

gcc-chill-2.95.2-12mdk.i586.rpm
gcc-fr-2.95-4mdk.noarch.rpm
gcc-libgcj-2.95.2-12mdk.i586.rpm

Is any of these the right package to install? And I have a hunch that I've done something wrong, as gcc, I think, is something that is supposed to be among the very first tools to be installed on any linux system.
Should I reinstall, and do something differently, to get all the packages?

-siduch, being sorry for the stupid question

SubPar
11-22-2000, 11:35 PM
You should have gcc-2.95.2-12mdk.rpm somewhere on one of the CDs. That's what you need to install, along with gcc-cpp-2.95.2-12mdk.rpm and maybe gcc-c++-2.95.2-12mdk.rpm.

turdball2k
11-22-2000, 11:51 PM
Originally posted by siduch:
I installed Mandrake7.2, tried to install something (alsa drivers), but when it was time to ./configure, gcc was not found. I tried to just type gcc in the console, and got "bash: gcc: command not found"

There are some RPMs with "gcc" in their name in the cd number 2 (I did recommended install, with both cd's).

gcc-chill-2.95.2-12mdk.i586.rpm
gcc-fr-2.95-4mdk.noarch.rpm
gcc-libgcj-2.95.2-12mdk.i586.rpm

Is any of these the right package to install? And I have a hunch that I've done something wrong, as gcc, I think, is something that is supposed to be among the very first tools to be installed on any linux system.
Should I reinstall, and do something differently, to get all the packages?

-siduch, being sorry for the stupid question

I've had this happen on a couple of different MDK installs. gcc-2.95.2 /is/ installed. Either do a whereis gcc-2.95.2 or type gcc and then tab to get a list of completion options. What I've been doing is ln -s'ing a link to gcc-2.95.2 from /usr/bin. No problems since...

HTH
geo