Hi,

Sorry, this was my mistake on first patch testing. apply patch:
http://ping-viini.org/heimdal-epel.patch on openvas-smb-1.0.1 directory and
then try again with

rm -fr build
mkdir build
cd build
cmake .. && make && make install

does it work now?

Eero

2015-04-11 12:20 GMT+03:00 Deepak Jha <[email protected]>:

>  Hi,
>
>
>  Thanks for your help.
>
> I have successfully compiled and installed openvas-smb.
>
> I am trying to install openvas-library.
>
> cmake.. command successfully completed.Now i am trying to run make
> command.it completes till 99% and then gives error as below.
>
>
>  Linking C static library libsamba-static.a
> [ 93%] Built target samba-static
> [ 93%] Built target bin2c
> Linking C shared library libopenvas_wincmd.so
> [ 95%] Built target openvas_wincmd
> Linking C executable winexe
> /usr/bin/ld: ../samba/libsamba-static.a(credentials_krb5.c.o): undefined
> reference to symbol 'gss_krb5_import_cred@@gssapi_krb5_2_MIT'
> /usr/bin/ld: note: 'gss_krb5_import_cred@@gssapi_krb5_2_MIT' is defined
> in DSO /lib64/libgssapi_krb5.so.2 so try adding it to the linker command
> line
> /lib64/libgssapi_krb5.so.2: could not read symbols: Invalid operation
> collect2: error: ld returned 1 exit status
> make[2]: *** [winexe/winexe] Error 1
> make[1]: *** [winexe/CMakeFiles/winexe.dir/all] Error 2
> make: *** [all] Error 2
>
>
>  please let me know how can i fix this issue.
>
>
>  Regards,
> Deepak jha
>  ------------------------------
> *From:* [email protected] <[email protected]> on behalf
> of Eero Volotinen <[email protected]>
> *Sent:* Friday, April 10, 2015 7:37 PM
> *To:* Deepak Jha
> *Cc:* [email protected]
> *Subject:* Re: [Openvas-discuss] installing openvas 8 from source on
> CentOS 7
>
>
>
> 2015-04-10 17:04 GMT+03:00 Deepak Jha <[email protected]>:
>
>>  Hi,
>>
>>
>>
>> I am trying to compile openvas-library but getting below error.
>>
>>
>>
>> cmake ..
>>
>> -- Configuring the Libraries...
>>
>> -- Install prefix: /usr/local
>>
>> -- checking for module 'libopenvas_wmiclient>=0.0.1'
>>
>> --   package 'libopenvas_wmiclient>=0.0.1' not found
>>
>> -- checking for module 'libopenvas_wincmd>=0.0.1'
>>
>> --   package 'libopenvas_wincmd>=0.0.1' not found
>>
>> -- Looking for pcap...
>>
>> -- Looking for pcap... /usr/lib64/libpcap.so
>>
>> -- Looking for pcap-config...
>>
>> -- Looking for pcap-config... /usr/bin/pcap-config
>>
>> -- Looking for gpgme...
>>
>> -- Looking for gpgme... /usr/lib64/libgpgme.so
>>
>> -- Looking for ksba...
>>
>> -- Looking for ksba... /usr/lib64/libksba.so
>>
>> -- Looking for netsnmp...
>>
>> -- Looking for netsnmp... SNMP-NOTFOUND
>>
>> -- Looking for libgcrypt...
>>
>> -- Looking for libgcrypt... /usr/lib64/libgcrypt.so
>>
>> -- checking for module 'uuid'
>>
>> --   package 'uuid' 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)
>>
>>   misc/CMakeLists.txt:45 (pkg_check_modules)
>>
>>
>
>  You need to install uuid development package. I think then name of
> package is uuid-devel in centos / rhel (yum install -y uuid-devel)
>
>  --
> Eero
>
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to