On Tue, Oct 03, 2006 at 08:49:24AM +0800, Jeff Morriss wrote:
>
>
> stan wrote:
> > I just built wireshark on OpenBSD 4.0 prerelase. It built OK,
> > but i don't think it took advantage of all the posible libraries.
> > Here is what configure had to say:
> >
> > The Wireshark package has been configured with the following options.
> > Build wireshark : yes
> >
> > Shouldn't (at least) the OpenSSL libraries been used? Also I had built
> > the net-snmp port on the machine in question, should'nt that too
> > have been found?
>
> SSL's (BSD-style?) license is or may be (or at least there's discussion
> about) incompatible with Wireshark's GPL license, so it is not picked up
> by default (you have to do "./configure --enable-ssl" to get it). I've
> seen SNMP picked up automatically--maybe it's not in the path
> 'configure' expects it to be in? (In that case add
> "--with-net-snmp=/path/to/net/snmp".)
>
OK, I figured out how to specify the net-snmp part, but the SSL
thing is still an issue:
checking for net-snmp/library/default_store.h... yes
configure: error: Net-SNMP requires openssl but ssl not enabled
Here's how I ran configure:
./configure --enable-ssl --with-net-snmp=/usr/local/bin/net-snmp-config
--
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)