Originally posted by D_funkt
Hello, I am attempting to configure gcc. this is the info I receive. I guess I'm wondering how to set the environment variable CC to a working compiler, but the reason I'm trying to get gcc up and running is because I don't have a working compiler (I don't think anyway...) I'm using ubuntu.
root@bonez:/home/dylan/Desktop/xine-lib-1.0.1/gcc-3.4.4 # ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
./configure: line 2339: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
Welcome to LQ.org. That's not possible. You are trying to compile a compiler without a compiler installed. Heard of the "Chicken or Egg first" tale?. Same thing. These are called chain dependencies. It's possible to work around that, but we will do the easy way.
Open Synaptic, go to search and type gcc. You should figure which package to install from there. Read this and bookmark this link too, you will need it