I downloaded a program called wmlaptop, I want to use it on my laptop so i can see how much battery power I have, I am running redhat 9.
It comes all in source code, .c and header files, I try using make install and make commands in the terminal but I keep getting an error that refers to gcc, so I searched and downloaded GCC, I tried using ./configure to install GCC I get this error
Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in /home/wookmaster/gcc-3.3.2 using "mt-frag"
./configure: line 8: 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 thought GCC was the compiler I was trying to install but it looks like its telling me to install a compiler for the compiler, but im probably wrong, anyone help me out with this?
Thanks