AW: [Snort-users] Trouble building snort (any version) on glibc-l inux systems....

Poppi, Sandro Sandro.Poppi at ...3316...
Thu Aug 8 22:08:03 EDT 2002


Eli,

from your output I don't see any probs. Snort is compiled and installed:

make
> ................snip........................
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src 
> -I/usr/include/pcap -I../src/output-plugins 
> -I../src/detection-plugins -I../src/preprocessors    -g -     
>        sf_sdlist.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src 
> -I/usr/include/pcap -I../src/output-plugins 
> -I../src/detection-plugins -I../src/preprocessors    -g -     
>        perf.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src 
> -I/usr/include/pcap -I../src/output-plugins 
> -I../src/detection-plugins -I../src/preprocessors    -g -     
>        perf-flow.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src 
> -I/usr/include/pcap -I../src/output-plugins 
> -I../src/detection-plugins -I../src/preprocessors    -g -     
>        perf-base.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src 
> -I/usr/include/pcap -I../src/output-plugins 
> -I../src/detection-plugins -I../src/preprocessors    -g -     
>        perf-event.c
> gcc  -g -O2 -Wall  -o snort  codes.o debug.o decode.o log.o 
> mstring.o parser.o plugbase.o snort.o snprintf.o strlcatu.o 
> strlcpyu.o tag.o ubi_BinTree           yTree.o util.o 
> detect.o substr.o trie.o signature.o mempool.o sf_sdlist.o 
> perf.o perf-flow.o perf-base.o perf-event.o 
> output-plugins/libspo.a detect           /libspd.a 
> preprocessors/libspp.a  -lpcap -lm -lnsl
> make[3]: Leaving directory `/usr/src/snort/src'

make install:

> make[2]: Entering directory `/usr/src/snort/src'
> make[3]: Entering directory `/usr/src/snort/src'
> /bin/sh ../mkinstalldirs /usr/local/bin
>   /usr/bin/install -c  snort /usr/local/bin/snort

So the snort binary can be found in /usr/local/bin.

Don't care about the win32 stuff. It's included in the source distribution
but won't be touched on a linux system.

Regards,
Sandro
> 
> I'm having serious difficulty compiling snort for some reason.  
> Problem:
> When compiling from source: versions 1.8.7,snort-stable or 
> snort-current 
> snapshots, on either a MDK 8.2 w/GCC3.1.1 or RH7.3 w/gcc2.96, 
> make seems 
> to stop compiling.  Below are the output of ./configure and 
> the tail end
> of the make process, and the make install output.  Installed 
> is libpcap-0.6.2 
> on both systems.
> 
> gcc works fine otherwise for all other source builds.  Any 
> ideas what is
> hanging it at this phase?  I'm unsure as to why, but it seems 
> to be building
> the win32 system.  When make install is run it only looks in the win32
> directories.  
> 
> Ideas?
> 
> Cheers,
> 
> /eli
> 
[snip]




More information about the Snort-users mailing list