Wireshark-dev: Re: [Wireshark-dev] Compile RPM with only tshark
From: "Maynard, Chris" <[email protected]>
Date: Wed, 21 Jul 2010 10:28:20 -0400

This has come up before.  Maybe this will help you:


- Chris


From: [email protected] [mailto:[email protected]] On Behalf Of Lorenzo Boffelli
Sent: Wednesday, July 21, 2010 2:37 AM
To: [email protected]
Subject: [Wireshark-dev] Compile RPM with only tshark



I am working on a linux distribution based on Red Hat EL4 (CentOS 4) with no graphical interface.

I downloaded the source code of wireshark-1.2.9.

I compiled with the following command excluding the complilation of wireshark


./configure --disable-wireshark --disable-gtk2 --disable-editcap --disable-idl2wrs --disable-ipv6 --enable-setuid-install


At this point tshark is perfectly working

Then I decided to create the rpm so I can add to my distribution the rpm

I used the command:

    make rpm-package


This command does not take care about the ./configure because compile the RPM with the requirement to have the gtk installed.

Is there a fast and easy way to compile an RPM containing only tshark and the necessary files?


Thanks in advance for your help









CONFIDENTIALITY NOTICE: The contents of this email are confidential
and for the exclusive use of the intended recipient. If you receive this
email in error, please delete it from your system immediately and 
notify us either by email, telephone or fax. You should not copy,
forward, or otherwise disclose the content of the email.