ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] build fails with switch --without-qt

From: wulfman <wulfman@xxxxxxxxxxx>
Date: Tue, 05 May 2015 17:46:49 -0700
well this is all very confusing as everything seems to be there
i am unable to understand why it cannot find gtk+ for the build from
looking at the configure script
it seems that the --without-qt option breaks the check for GTK+
i cannot compile with QT as there in an error while compiling qt

color_utils.cpp: In static member function 'static QRgb
ColorUtils::alphaBlend(const QColor&, const QColor&, qreal)':
color_utils.cpp:75:35: error: no matching function for call to
'qBound(double, qreal&, double)'
color_utils.cpp:75:35: note: candidate is:
/usr/include/qt4/QtCore/qglobal.h:1200:34: note: template<class T> const
T& qBound(const T&, const T&, const T&)
make[2]: *** [color_utils.o] Error 1
make[2]: Leaving directory `/root/wireshark/ui/qt'

~~~~~~
qreal != double on arm architectures, so code that assume it is won't build:
~~~~~~~~
dunno how to fix that

root@tester:~/wireshark# apt-get build-dep wireshark
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

cloud9-installer is the one not upgraded
after a
./autogen.sh
./configure --without-qt

configure script runs and does the same thing
~
~
~
checking for GNU sed as first sed in PATH... yes
checking if profile builds must be generated... no
configure: error: Neither Qt nor GTK+ 2.12.0 or later are available, so
Wireshark can't be compiled

if i run ./configure   <------ no switches

it finds gtk+


checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GTK+ - version >= 3.0.0... yes (version 3.4.2)
checking for pkg-config... (cached) /usr/bin/pkg-config

system is a beagle bone black
root@tester:~/wireshark# uname -a
Linux tester 3.14.39-ti-r61 #1 SMP PREEMPT Fri Apr 24 18:34:56 UTC 2015
armv7l GNU/Linux


any help would be appreciated








-- 
The contents of this e-mail and any attachments are intended solely for
the use of the named
addressee(s) and may contain confidential and/or privileged information.
Any unauthorized use,
copying, disclosure, or distribution of the contents of this e-mail is
strictly prohibited by
the sender and may be unlawful. If you are not the intended recipient,
please notify the sender
immediately and delete this e-mail.