Wireshark-dev: [Wireshark-dev] build fails with switch --without-qt
From: evilwulfie <evilwulfie@xxxxxxxxx>
Date: Tue, 05 May 2015 17:24:53 -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'


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