This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Impossible to make wireshark 2.2.2 rpm package on centos 6.5 ?

0

I am using centos 6.5, and trying to build a wireshark 2.2.2 rpm from the source code.

this is what I get after running ./configure

The Wireshark package has been configured with the following options:
                   GLib version : v2.28.8
                Build wireshark : no
            Build wireshark-gtk : yes (with GTK+ v2.24.23)
                   Build tshark : yes
                  Build tfshark : no
                 Build capinfos : yes
                  Build captype : yes
                  Build editcap : yes
                  Build dumpcap : yes
                 Build mergecap : yes
               Build reordercap : yes
                Build text2pcap : yes
                  Build randpkt : yes
                   Build dftest : yes
                 Build rawshark : yes
              Build androiddump : yes
                  Build sshdump : no
                Build ciscodump : no
              Build randpktdump : yes
                    Build echld : no

Save files as pcap-ng by default : yes Install dumpcap with capabilities : no Install dumpcap setuid : no Use dumpcap group : (none) Use plugins : yes Use external capture sources : yes Use Lua library : no Build Qt RTP player : no Build GTK+ RTP player : no Build profile binaries : no Use pcap library : yes Use zlib library : yes Use kerberos library : yes (MIT) Use c-ares library : no (name resolution will be disabled) Use SMI MIB library : no Use GNU gcrypt library : yes Use SSL crypto library : no Use GnuTLS library : no Use POSIX capabilities library : no Use GeoIP library : no Use libssh library : no Have ssh_userauth_agent : no Use nl library : no Use SBC codec library : no

I have updated ran this command too to resolve any dependency issues which might be there..

yum install -y gcc-c++ bison flex gtk2 gtk2-devel libpcap-devel

But this is the error I keep getting when i run make rpm-package

make[2]: Entering directory /tmp/wireshark-2.2.2/ui/gtk' make[2]: Leaving directory /tmp/wireshark-2.2.2/ui/gtk'
(cd ui/qt && make  top_distdir=../../wireshark-2.2.2     distdir=../../wireshark-2.2.2/ui/qt
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir) make[2]: Entering directory /tmp/wireshark-2.2.2/ui/qt' LRELEASE wireshark_de.qm /bin/sh: -silent: command not found make[2]: *** [wireshark_de.qm] Error 127 make[2]: Leaving directory /tmp/wireshark-2.2.2/ui/qt' make[1]: *** [distdir] Error 1 make[1]: Leaving directory `/tmp/wireshark-2.2.2' make: *** [dist] Error 2

dont know what to do about it, has anyone else had successfully made wireshark 2.2.2 rpm for centos 6.x

asked 30 Nov ‘16, 22:54

himanshu097's gravatar image

himanshu097
11114
accept rate: 0%


2 Answers:

1

Actually the RPMs now follow what you chose in ./configure (at for some options). It should work to build just the Gtk version (useful for RHEL 6 since--IIRC--the Qt version won't build there).

The problem here is that it was trying to build the Qt I18N stuff without having detected Qt. I just backported João's fix to the 2.2 branch so this will work in the next version. (In the meantime you could manually apply the patch.)

answered 01 Dec '16, 10:53

JeffMorriss's gravatar image

JeffMorriss ♦
6.2k572
accept rate: 27%

0

Th RPM package assumes that you will also build the Qt based GUI. And it looks like you have not installed the corresponding dependencies (as seen in the configure output): Build wireshark : no

answered 01 Dec '16, 01:44

Pascal%20Quantin's gravatar image

Pascal Quantin
5.5k1060
accept rate: 30%

I had configured it explicitly to not use QT, still it didnot impact how dist was made.

(01 Dec '16, 23:13) himanshu097