Ethereal-users: Re: [Ethereal-users] Build Issues for 0.9.4 and net-snmp 5.0.1

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "f. Andrew Lawton" <andrew@xxxxxxxx>
Date: 23 May 2002 15:38:16 +0000
On Thu, 2002-05-23 at 18:13, Scott Fringer wrote:
> Hello,
>   I've attempted to build the latest release of Ethereal and include the
> SNMP stuff from net-snmp 5.0.1 (which built fine, installed fine and runs
> fine) on Solaris 7.  However, during the configure process I am greeted
> with:
> 
> checking whether to use UCD SNMP/NET-SNMP library if available... yes
> checking for ucd-snmp/snmp.h... no
> configure: error: Header file ucd-snmp/snmp.h not found.
> 
> If I look in /usr/local/include I do in fact have a ucd-snmp/snmp.h.
> 
> I have attempted the configure with simply --with-ucdsnmp as well as
> variations on supplying the path (i.e. --with-ucdsnmp=/usr/local or
> /usr/local/include, etc.)
> 
> I found nothing in the FAQ regarding this issue.
> 
> Any thoughts on what I need to do to get things to configure?

I had/have similar problems. I wound up linking the
/usr/local/include/net-snmp/library to /usr/include/ucd-snmp. Now I get
a different error:

checking whether to use UCD SNMP/NET-SNMP library if available... yes
checking for ucd-snmp/snmp.h... yes
checking for ucd-snmp/version.h... no
checking for sprint_realloc_objid in -lsnmp... no
checking for sprint_realloc_objid in -lsnmp... no
configure: error: UCD SNMP header files found, but sprint_realloc_objid
not found in SNMP library.

Still hoping for some help on this.