compiler problems (revisited)
Ok, maybe a different approach?
When I try to compile, error msg says "no acceptable cc found in $path". I tried whereis cc , whereis gcc >>I have them. I tried to echo $path...nothin'! any suggestions? |
Try 'export CC=gcc' (or with the right path if you don't have it in PATH.
$path should be empty, $PATH should have many directories listed in. Sorry for so many pathes. :-) |
I'm sorry. Explain to me what this is supposed to do...
|
First check if you can run gcc. Just try 'gcc'. You should get something like: 'gcc: No input files'.
If it works run 'export GCC=gcc' and 'export CC=gcc'. If not run 'whereis gcc' and use the path it gives you: 'export GCC=/usr/bin/gcc' and 'export CC=/usr/bin/gcc' (an example). Try the script again. Many configure scripts use GCC or CC environmental variables as location of the compiler (using the viariables you can also add extra option to nearly every compilation, for example optimization, but that's another story). |
ok, standby.
|
Huh..I don't get it.
whereis gcc, whereis cc both show nothing. Just gcc:, and cc: could it be named something else? I don't have the installation CDs so I can't look there for them. If I can find them in RPMs, would that work? Where could I look besides rpmfind.org, they don't have them. |
That means you don't have them installed...
Look at a mirror, like the one I pointed you to in your other thread ;) Cool |
Yeah, I tried to do that...couldn't make head or tail from it. (Stoopid Windoze User). HAHA
I did find gcc-2.95.2-12mdk.1586.rpm on another site. Is this it? |
Depends on your Mandrake version. 9.0 uses 3.2 or 2.96.
|
I'm 8.2
|
Well then 2.95 is just fine (no?). Really suggest using urpmi to install it though. It's going to alleviate alot of the headache you will get from trying to install 1 package at a time (since you'll meet the dependency queen- gcc).
Cool |
Ok, we'll end this thread since you (and a few others) are helping me on the other one.
For anyone else interested, its "I don't even know what to call this one!" |
All times are GMT -5. The time now is 06:14 PM. |