当我想安装 Wireshark 软件时源代码在 Debian 8 Linux 发行版上,我看到以下错误消息:
...
...
checking for uic... /usr/bin/uic
checking for qtchooser... (cached) /usr/bin/qtchooser
checking for moc... /usr/bin/moc
checking for qtchooser... (cached) /usr/bin/qtchooser
checking for rcc... /usr/bin/rcc
checking for qtchooser... (cached) /usr/bin/qtchooser
checking for lrelease... /usr/bin/lrelease
checking whether lrelease -version works... no
configure: error: /usr/bin/lrelease -qt=5 -version returned non-zero exit status
需要注意的是,运行以下命令后会出现上述错误消息:
./configure --with-ssl --enable-setcap-install --with-dumpcap-group=wireshark
答案1
您需要qttools5-dev-tools
安装该软件包才能构建 Wireshark 等 Qt5 应用程序。