Maintained by: NLnet Labs

[Unbound-users] spec file, compile warnings, ldns unfindable

Paul Wouters
Wed May 28 23:05:54 CEST 2008


On Thu, 22 May 2008, Wouter Wijngaards wrote:

> What exactly needs fixing in the configure file?
> Do you have a patch or description (you can send offlist) ?

with ldns-1.3.0, I don't need any patches. See spec file at the
bugzilla url. Mind you I have not tested any functionality yet.

Paul

> warning msgencode:333 fixed for 1.0.1, thanks.
> (appeared due to gcc version)
>
> Best regards,
> ~   Wouter
>
> Paul Wouters wrote:
> | Hi people,
> |
> | I've fixed up the spec file for inclusion into Fedora, see:
> | https://bugzilla.redhat.com/show_bug.cgi?id=447847
> |
> | Next, it seems the configure file cannot deal with an ldns that has
> | its header installed in /usr/include/ldns, with its library in
> /usr/lib{64}/
> | with configure --with-ldns or --with-ldns=/usr
> |
> | # Check whether --with-ldns was given.
> | if test "${with_ldns+set}" = set; then
> |   withval=$with_ldns;  specialldnsdir="$withval"
> |         CPPFLAGS="$CPPFLAGS -I$withval/include"
> |         LDFLAGS="$LDFLAGS -L$withval -L$withval/lib -lldns"
> |         ldnsdir="$withval"
> | fi
> |
> | Since this is the location on Fedora, unbound will mistakenly use the
> | build-in ldns (breaking fedora guidelines of staticly linking to an
> | available shared library)
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkg1HcMACgkQkDLqNwOhpPigXQCffjk4Ti7BywaOgn01l5fKG5P2
> /hAAnjFkniNNqWissfSrpTG9oD76jxwD
> =uSlZ
> -----END PGP SIGNATURE-----
>

-- 
Building and integrating Virtual Private Networks with Openswan:
http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155