Summary: | freeradius1.0.1 wont compile with heimdal-0.6.3-r1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Peter Tiggerdine <ptiggerdine> |
Component: | [OLD] Unspecified | Assignee: | Gentoo Dialup Developers <net-dialup> |
Status: | RESOLVED FIXED | ||
Severity: | critical | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Peter Tiggerdine
2005-01-11 18:59:47 UTC
I see that /usr/include/et/com_err.h is part of sys-fs/e2fsprogs. do you have this installed on your machine? Thanks for the idea but emerge -pv sys-fs/e2fsprogs confirms that I've got it installed.. Doing: ln -s /usr/include/et/com_err.h /usr/include/ got rid of rlm_krb5.c:40:21: com_err.h: No such file or directory and it seems like ./configure needs --enable-heimdal-krb5, so i added this to the ebuild: if use kerberos; then myconf="${myconf} --enable-heimdal-krb5" fi and it worked. The ebuild should probably test for what kerberos implementation is in use, and append --enable-heimdal-krb5 if heimdal. Øystein Senneset Haaland, Do you have a diff for you idea so we can test it and possibly ask the dev's to add it to portage? here's the diff: --- freeradius-1.0.1.ebuild 2005-02-28 21:09:38.493165520 +0100 +++ tmp/freeradius-1.0.1.ebuild 2005-02-28 23:26:17.915663832 +0100 @@ -52,6 +52,9 @@ if use frxp; then myconf="${myconf} --with-experimental-modules" fi + if use kerberos; then + myconf="${myconf} --enable-heimdal-krb5" + fi # kill modules we don't use if ! use ssl; then note that this is not a proper fix, since it just adds --enable-heimdal-krb5 if kerberos use flag is set. I tried to use: # if has_version >=app-crypt/heimdal-0.6.3-r1; then # myconf="${myconf} --enable-heimdal-krb5" # fi but it wouldn't work. Also, there is a new version of freeradius out. It compiles with the changes in the patch above, if the gcc 3.4 patch is not used. version bumped, including heimdal fix. check it and give me the results. Compiles fine here it will be marked stable when the time comes |