执行“ make”之前的步骤需要./config
。失败并显示以下内容
checking for libwebsockets... no
configure: error: Package requirements (libwebsockets >= 3.2.0) were not met:
Requested 'libwebsockets >= 3.2.0' but version of libwebsockets is 2.0.3
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables libwebsockets_CFLAGS
and libwebsockets_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
我已经做了以下工作
https:///www.kismetwireless.net/get/kismet.git>
git clone --recursive
我如何获得最新版本?
我可以看到存在4.0.20,但显示为测试/不稳定
https://repology.org/project/libwebsockets/versions
即使可以,我也可以在哪个目录中使用什么参数来执行wget / get / curl。我真的需要指导。
谢谢
答案 0 :(得分:1)
您还可以在运行 configure 时禁用 libwebsockets:
<块引用>./configure --disable-libwebsockets
没有它的编译不会从 Kismet 服务器中删除 websockets,或阻止使用 websockets,但是任何没有 libwebsockets 编译的远程捕获代码将只能使用传统的 TCP 连接模式(取自 kismet 站点)
答案 1 :(得分:0)
从此处下载libwebsockets源代码:this
解压缩
jobSelection
安装 const handleJobClick = i => {
const n = parseInt(i.target.id.charAt(0)); // the list is small enough to allow this
let c = [...jobSelection]; // Create a new array
c[n] = !c[n];
setJobSelection(c);
};
:
tar -xvzf v3.2.2.3.tar.gz
编译cmake
:
sudo apt-get install cmake -y
然后重试libwebsockets
进行Kismet安装。