-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
Git commit: v0.9.1-21-gcabdedb, Git version: 0.9.1
PolarSSL not found
Tomcrypt found
-- checking for module 'libnl-tiny'
-- package 'libnl-tiny' not found
-- checking for module 'libnl-genl-3.0'
-- package 'libnl-genl-3.0' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:283 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:337 (_pkg_check_modules_internal)
src-plugins/generic/nl80211_listener/CMakeLists.txt:7 (pkg_check_modules)
Ubuntu 版本 14.04.02,有更新。
我似乎无法成功构建它,如能得到任何帮助我将不胜感激。
答案1
您需要安装开发库:
为了解决这个问题:
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
,执行:sudo apt-get install doxygen
为了解决这个问题:
PolarSSL not found
,执行:sudo apt-get install libpolarssl-dev
为了解决这个问题:
-- package 'libnl-tiny' not found
和-- package 'libnl-genl-3.0' not found
,执行:sudo apt-get install libnl-utils
之后,清理源文件夹:
cd ~/oomf
make clean
重新开始cmake
:
cd build
cmake ..
答案2
您似乎缺少几个依赖项(Doxygen、PolarSSL、libnl-tiny、libnl-genl-3.0)。
运行之前cmake
你应该安装所需的依赖项和/或配置根据系统上可用的依赖项进行构建。例如,可能无需 Doxygen 即可构建,但可能需要其他包。