Hi, Yes, changes mentioned below worked for me.after that I tried to install and I am able to install openvas-smb.
Below are the packages I have downloaded. openvas-libraries-8.0.1.tar.gz openvas-scanner-5.0.1.tar.gz openvas-manager-6.0.1.tar.gz greenbone-security-assistant-6.0.1.tar.gz openvas-cli-1.4.0.tar.gz openvas-smb-1.0.1.tar.gz I want to know in which order I should compile and install openvas packages? Thanks, Deepak Jha From: [email protected] [mailto:[email protected]] On Behalf Of Eero Volotinen Sent: Friday, April 10, 2015 5:32 PM To: Deepak Jha Cc: [email protected]; [email protected] Subject: Re: [Openvas-discuss] installing openvas 8 from source on CentOS 7 Hi Deepak Jha, Apply this patch to fix compiling under centos 7 / rhel 7. it's hack solution, but works for me. -- Eero --- CMakeLists.txt 2015-02-11 11:05:45.000000000 +0200 +++ ../openvas-smb-1.0.1.workd/CMakeLists.txt 2015-04-10 14:58:15.490421770 +0300 @@ -32,6 +32,10 @@ find_package(Perl REQUIRED) find_package(Popt REQUIRED) +set(GSSAPI_LIBRARIES /usr/lib64/heimdal) +set(GSSAPI_INCLUDE_DIRS=/usr/include/heimdal) +set(KRB5_CONFIG /usr/bin/heimdal-krb5-config) + find_package(GSSAPI) if (NOT "${GSSAPI_FLAVOR_HEIMDAL}" STREQUAL "TRUE") message (FATAL_ERROR "The heimdal GSS library could not be found. Please make sure the heimdal development package is installed.") 2015-04-10 14:12 GMT+03:00 Eero Volotinen <[email protected]<mailto:[email protected]>>: Hi, Heimdal (epel) packages install heimdal libraries to /usr/lib64/heimdal, so cmake cannot find them. ideas how to fix this? -- Eero 2015-04-10 12:52 GMT+03:00 Deepak Jha <[email protected]<mailto:[email protected]>>: I have added below repositories on centos 7 yum repository list. rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm rpm -Uvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm rpm -Uvh http://dl.atrpms.net/all/atrpms-repo-7-7.el7.x86_64.rpm rpm -Uvh http://repo.webtatic.com/yum/el7/webtatic-release.rpm From: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] On Behalf Of Eero Volotinen Sent: Friday, April 10, 2015 3:19 PM To: Deepak Jha Cc: [email protected]<mailto:[email protected]> Subject: Re: [Openvas-discuss] installing openvas 8 from source on CentOS 7 What repo is used to install heimdal packages as centos / rhel does not provide hemdall packages ? 2015-04-10 12:43 GMT+03:00 Deepak Jha <[email protected]<mailto:[email protected]>>: Hi, I am getting below error when I run cmake … [root@ETVAS7 build]# cmake .. -- checking for module 'popt' -- package 'popt' not found -- Found Popt: /usr/lib64/libpopt.so -- checking for module 'heimdal-gssapi' -- package 'heimdal-gssapi' not found -- Could NOT find GSSAPI (missing: GSSAPI_LIBRARIES) CMake Error at CMakeLists.txt:37 (message): The heimdal GSS library could not be found. Please make sure the heimdal development package is installed. -- Configuring incomplete, errors occurred! I have install heimdal packages. below packages are installed. heimdal-appl-clients.x86_64 0:1.6.0-0.9.20140621gita5adc06.el7 heimdal-appl-servers.x86_64 0:1.6.0-0.9.20140621gita5adc06.el7 heimdal-devel.x86_64 0:1.6.0-0.9.20140621gita5adc06.el7 heimdal-libs.x86_64 0:1.6.0-0.9.20140621gita5adc06.el7 heimdal-path.x86_64 0:1.6.0-0.9.20140621gita5adc06.el7 heimdal-server.x86_64 0:1.6.0-0.9.20140621gita5adc06.el7 heimdal-workstation.x86_64 0:1.6.0-0.9.20140621gita5adc06.el7 Regards, Deepak jha From: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] On Behalf Of Eero Volotinen Sent: Friday, April 10, 2015 3:06 PM To: Deepak Jha Cc: [email protected]<mailto:[email protected]> Subject: Re: [Openvas-discuss] installing openvas 8 from source on CentOS 7 Hi, You need to install heimdal version of gssapi. Looks like centos 7 provides only mit version that does not work with openvas-smb. Eero 2015-04-10 10:05 GMT+03:00 Deepak Jha <[email protected]<mailto:[email protected]>>: Hi, I am trying to compile openvas 8 source package on Cent OS 7.When I try to run CMAKE inside openvas-smb- it always says Heimdal-GSSAPI not found even Heimdal-GSSAPI is installed. May I know list of packages to be installed before running CMAKE. Thanks, Deepak jha _______________________________________________ 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
