Dear Team,
I was building version 22.4 from the source. While I run cmake $SOURCE_DIR/gvmd-$GVMD_VERSION I got the following error. Anybody plz help me to sort this error
Error:
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find PostgreSQL (missing: PostgreSQL_LIBRARY
PostgreSQL_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindPostgreSQL.cmake:269 (find_package_handle_standard_args)
src/CMakeLists.txt:43 (find_package)
Note that this doesn’t mean that PostgreSQL isn’t installed but rather that the required development libraries (e.g. postgresql-server-devel are not installed / haven’t been found).