如何在安装了 Wireshark 后配置 Lua (Linux)

我在 Linux 机器上安装了 Wireshark-1.10.14。 我从源代码安装了 Wireshark-2.6.12。现在打开 Wireshark 时, 我发现 Wireshark-2.6.12 没有 Lua 支持(从 Wireshark > 帮助中了解)。

  1. 我需要做什么才能让 Wireshark 打开 Lua ?
点赞
用户2315085
用户2315085

你需要安装 lua 5.1 或者 5.2 的开发包。注意,wireshark 仍不支持 lua 5.3

在 Debian/Ubuntu 上运行以下命令:

sudo apt-get install liblua5.2-dev

在 Fedora 上运行以下命令:

sudo dnf install compat-lua-devel

同时你也可以在 tools 子目录中找到一些辅助脚本,它们可以安装所有的开发依赖项。

  1. debian-setup
  2. rpm-setup.sh

然后在 wireshark 的构建目录中执行以下命令:

rm CMakeCache.txt
cmake ..
2019-11-25 17:40:34