Debian arm64 固件下,无法编译 iptux,请帮忙


#1

按照 https://github.com/iptux-src/iptux 给的编译步骤,进行到 meson builddir 时出错了:

linaro@linaro-alip:~/iptux$ meson builddir
The Meson build system
Version: 0.37.1
Source dir: /home/linaro/iptux
Build dir: /home/linaro/iptux/builddir
Build type: native build
Project name: iptux
Native cpp compiler: c++ (gcc 6.3.0)
Build machine cpu family: aarch64
Build machine cpu: aarch64
Found pkg-config: /usr/bin/pkg-config (0.29)
Native dependency gtk±3.0 found: YES 3.22.11

Meson encountered an error in file src/iptux/meson.build, line 1, column 0:
Could not generate cargs for gtk±3.0:

linaro@linaro-alip:~/iptux$

我搜了点东西,看不懂,执行 pkg-config 时,出现下面的错误:

linaro@linaro-alip:~/iptux$ pkg-config --cflags --libs “gtk±3.0”
Package wayland-egl was not found in the pkg-config search path.
Perhaps you should add the directory containing `wayland-egl.pc’
to the PKG_CONFIG_PATH environment variable
Package ‘wayland-egl’, required by ‘gdk-3.0’, not found
linaro@linaro-alip:~/iptux$

尝试用 apt-get 来安装 wayland 或 wayland-egl,说:没有这样的软件包。不知道该怎么办了。

明确一下,apt-get install iptux 是成功的,运行也正常。但我需要修改源代码,因此,必须用源代码来编译。