Open zingaro1972 opened 2 years ago
Hi @zingaro1972 you need to change some more things for alpine linux. Please know that we currently only support debian buster for this version.
Managed to install heimdal-gssapi on arch linux for openvas 21.0.4. Will try to make a package for openvas 21.4.4
For those facing this issue (ie in almalinux 9.2, my current distro), this is somewhat pkg-config related. Some heimdal files are wrongly placed.
run first : pkg-config --list-all #heimdal-gssapi should not be listed
check heimdal-gssapi.pc file location find / -type f | grep heimdal-gssapi.pc #in my case /usr/lib64/heimdal/lib/pkgconfig/
create symlink in right location cd /usr/lib64/pkgconfig/ #right location for pc files in my distro, check too ln -s /usr/lib64/heimdal/lib/pkgconfig/heimdal-gssapi.pc #create symlink
chek if everithing ok pkg-config --list-all #now should be listed and cmake will pass
I have the same issue on
Kali GNU/Linux Rolling x86_64
Kernel: 6.4.0-kali3-amd64
`$ dpkg-query -s heimdal-gssapi
dpkg-query: package 'heimdal-gssapi' is not installed and no information is available Use dpkg --info (= dpkg-deb --info) to examine archive files.`
Please, any solution?
I have the same issue on Kali GNU/Linux Rolling x86_64 Kernel: 6.4.0-kali3-amd64
`$ dpkg-query -s heimdal-gssapi
dpkg-query: package 'heimdal-gssapi' is not installed and no information is available Use dpkg --info (= dpkg-deb --info) to examine archive files.`
Please, any solution?
Did you apply my solution (see previous post ?)
I have the same issue on Kali GNU/Linux Rolling x86_64 Kernel: 6.4.0-kali3-amd64
$ dpkg-query -s heimdal-gssapi dpkg-query: package 'heimdal-gssapi' is not installed and no information is available Use dpkg --info (= dpkg-deb --info) to examine archive files.
Please, any solution?Did you apply my solution (see previous post ?)
Yes, but 'find' (step 2) did'nt find anything... This was the output that I got : `$ sudo find / -type f | grep hemidal-gssapi.pc
find: '/run/user/1000/doc': Permission denied ` I don't know whats wrong.
Did you apply my solution (see previous post ?)
Yes, but 'find' (step 2) did'nt find anything... This was the output that I got : `$ sudo find / -type f | grep hemidal-gssapi.pc
find: '/run/user/1000/doc': Permission denied ` I don't know whats wrong.
Now I see, the package isn't even installed. So I will have to install it first.
Note that this seems to be (to the best of my knowledge / understanding from the comments prior) not a problem originating from openvas-smb
itself but rather a Linux distribution specific problem which would affect all Linux software using pkg-config
. For now i would suggest:
For Fedora I followed the instructions at https://unix.stackexchange.com/a/1344 and this error went away and for Ubuntu I assume it would be sudo apt-get install build-essential
.
I am having this issue as well on Arch GNU/Linux mostly related because 1 there is no openvas-smb package, and git main openvas-smb looks for older heimdal-gssapi instead of krb5 package, I decided to get my hands at work and I compiled (with a lot of effort and research) the older heimdal the make install as mention above will install to /usr/heimdal/ then I have to link all the pkgconfig to the right place for Arch GNU/Linux but even like this it will not finish compiling :( I will post latest the output is in my lab and I am out now for a coffee.
Hi, the compile with cmake return this error: -- Could NOT find Git (missing: GIT_EXECUTABLE) -- Install prefix: /usr/local -- Checking for module 'heimdal-gssapi>=1.6.0' -- Package 'heimdal-gssapi', required by 'virtual:world', not found CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:545 (message): A required package was not found Call Stack (most recent call first): /usr/share/cmake/Modules/FindPkgConfig.cmake:733 (_pkg_check_modules_internal) CMakeLists.txt:147 (pkg_check_modules)
I have the files into the /usr/lib64/heimdal ...
this is the debug installation: Running with debug output on for the
find
commands. CMake Debug Log at /usr/share/cmake/Modules/FindGit.cmake:54 (find_program): find_program called with the following settings:find_program considered the following locations:
how i can add the correct path to cmake ?