Click to See Complete Forum and Search --> : i cant "make"


Soybomb
01-20-2001, 07:17 PM
I'm still learning so please be understanding http://www.linuxnewbie.org/ubb/wink.gif I have a RedHat 6.2 box that I forgot to install the security patches for and was hit by the ramen worm. Well I formatted and installed all the updates before I pluged in the ethernet cord. I want to try to makeit more secure this time and install some other tools like tripwire and portsentry.

When I installed this time I chose custom configuration and thought I included everything. I don't think I did though because when I tried to "make linux" portsentry" it didnt find the make command. I pulled out the redhat cd and installed make*.rpm Now I can run make but I get "make:cc: Command not found" What other rpm's do I need to install to be able to compile?
Thanks!

7
01-20-2001, 07:25 PM
Make is using cc for a compiler i think. On linux the compiler is normally gcc. do 'gcc' and if you a message asking for input then all i think you need to do is specify gcc instead of cc. Edit the Makefile and change a line that looks like CC=cc to CC=gcc or something like that. I could be wrong tho, been doin alot of that.

Soybomb
01-20-2001, 07:33 PM
gcc: command not found
Anyone know the name of the gcc rpm even? I cant find it on the redhat cd......

7
01-20-2001, 08:01 PM
Its really unusual not to have gcc installed by default.

You can get the latest gcc from here. (ftp://ftp.rpmfind.net/linux/conectiva/6.0/cd1/conectiva/RPMS/gcc-2.95.2-7cl.i386.rpm)