如何解决树莓派上的kismet失败./configure libwebsockets
执行“ 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。我真的需要指导。
谢谢
解决方法
您还可以在运行 configure 时禁用 libwebsockets:
./configure --disable-libwebsockets
没有它的编译不会从 Kismet 服务器中删除 websockets,或阻止使用 websockets,但是任何没有 libwebsockets 编译的远程捕获代码将只能使用传统的 TCP 连接模式(取自 kismet 站点)
,从此处下载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安装。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。