GCC install trouble
Ive been trying to install GCC so i can compile some stuff but keep getting an error message.
I'm running Suse 9.1 and am trying to install GCC-3.2.3, I cd to the directory i unpack the files to in Konsole, type "./configure" but it comes up with this message..... Configuring for a i686-pc-linux-gnu host. Created "Makefile" in /gcc-3.2.3 using "mt-frag" ./configure: line 7: cc: command not found *** The command 'cc -o conftest -g conftest.c' failed. *** You must set the environment variable CC to a working compiler. i think it's asking for a compiler to compiler the compiler, but i don't have one, witch is exactly why i'm trying to install gcc!:confused: does anyone know how to get past the error? Cheers Dave |
You can't get past this error. As you've guessed, you need a compiler to compile a compiler. You'd either have to compile it on another machine which already has a compiler, or install gcc from a pre-compiled RPM package. Check out one of the SuSE ftp mirrors for the RPM(s), or install it from the installation CDs using Yast.
|
I already have the gcc rpm's but yast won't install it...
i click the rpm, it goes to the window with the button "Install Package with YaST" then Yast comes up with a blank window, nothing in it. Does the name of the RPM (gcc-3.3.3-41.i586.rpm) mean it's for the i586 arch? coz i'm running i386. Could that be the reason it won't install with YaST? Does anyone konw where i can get a compiler thats easier to install? cheers Dave |
You can try the following command from the command prompt:
rpm -ivh gcc-3.3.3-41.i586.rpm You can download another rpm from one of the following sites: http://ftp.gwdg.de/pub/linux/suse/ft...hl=com&nid=357 http://ftp.leo.org/pub/comp/os/unix/...hl=com&nid=357 http://ftp.suse.com/pub/people/pth/g...hl=com&nid=357 Now try the following command: rpm -ivh gcc-2.95.3-42.i386.rpm Cheers, rkdugar |
Quote:
i386 was intel 12Mhz to 33Mhz was the very 1'st 32 bit processor it had the ability to use all of 4 gb of ram and was made 17 years ago i586 was the first pentium 75Mhz to 200Mhz was made 10 years ago so i bet you can use compiles for i586 |
All times are GMT -5. The time now is 01:22 PM. |