Closed misterjmw closed 1 year ago
Hello @misterjmw
It seems to be more like a configuration problem than a bug. In our reference system (Debian 11 Bullseye) it works as expected.
Cmake is using pkgconfig
for module check. I would suggest to check if the PKG_CONFIG_PATH
environment variable is set, and if the .pc
file is even provided in your distribution.
$ grep -r popt CMakeLists.txt
pkg_check_modules (POPT REQUIRED popt)
Therefore, closing this as invalid for now, since this might be an environmental issue.
Please open a new topic in the [Greenbone Forum](https://forum.greenbone.net/ for support). Once it has been found to be a real bug we can still re-open this issue here.
Expected behavior
cmake3 . should create a makefile
Actual behavior
cmake3 throws an error about popt being missing, when all possible popt-* modules are installed.
Steps to reproduce
wget https://github.com/greenbone/openvas-smb/archive/refs/tags/v22.5.3.tar.gz tar xvzf v22.5.3.tar.gz cd openvas-smb-22.5.3 cmake3 .
Environment
Operating system: CentOS Linux release 7.9.2009 (Core)
Installation method / source: tar.gz distribution from Github.
Logfiles
I do not believe there are any log files that are applicable here, however it might be noted that the cmake output does not include anything referencing popt.