Does it still have the bug where you have to do the following after 
installation?

 

echo "unixsocket /tmp/redis.sock" >> /etc/redis.conf

systemctl enable redis.service

systemctl restart redis.service

 

paul

 

From: Openvas-discuss [mailto:[email protected]] On 
Behalf Of Eero Volotinen
Sent: Tuesday, October 27, 2015 7:38 AM
To: Carlos L. Martinez <[email protected]>
Cc: [email protected]
Subject: Re: [Openvas-discuss] Errors compiling openvas-scanner under CentOS7

 

Just install from packages. atomic corp provides nice and working packages.

just do two steps:

wget -q -O - http://www.atomicorp.com/installers/atomic | sh

yum -y install openvas 




--

Eero

 

2015-10-27 12:25 GMT+02:00 Carlos L. Martinez <[email protected] 
<mailto:[email protected]> >:

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] 
<mailto:[email protected]> 
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

 

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

Reply via email to