Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RHEL/Centos 7, Heimdal package is not found #18

Closed
atomicturtle opened this issue Jul 23, 2018 · 3 comments
Closed

RHEL/Centos 7, Heimdal package is not found #18

atomicturtle opened this issue Jul 23, 2018 · 3 comments

Comments

@atomicturtle
Copy link

This had been an issue in 1.0.2 as well, and a patch for 1.0.2 was posted to the mailing list. Given the changes in 1.0.3 this approach is no longer compatible.

Note that the following 7.5 heimdal packages are available from the EPEL repo:

[root@c7-64-dev-scott openvas-smb-1.0.3]# rpm -qa |grep heimdal
heimdal-devel-7.5.0-1.el7.x86_64
heimdal-libs-7.5.0-1.el7.x86_64

[root@c7-64-dev-scott openvas-smb-1.0.3]# cmake3 -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONFDIR=/etc/ -DLOCALSTATEDIR=/var
-- The C compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/lib64/ccache/cc
-- Check for working C compiler: /usr/lib64/ccache/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found Perl: /usr/bin/perl (found version "5.16.3")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.27.1")
-- Found Git: /usr/bin/git (found version "1.8.3.1")
-- Install prefix: /usr
-- Checking for module 'gnutls>=3.2.15'
-- Found gnutls, version 3.3.26
-- Checking for module 'heimdal-gssapi>=1.6.0'
-- No package 'heimdal-gssapi' found
CMake Error at /usr/share/cmake3/Modules/FindPkgConfig.cmake:418 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake3/Modules/FindPkgConfig.cmake:585 (_pkg_check_modules_internal)
CMakeLists.txt:146 (pkg_check_modules)

-- Configuring incomplete, errors occurred!
See also "/root/src/openvas-smb-1.0.3/CMakeFiles/CMakeOutput.log".

@cfi-gb
Copy link
Member

cfi-gb commented Aug 3, 2018

@atomicturtle

In contrast to e.g. the gnutls packages required in the openvas-smb CMakeLists.txt the referenced heimdal-devel packages are not pkgconfig aware.

Solving this might be a matter of contact the maintainer of the heimdal-devel packages to get pkgconfig support within this packages and the build should work without any custom modifications.

@kroosec
Copy link
Contributor

kroosec commented Oct 25, 2018

Not related to openvas-smb dev. Please check with the relevant heimdal-devel packagers.

@kroosec kroosec closed this as completed Oct 25, 2018
@00willo
Copy link

00willo commented Jul 26, 2021

For the those arriving via goole, an issue has been raised in the upstream project heimdal/heimdal#765 for this. There's also a downstream bug in RedHat's bugzilla to cover the packaging fix for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants