Summary: | mit-krb5 fails gnuconfig Cannot find resolver support routine res_search in -lresolv. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michael Crawford (ali3nx) <mcrawford> |
Component: | Current packages | Assignee: | AMD64 Project <amd64> |
Status: | VERIFIED FIXED | ||
Severity: | major | CC: | andrewbevitt, mog.johnny |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Patch to enable x86_64
Fixed up patch Fixed up ebuild |
Description
Michael Crawford (ali3nx)
2004-01-17 01:14:21 UTC
Created attachment 23958 [details, diff]
Patch to enable x86_64
The build process needs a few helping steps...
First we need to add --with-netlib=/usr/lib/libresolv.so
to the econf because it appears that libresolv is not read properly with
--enable-dns activated (dont ask me why I dont have a clue)....
Secondly there is this patch, src/config/config.sub defines build time
system information such the system build type : x86_64-pc-linux-gnu
This file doesnt support x86_64 unless this patch is applied :)
Thirdly the sizeof (short) cannot be determined properly, this is a
problem in src/util/profile/configure on line 4370 .. I think...
Thats all so far but there could quite possibly be more.
Created attachment 23965 [details, diff]
Fixed up patch
Chuck this in /usr/portage/app-crypt/mit-krb5/files/ (or the equivelent in
your overlay directory, which is a more approved practice of course).
Ebuild is coming
Created attachment 23966 [details]
Fixed up ebuild
The ebuild to apply the patch automatically.
Test this if you can, works here though :) i've tested cyfred's patch on phr0zen and the ebuild finished successfully twice and both the bins and sbins executed... this should be reviewed by devs for cvs commit asap due to the blocker not a blocker fixed in cvs already excellent. Very proud of my efforts to help close this bug. |