Hi all,

I am trying to install openVAS-8 under a CentOS7 (fully patched) host but when 
I try to compile openvas-scanner's source code, the following errors appears:

[root@cosvas05 openvas-scanner-5.0.4]# cmake -DCMAKE_INSTALL_PREFIX=/opt/openvas
-- Configuring the Scanner...
-- The C compiler identification is GNU 4.8.3
-- Check for working C compiler: /bin/cc
-- Check for working C compiler: /bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Found PkgConfig: /bin/pkg-config (found version "0.27.1")
-- Install prefix: /opt/openvas
-- checking for module 'libopenvas_nasl>=8.0.2'
-- package 'libopenvas_nasl>=8.0.2' not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:279 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal)
CMakeLists.txt:187 (pkg_check_modules)


-- checking for module 'libopenvas_base>=8.0.2'
-- package 'libopenvas_base>=8.0.2' not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:279 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal)
CMakeLists.txt:188 (pkg_check_modules)


-- checking for module 'libopenvas_misc>=8.0.2'
-- package 'libopenvas_misc>=8.0.2' not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:279 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal)
CMakeLists.txt:189 (pkg_check_modules)


-- checking for module 'libopenvas_omp>=8.0.2'
-- package 'libopenvas_omp>=8.0.2' not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:279 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal)
CMakeLists.txt:190 (pkg_check_modules)

I have installed successfully openvas-libraries (output of ldconfig -v):

/opt/openvas/lib:
libopenvas_omp.so.8 -> libopenvas_omp.so.8.0.5
libopenvas_nasl.so.8 -> libopenvas_nasl.so.8.0.5
libopenvas_misc.so.8 -> libopenvas_misc.so.8.0.5
libopenvas_base.so.8 -> libopenvas_base.so.8.0.5

and I have exported LD_LIBRARY_PATH variable, but errors conitnues.

What am I doing wrong?

Thanks for your help.
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to