Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

compile error

Status
Not open for further replies.

neutec

Technical User
Apr 26, 2003
343
hello all,
Im running RedHat 9 and I am a little new to it. Im trying to install snort and when I ./configure, I get the following

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for style of include used by make... mGNU
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH

How can I fix this? I guess I need to install a compiler.
Thanks in advance for your help.
 
As snort is a network intrusion programme I would imagine that you must be logged in as root. Were you logged in as root? Have you read the short manual that comes with snort?
 
gcc may or may not be installed. also, it could be a missing symlink if redhat does like my current debian/unstable box. it has gcc 3.3 and 2.95 both installed, and created a /usr/bin/gcc symlink to /usr/bin/gcc-3.3 (long shot, but worth a look).

do a 'rpm -qa | grep gcc' and see if anything comes up. if not, install gcc package.

----
JBR
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top