Error in gcc

Hi:-
I am new for Unix and wants to install gcc compiler on my Linux system. I donwload the file and tried to install it but getting following messaged,
[root@unixweb gcc-3.0.1]# ./configure
Configuring for a i686-pc-linux-gnuoldld host.
Created "Makefile" in /home/gcc-3.0.1 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

What does this mean? Any help

It looks like you are trying to compile a compiler without a compiler.

You should be able to install gcc from your Linux installation media or download a gcc binary RPM for your Linux distro. Install the rpm and then you should be able to compile the latest and greatest gcc on your Linux system.

Thanks for your help.
I got RPM from this site.

but they said that you need gcc compiler for it. How can I use rpm if gcc is not installed.
Any help

What distro of Linux are you using?

Its a Turbo Linux preinstalled by IBM on its xseries 135 Web appliance.

Pls post the uname -a output.
Also check gcc.gnu.org

It is Linux 2.2.14-8 on IBM xSeries Web appliance. This is Intel based system.