Cmake error installing GVM 21.04

Hi,
I’m installing GVM 21.04 following instructions in
https://greenbone.github.io/docs/gvm-21.04

I’ve got error in the [gsad] section, when I launch the following command:

cmake $SOURCE_DIR/gsa-$GSA_VERSION
-DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX
-DCMAKE_BUILD_TYPE=Release
-DSYSCONFDIR=/etc
-DLOCALSTATEDIR=/var
-DGVMD_RUN_DIR=/run/gvmd
-DGSAD_RUN_DIR=/run/gsad
-DLOGROTATE_DIR=/etc/logrotate.d

I obtain the error:

CMake Error: The source directory “<MY_HOME_DIR/>source/gsa-21.4.4” does not appear to contain CMakeLists.txt

What could be the reason?
Thanks in advance

Stefano

Environment

Operating system: Ubuntu 20.04.3 LTS
Kernel: 5.11.0-38-generic

Can you try again? I’ve updated the docs (Building GVM 21.04 — Greenbone Documentation documentation) to fix this issue. It must be cmake $SOURCE_DIR/gsad-$GSA_VERSION

1 Like

Thanks, now it worked!

Stefano

1 Like