Snort mailing list archives

Issue with Snort-1.8.1-RELEASE ./configure


From: LorenMarcus () netscape net ( )
Date: Fri, 12 Oct 2001 15:29:53 -0400

I am attempting to install snort-1.8.1-RELEASE with the XML output plugin on an x86 Redhat 7.1 machine.  I can't get 
past configure.  I installed ntp4.1.0.  All seemed to go well.  I installed libxml2 and libxml2-devel via rpm.  All 
seemed to go well.  I installed libidmef-0.6.3.  All seemed to go well.

When I run:

/home/myaccountnamereplacedhere/archive/snort/snort-1.8.1-RELEASE/configure --enable-idmef 
--with-libntp-libraries=/home/myaccountnamereplacedhere/archive/ntp/ntp-4.1.0 

The following is returned:
---snip---
checking for openssl... yes
checking for gzopen in -lz... yes
checking for /usr/local/include/libxml/tree.h... yes
checking for xmlNewNode in -lxml2... yes
checking for ntp source directory (includes and libraries)... yes
checking for /usr/local/include/libidmef/idmefxml.h... yes
checking for newIDMEF_Message in -lidmef... no
configure: error: libidmef library (idmef) not found in /usr/local/lib


I run:  
#ls -l /usr/local/lib/*idmef*

The following is returned:
# ls -l /usr/local/lib/*idmef*
-rw-r--r--    1 root     root       111618 Oct  9 14:38 /usr/local/lib/libidmef.a
-rwxr-xr-x    1 root     root          790 Oct  9 14:38 /usr/local/lib/libidmef.la
lrwxrwxrwx    1 root     root           17 Oct  9 14:38 /usr/local/lib/libidmef.so -> libidmef.so.0.7.0
lrwxrwxrwx    1 root     root           17 Oct  9 14:38 /usr/local/lib/libidmef.so.0 -> libidmef.so.0.7.0
-rwxr-xr-x    1 root     root       106327 Oct  9 14:38 /usr/local/lib/libidmef.so.0.7.0

/usr/local/lib/libidmef:
total 572
-rw-r--r--    1 root     root       111618 Oct 11 17:39 libidmef.a
-rwxr-xr-x    1 root     root          790 Oct 11 17:39 libidmef.la
-rwxr-xr-x    1 root     root       106327 Oct 11 17:39 libidmef.so
-rwxr-xr-x    1 root     root       106327 Oct 11 17:39 libidmef.so.0
-rwxr-xr-x    1 root     root       106327 Oct 11 17:39 libidmef.so.0.7.0
-rw-r--r--    1 root     root       124126 Oct 11 17:39 libpcap.a


config.log contains:
---snip---
configure:3325: checking for openssl
configure:3408: checking for gzopen in -lz
configure:3427: gcc -o conftest -g -O2 -Wall  -DENABLE_IDMEF  -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include 
-DENABLE_SSL  -L/usr/lib -L/usr/lib conftest.c -lz  -lpcap -lm -lnsl  -lpq -lssl -lcrypto 1>&5
configure:3472: checking for /usr/local/include/libxml/tree.h
configure:3482: gcc -E -I/usr/local/include  -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL 
conftest.c >/dev/null 2>conftest.out
configure:3518: checking for xmlNewNode in -lxml2
configure:3537: gcc -o conftest -g -O2 -Wall  -DENABLE_IDMEF -I/usr/local/include  -I/usr/include/pgsql 
-DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL -L/usr/lib  -L/usr/lib -L/usr/lib conftest.c -lxml2  -lpcap -lm -lnsl  
-lpq -lssl -lcrypto -lz 1>&5
configure:3571: checking for ntp source directory (includes and libraries)
configure:3605: checking for /usr/local/include/libidmef/idmefxml.h
configure:3615: gcc -E -I/usr/local/include -I/usr/local/include  -I/usr/include/pgsql -DENABLE_POSTGRESQL 
-I/usr/include -DENABLE_SSL conftest.c >/dev/null 2>conftest.out
configure:3652: checking for newIDMEF_Message in -lidmef
configure:3671: gcc -o conftest -g -O2 -Wall  -DENABLE_IDMEF -I/usr/local/include/libidmef -I/usr/local/include  
-I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL -L/usr/local/lib -L/usr/lib  -L/usr/lib -L/usr/lib 
 -L/home/myaccountnamereplacedhere/archive/ntp/ntp-4.1.0 conftest.c -lidmef -lxml2 -lm -lntp -lpcap -lm -lnsl  -lpq 
-lssl -lcrypto -lz -lxml2 -lntp 1>&5
/usr/bin/ld: cannot find -lntp
collect2: ld returned 1 exit status
configure: failed program was:
#line 3660 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char newIDMEF_Message();

int main() {
newIDMEF_Message()
; return 0; }


I run:
ls /home/myaccountnamereplacedhere/archive/ntp/ntp-4.1.0

The following is returned:
acconfig.h    config.h.in    excludes     Makefile        ntpq            readme.y2kfixes
acinclude.m4  config.log     flock-build  Makefile.am     ntptrace        results.y2kfixes
aclocal.m4    config.status  html         Makefile.in     ntp_update      scripts
adjtimed      config.sub     include      missing         parseutil       stamp-h
build         configure      INSTALL      mkinstalldirs   ports           stamp-h.in
ChangeLog     configure.in   install-sh   NEWS            README          TODO
clockstuff    COPYRIGHT      kernel       NOTES.y2kfixes  README.cvs      util
conf          depcomp        libntp       ntpd            README.des      WHERE-TO-START
config.guess  dot.emacs      libparse     ntpdate         README.hackers
config.h      ElectricFence  librsaref    ntpdc           README.rsa



Any ideas or pointing to obvious blunders will be appreciated.

Be well,
P.      


__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with 
Shop@Netscape! http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/


_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: