-
Command not found!!!
Hi,
I have installed Linux Redhat 7.1 in my system and had opted for the installation of C compiler.
After the installation, when I login as a user/root, I a not able to complier a c program, "command not found" error is occuring.
Initially when Ihad loaded yahoo mesenger, I had to locate the exe of it at /usr/bin/ymessenger so that I could run it.
Does the installation of C complier also need the same thing. I am not able to see the "man" of any of the C inbuilt functions.
Please let me know how to run C programs in my Redhat7.1 OS.
Ashesh
-
Well, I did ry gcc stuff...but it didnt work. I will try to reinstall the package \. Hope that helps me :(
Ashesh
-
Are you doing all of this as root? If s, make a standard user. I have dealt with systems where the root's $PATH and user's $PATH are different, and user's $PATH might have gcc in it. Plus, it's bad karma to use rot for everything.
-
I tried doing that as a user as well as as root.
But neither gcc nor cc seem to be working.
ashesh
-
Hi,
the problem is that, i had posted my problem just before leaving the system.
I tried to install as per the information provided by "vVv". I mounted the cd and when I searched for the packages, there was only "cpp" package and when i tried to install this, it gave the mesg "already installed". I tried to run a program using cpp filename.cpp, which didnot work as it said "stdio.h" and "iostream.h" not found.
Now that I have returned I will download the gcc from the internet and install it.
Thanks,
Ashesh