GVM build / Kali / Postgresql

HI folks,
I am trying to follow the instructions on the page Building GVM 21.04 — Greenbone Documentation documentation

It seems the only version of postgres I am able to install is 14 which then causes an error during the MAKE stage of the gvmd section.

I tried to look in the conf because I saw something about jit but everything seems to be commented out.

Is there anyone who has successfully navigated this journey and can provide some help?
OS: Kali 5.15 running on virtualbox.

Many thanks.

For additional advices it would be best to have a look at the actual error. Therefore could you paste the error output?

1 Like

This is the error message

-- Looking for PostgreSQL...
CMake Error at cmake/FindPackageHandleStandardArgs.cmake:165 (message):
  Could NOT find PostgreSQL (missing: PostgreSQL_TYPE_INCLUDE_DIR) (found    
  version "14.2")                                                            
Call Stack (most recent call first):                                         
  cmake/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE)     
  cmake/FindPostgreSQL.cmake:247 (find_package_handle_standard_args)         
  src/CMakeLists.txt:43 (find_package)     

Could you try Hint: PostgreSQL 13 issues when building gvmd or running pg_upgradecluster? It should be the same issue but now for PostgreSQL 14 instead of 13.

1 Like