无法使wirehark转速?

时间:2016-11-30 13:59:02

标签: qt makefile centos wireshark rpm

我正在使用centos 6.5,并试图从源代码构建一个2.2.2 rpm的wireshark。

这是我在运行./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

我已更新运行此命令以解决可能存在的任何依赖性问题..

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

但这是我在运行 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

不知道该怎么办,还有其他人成功为 wireshark 2.2.2 rpm 获得了centos 6.x

0 个答案:

没有答案