[Nix-dev] bind should now depend on kerberos ?

raffalli at univ-savoie.fr raffalli at univ-savoie.fr
Sun Jun 9 18:59:42 CEST 2013


On Sun, Jun 09, 2013 at 10:54:46AM +0200, Peter Simons wrote:
> Hi Christophe,
> 
>  > It seems that bind (dns server) now requires gssapi/gssapi.h which is
>  > provided (at least) by kerberos and this dependency is missing. [...]
>  > With this extra dependency, bind compilation works.
> 
> I'm not sure what you mean. bind 9.9.3-P1 seems to compile just fine:
> 
>   $ nix-build ~/src/nixpkgs -A bind
>   /nix/store/z24msyik1zb9qp4pwdfkkb9ikpnbisjj-bind-9.9.3-P1


Here is the end of compilation for the very same version, but with heimdal kerberos installed:

....
checking for OpenSSL library... using OpenSSL from /nix/store/5bksj615hac3iia46slc9d5akkm7ilw5-openssl-1.0.1e/lib and /nix/store/5bksj615hac3iia46slc9d5akkm7ilw5-openssl-1.0.1e/include
checking whether linking with OpenSSL works... yes
checking whether linking with OpenSSL requires -ldl... no
checking OpenSSL library version... ok
checking for OpenSSL DSA support... yes
checking for EVP_sha256... yes
checking for EVP_sha384... yes
checking for EVP_sha512... yes
checking for OpenSSL ECDSA support... yes
checking for OpenSSL GOST support... yes
checking for PKCS11 support... disabled
checking for PKCS11 tools... disabled
checking for GSSAPI library... looking in /usr/lib
checking gssapi.h usability... no
checking gssapi.h presence... no
checking for gssapi.h... no
checking gssapi/gssapi.h usability... no
checking gssapi/gssapi.h presence... no
checking for gssapi/gssapi.h... no
configure: error: gssapi.h not found
builder for `/nix/store/q9fhc24mdfnbjp9vzpr1kvrd5vy2ad2j-bind-9.9.3-P1.drv' failed with exit code 1
error: build of `/nix/store/q9fhc24mdfnbjp9vzpr1kvrd5vy2ad2j-bind-9.9.3-P1.drv' failed

If I add heimdal as a dependency for bind it works.
I imagine that some part of heimdal are detected at the configurePhase and 
bind trie to compile with "DNS discovery for kerberos".

Cheers,
Christophe


 
> On what platform do you have trouble building bind?
> 
> Take care,
> Peter
> 
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20130609/33cc71b3/attachment.bin 


More information about the nix-dev mailing list