Snort mailing list archives

Re: error configure --with-snmp


From: "Michael J. McCasland" <mjm () eitsystems com>
Date: Sat, 16 Nov 2002 00:46:52 -0500

Thanks phil,
I found the file and it is in the same place that the error indicates it can not find it: /usr/include/net-snmp

I can not follow the shell script that well - it is overwhelming. I will have someone else look at it that knows shell scripts better than me. If anyone knows any trick to this issue let me in on it. I tried coping the libraries to the /usr/include directory and that made no difference either. Tried installing the RPMed SNMP package and it complains that it can not find:

  libsnmp.so.0 is needed by snort-snmp-1.9.0-1snort

The NET SNMP devel package is installed and built fine (no errors).

Anymore thoughts?

-mike

Phil Wood wrote:
1. find / -name "snmp_parse_args.h" -print

If not found, then get the redhat rpm and install it.  Make sure you
install the "development" type of rpm.  That means it will include
files needed if you were going to build an snmp based application. Then
go to 1.
Now look close at the configure shell script and figure out what they
want in the way of --with-snmp.  Maybe you can pass it a hint so it
can put the include path in with all the other '-I' directives.

This is what I usually do when the configure complains about not finding
an include file for some optional feature.

On Fri, Nov 15, 2002 at 08:17:29PM -0500, Michael J. McCasland wrote:

I tried from RPM and Source compiling net-snmp under redhat 8

I get this error trying to run configure --with-snmp:

checking for net-snmp/library/snmp_parse_args.h... no


**********************************************
 ERROR: unable to find snmp headers (snmp_parse_args.h in net-snmp-5.0.x)
 checked in the following places
       /usr/include
       /usr/include/net-snmp
       /usr/local/include
       /usr/local/include/net-snmp

Any Ideas?

-Mike McCasland




-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
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







-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
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: