environment variable - how do I change?
Hey guys,
while trying to install a .tar file, and using the command "./configure -prefix=/usr" this message came up, and I wasn't sure how to do what it says : *** The command 'cc -o conftest -g conftest.c' failed. *** You must set the environment variable CC to a working compiler. How do I set the enviorment? |
Please someone help, I really need to know !
|
do you have gcc installed?
|
to check type
rpm -q gcc |
export CC="/path/to/your/c/compiler"
|
How do I do that?
It says I dont have gcc, where can I get it? |
you can get it off the installation CD's
Insert them and load the autorun file. check the "development tools section". Then click update. gcc is a compiler you see so with out it you cant compile your code from source -jax |
Oh ok, thanks for teh info!
|
All times are GMT -5. The time now is 12:34 AM. |