On Mon, Dec 19, 2016 at 11:07 AM, Anders Broman <[email protected]>
wrote:

> Hi,
>
>
>
> Even though configured with:
>
> /configure --with-lua -enable-setuid-install --without-qt --with-gtk=2
> -without-libnl --enable-warnings-as-errors=no --with-extcap=no
>
>
>
> Rpm-build fails with:
>
>
>
> extcap_gtk.c: In function 'extcap_gtk_get_state':
>
> extcap_gtk.c:193: error: 'GTimeZone' undeclared (first use in this
> function)
>

Yeah, RPMs only follow a couple of options from ./configure.  It's
documented in one of the guides somewhere. :-)

(Getting it to follow *all* the options would be, I think, a lot of code.)


> What do I need to change in
>
> packaging/rpm/SPECS/wireshark.spec.in to make it build without extcap?
>
>
>
As Dario said: modify the ./configure call to add --with-extcap=no, re-run
./configure, and `make rpm-package` again.

BTW, it appears extcap requires glib 2.26 (for GTimeZone) but configure.ac
still says we only require 2.22.  Time for a version bump?
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to