Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] RPM error

From: "Jeff Morriss" <jeff.morriss.ws@xxxxxxxxx>
Date: Sun, 16 Mar 2008 09:00:43 -0400


On Sun, Mar 16, 2008 at 8:03 AM, <taraniteja.vishwanatha@xxxxxxxxx> wrote:

Hi ,

If I try to build the rpm with gtk 1 version , it is taking gtk 2 by default. Then we tried to remove gtk-2 and glib-2 libraries from /usr/lib and /usr/include. We are getting the following error:

Even after configuring with –disable –gtk2 , wondering why is it checking for gtk version >=2!!


Remember that RPMs are supposed to be self contained within the SPEC file so it does not matter what you configure manually, it matters what is in the spec file.  In particular, look at: packaging/rpm/SPECS/wireshark.spec.in and set your configure options there.

(Also note that Wireshark does not fall back to GTK1 if it can't find GTK2, you must specifically disable GTK2 even if you don't have GTK2 installed.)