Wireshark-users: Re: [Wireshark-users] Wireshark on OppenBSD 4.0
From: Jeff Morriss <jeff.morriss@xxxxxxxxxxx>
Date: Wed, 04 Oct 2006 10:21:56 +0800

[Taking this back on list as it was completely accidental that I took it off list yesterday.]

stan wrote:
On Tue, Oct 03, 2006 at 09:42:00AM +0800, Jeff Morriss wrote:

stan wrote:
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
Doh!  I meant "--with-ssl".  Sorry for the pre-first-cup-of-coffee mixup.


That worked, Any idea how to get these enabeld?

Use kerberos library : no
Use GNU crypto library : no

Well, let's see:

mozart [~/Projects/wireshark/source/]> ./configure --help|grep kerb
  --with-krb5[=DIR]       use kerberos (located in directory DIR, if supplied) to use in kerberos dissection  [default=yes]
mozart [~/Projects/wireshark/source/]> ./configure --help|grep crypt
  --with-libgcrypt-prefix=PFX
  --with-ssl[=DIR]        use SSL crypto library (located in directory DIR, if supplied).   [default=no]

Of course you'd have to have the libraries installed first.