Click to See Complete Forum and Search --> : gcc install


Gertrude
10-20-2002, 03:36 PM
help please

gcc-3.2]# ./configure
Configuring for a i686-pc-linux-gnuoldld host.
Created "Makefile" in /root/gcc-3.2 using "mt-frag"
./configure: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

Choozo
10-20-2002, 04:40 PM
You need to install the Development packages for your distro to be able to compile anything.

Gertrude
10-20-2002, 10:14 PM
um Im using redhat 7.1 ... how would I do that without reinstalling or would it be faster to just reinstall?

Wallex
10-20-2002, 10:54 PM
I think you can just boot into the installation cd's and choose to do an upgrade of the system, then you just go and install any packages you missed. It should be easier than that.. in Suse you use Yast2, and that one has a section called 'software' and there you can go into the package selection screen instantly.

JP83
10-21-2002, 04:25 AM
I think you need gcc package or you can try this
CC=gcc ./configure

Choozo
10-21-2002, 12:04 PM
Go with Wallex' suggestion, and select 'Upgrade'. That should work just fine.