I am trying to configure openvas so that scanned can be run from command line.
I have successfully installed openvasd and gvm-tools from source.
However I get following error while trying to install gvmd from source.
CMake Error at /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:367 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:532 (_pkg_check_modules_internal)
src/CMakeLists.txt:40 (pkg_check_modules)
– Configuring incomplete, errors occurred!
See also “/tmp/gvmd/CMakeFiles/CMakeOutput.log”.
See also “/tmp/gvmd/CMakeFiles/CMakeError.log”.
When building from source please have a look at the INSTALL(.md) files shipped with each source package where the prerequisites are listed. If you check the INSTALL.md of the gvmd you can see that you need to install the sqlite3 developement packages, the sqlite3 binary is not enough: