Snort mailing list archives

Building Snort with IDMEF plug in - libtool problem


From: cuong dinh <dinhvietcuong () yahoo com>
Date: Tue, 6 Aug 2013 17:31:31 -0700 (PDT)

Dear All,
I am trying to set up Snort with IDMEF Plugin to have Snort send IDMEF message to a management system. But I keep 
having the problems with autotools that I could not understand the error, which is related to 'libtool'. I've also 
googled and read manual of GNU Libtool but there is no sight of a solution even after trying with 2 different OSes 
(Ubuntu 12.04 Desktop , Fedora 19 - both on VMWare environment).
Could any one experienced with it or any experts on autotools help me with this? Thanks a lot !

The error message after I applied the IDMEF Plugin patch to Snort-2.8.3.2 (the plugin only supports for that snort 
version):
#make

The error message shows in Ubuntu:
/bin/sh ../../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -I../../../src 
-I../../../src/sfutil -I/usr/include/pcap -I../../../src/output-plugins -I../../../src/detection-plugins 
-I../../../src/dynamic-plugins -I../../../src/preprocessors -I../../../src/preprocessors/flow 
-I../../../src/preprocessors/portscan  -I../../../src/preprocessors/flow/int-snort  
-I../../../src/preprocessors/HttpInspect/include -I../../../src/preprocessors/Stream5 -I../../../src/target-based  
-fno-strict-aliasing  -g -O2 -Wall -DDYNAMIC_PLUGIN -DDETECTION_OPTION_TREE -fno-strict-aliasing -c -o bmh.lo bmh.c
../../../libtool: 1564: ../../../libtool: preserve_args+= --tag CC: not found
../../../libtool: 1: eval: base_compile+= gcc: not found
../../../libtool: 1: eval: base_compile+= -DHAVE_CONFIG_H: not found
../../../libtool: 1: eval: base_compile+= -I.: not found
../../../libtool: 1: eval: base_compile+= -I../../..: not found
../../../libtool: 1: eval: base_compile+= -I../../..: not found
../../../libtool: 1: eval: base_compile+= -I../../../src: not found
../../../libtool: 1: eval: base_compile+= -I../../../src/sfutil: not found
../../../libtool: 1: eval: base_compile+= -I/usr/include/pcap: not found
../../../libtool: 1: eval: base_compile+= -I../../../src/output-plugins: not found
../../../libtool: 1: eval: base_compile+= -I../../../src/detection-plugins: not found
...
../../../libtool: 1: eval: base_compile+= -g: not found
../../../libtool: 1: eval: base_compile+= -O2: not found
../../../libtool: 1: eval: base_compile+= -Wall: not found
../../../libtool: 1: eval: base_compile+= -DDYNAMIC_PLUGIN: not found
../../../libtool: 1: eval: base_compile+= -DDETECTION_OPTION_TREE: not found
../../../libtool: 1: eval: base_compile+= -fno-strict-aliasing: not found
../../../libtool: 1: eval: base_compile+= -c: not found
libtool: compile: you must specify a compilation command
libtool: compile: Try `libtool --help --mode=compile' for more information.
make[6]: *** [bmh.lo] Error 1
make[6]: Leaving directory `/root/snort-2.8.3.2/src/dynamic-plugins/sf_engine'
make[5]: *** [all-recursive] Error 1




The message shows in Fedora:
 /bin/sh ../../../libtool   --mode=install /bin/install -c   libsf_ftptelnet_preproc.la 
'/root/snort-2.8.3.2/src/dynamic-preprocessors/ftptelnet/../build/usr/local/lib/snort_dynamicpreprocessor'
../../../libtool: line 851: X--mode=install: command not found
../../../libtool: line 1017: *** Warning: inferring the mode of operation is deprecated.: command not found
../../../libtool: line 1018: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../../../libtool: line 6195: X/bin/install: No such file or directory
../../../libtool: line 6213: X/bin/install: No such file or directory
../../../libtool: line 6264: X-c: command not found
../../../libtool: line 6296: 
X/root/snort-2.8.3.2/src/dynamic-preprocessors/ftptelnet/../build/usr/local/lib/snort_dynamicpreprocessor: No such file 
or directory
Fatal server error:
Server is already active for display 0
    If this server is no longer running, remove /tmp/.X0-lock
    and start again.

../../../libtool: line 6323: libtool: install: `.' must be an absolute directory name: command not found
../../../libtool: line 6324: Try `libtool --help --mode=install' for more information.: command not found
make[7]: *** [install-libLTLIBRARIES] Error 1
make[7]: Leaving directory `/root/snort-2.8.3.2/src/dynamic-preprocessors/ftptelnet'

Look forward to hearing from your suggestions,
Thanks,

Dinh
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Snort-devel mailing list
Snort-devel () lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/snort-devel
Archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=snort-devel

Please visit http://blog.snort.org for the latest news about Snort!

Current thread: