Wireshark-dev: Re: [Wireshark-dev] Wireshark 0.99.5 "make rpm-package"problemsonRHEL3
From: "Maynard, Chris" <Christopher.Maynard@xxxxxxxxx>
Date: Sat, 31 Mar 2007 13:47:34 -0400
I just noticed my post and that somewhere in transition, what I typed
was not exactly what was posted.  The scripts are obviously run from the
current directory "./", not from the upper-level "../" directory.  The
buildrpm.sh script I actually run is attached.

- Chris

-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Maynard, Chris
Sent: Friday, March 30, 2007 5:23 PM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Wireshark 0.99.5 "make
rpm-package"problemsonRHEL3

Right.  I run a buildrpm.sh script that essentially encapsulates the
following:

../autogen.sh
../conf.sh
make clean
make rpm-package

The conf.sh script is attached.  It disables almost everything
(including gtk2), again as I'm primarily only interested in tshark for
this particular rpm.  I attached the output of the configuration in a
prior post, but that is attached again here as well.  Anyway, I still
get the "undefined reference" failure, so my feeling is that this
function is incorrectly being used in all cases and not taking into
account whether gtk2 is actually enabled or not.  But even if it is
enabled, shouldn't there be a check somewhere for 2.4 or greater?
Regardless, for my purposes, I'd be happy to get it working with gtk1
only, but as I said, it still fails with the same error.

Regards,
Chris
P.S. In case the conf.sh script gets mangled in transit for some reason,
here's the basic contents:

.../configure --disable-gtk2 --enable-wireshark=no --enable-tshark=yes
--enable-editcap=yes --enable-dumpcap=yes --enable-capinfos=no
--enable-mergecap=yes --enable-text2pcap=no --enable-idl2wrs=no
--enable-dftest=no --enable-randpkt=no --enable-ipv6=no
--enable-threads=no --without-ssl --without-net-snmp --without-adns
--without-lua --without-portaudio --without-pcre --without-krb5


-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Stephen Fisher
Sent: Friday, March 30, 2007 5:00 PM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Wireshark 0.99.5 "make rpm-package"
problemsonRHEL3

On Fri, Mar 30, 2007 at 08:23:08PM +0200, Ulf Lamping wrote:

> You may try GTK 1.2 which should still work. Don't ask me how to do 
> (configure) this, I'm currently Win32 only ;-)

.../configure --disable-gtk2 :)


Steve




-----------------------------------------
This email may contain confidential and privileged material for the
sole use of the intended recipient(s). Any review, use, retention,
distribution or disclosure by others is strictly prohibited. If you
are not the intended recipient (or authorized to receive for the
recipient), please contact the sender by reply email and delete all
copies of this message. Also, email is susceptible to data
corruption, interception, tampering, unauthorized amendment and
viruses. We only send and receive emails on the basis that we are
not liable for any such corruption, interception, tampering,
amendment or viruses or any consequence thereof.

Attachment: buildrpm.sh
Description: buildrpm.sh