当我想在 Debian 8 Linux 发行版上从源代码安装 Wireshark 软件时,我看到以下错误消息:
...
...
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
您需要
qttools5-dev-tools
安装该软件包才能构建像 Wireshark 这样的 Qt5 应用程序。