Bug#246404: Configure can't find res_* in libresolv.

0 views
Skip to first unread message

Kurt Roeckx

unread,
Apr 28, 2004, 5:40:15 PM4/28/04
to
Package: krb5
Version: 1.3.3-1

When trying to configure the package on amd64 I get the flowing
error:
checking for res_search... no
checking for res_search in -lresolv... no
configure: error: Cannot find resolver support routine res_search
in -lresolv.

This is because the configure script does not include resolv.h to
test for it. The real name of the function in the library is
_res_search. On arches that existed before glibc 2.2 there is a
weak alias that makes res_search work.

I was trying to fix the configure script myself but it failed
because I seem to be unable to make the new versions of
configure. Any hint on how to make them?


Kurt

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Sam Hartman

unread,
Apr 28, 2004, 11:40:09 PM4/28/04
to
ACLOCAL=true ./util/reconf --force

That will regenerate the configure scripts. If your patch is
sufficiently general I'll pass it upstream.

Kurt Roeckx

unread,
May 1, 2004, 7:40:53 AM5/1/04
to
On Wed, Apr 28, 2004 at 11:17:21PM -0400, Sam Hartman wrote:
> ACLOCAL=true ./util/reconf --force
>
> That will regenerate the configure scripts. If your patch is
> sufficiently general I'll pass it upstream.

Here is the patch.


Kurt

krb5.resolv.diff
Reply all
Reply to author
Forward
0 new messages