Tuesday, September 15, 2009

Snort Install Round One: no C compiler (gcc)

I downloaded Snort from http://www.snort.org/downloads. I downloaded the 2.8.4.1 version.
This site http://www.securityfocus.com/infocus/1421 has the instructions to install Snort. This is where I got the instructions to install 'libpcap'.
It also has instuctions on trouble shooting and understanding SNORT
I downloaded libpcap-0.8.1 from http://sourceforge.net/projects/libpcap/.
As I read the Install.txt file I found how to use the command console to install libpcap.

I entered the following into the console
su ---to bring up the root
usergzip -d -c libpcap-0.8.1.tar.gz tar xvf - ---then all the files were listed inside
cd libpcap-0.8.1/ ---going into the folder now
./configure ---and then it configured the setting of computers settings as well it checked the C compiler (gcc ) and recieved a works... no as well as the configure: error: intallation or configuration problem: C compiler cannot create executibles.

Then from there obviously the 'make' commands would not work because the config could not make a file in MakeIn folder adjusted to my system.

After searching through all the following documents and sites I Downloaded cc-4.3.4.tar.gz from http://gcc-ca.internet.bs/releases/gcc-4.3.4/ a mirror of gcc.gnu.org. I'm not sure what to do from here?
How do I install this gcc since I didn't have one.
What is a gcc? It must have something to do with a compiler.

These are the links of numerous sites I have searched inorder to find a solution:


No comments: