greenbone / docs

Documentation for the Greenbone Community Edition
https://greenbone.github.io/docs/
Creative Commons Attribution Share Alike 4.0 International
24 stars 34 forks source link

Package ‘libcjson’, required by ‘virtual: world’, not found #515

Open bleeuwen-dev opened 3 months ago

bleeuwen-dev commented 3 months ago

During the buld of the gvmd i got the following error Package ‘libcjson’, required by ‘virtual: world’, not found

– Checking for module ‘libcjson>=1.7.14’ – Package ‘libcjson’, required by ‘virtual:world’, not found CMake Error at /usr/share/cmake-3.25/Modules/FindPkgConfig.cmake:607 (message): A required package was not found Call Stack (most recent call first): /usr/share/cmake-3.25/Modules/FindPkgConfig.cmake:829 (_pkg_check_modules_internal) src/CMakeLists.txt:29 (pkg_check_modules)

Installation is done on Debian 12 (debian-12.6.0-amd64)

cfi-gb commented 1 month ago

@y0urself This probably needs to be moved back to the docs repository, unless i had missed something this seems to be not an issue in the gvmd component as the prerequisite is already documented here:

cJSON >= 1.7.14 (Debian package: libcjson-dev)

https://github.com/greenbone/gvmd/blob/main/INSTALL.md#prerequisites-for-greenbone-vulnerability-manager

Only the community docs are missing this package here:

https://github.com/greenbone/docs/blob/main/src/22.4/source-build/gvmd/dependencies.md

cfi-gb commented 1 month ago

Some short refs: