从源代码在 Ubuntu 上构建 Wireshark

Building Wireshark on Ubuntu from source

尝试从源代码在 Ubuntu 16.04 上构建 Wireshark 时,我在 运行 ./configure:

之后遇到此错误
 error: /home/yoyo/anaconda3/bin/lrelease -qt=5 -version returned non-zero exit status

有什么建议吗?

您似乎通过 anaconda 在您的主目录中安装了 python。 可能你通过 .bashrc 中的 PATH 变量设置了它(或者 anaconda 安装程序)

尝试编辑 .bashrc 并将其删除,以便您使用 ubu 系统默认值。 运行 手动执行失败的命令以查看它是否有效或者您是否有其他问题。

$ /usr/bin/lrelease -qt=5 -version 
lrelease version 5.5.1