[OpenAFS] Re: Failure to build OpenAFS 1.6.1a

Derrick Brashear shadow@gmail.com
Tue, 9 Oct 2012 16:29:35 -0400


On Tue, Oct 9, 2012 at 4:25 PM, Russ Allbery <rra@stanford.edu> wrote:
> Derrick Brashear <shadow@gmail.com> writes:
>
>> If you install macports, pkg-config is on your path, and configure finds
>> fuse there, and heimdal is installed in macports, but krb5-config from
>> the system was run, it used to happen.
>
> Well, yes, if krb5-config in your path uses the wrong result, you need to
> either use the --with-krb5 flags to disable use of krb5-config (a change
> made in the most recent version; not sure if it's on stable) or tell
> configure not to use krb5-config (with PATH_KRB5_CONFIG=/nonexistent or
> the like).

it's not wrong if i wanted to use the system krb5, but something else
which happens to be
in the same place the other kerberos is. well. it's:

>> Effectively the same problem could exist anywhere you have a native
>> kerberos but need to link in something which influences the linker
>> arguments.  (or possibly the cflags but i think we're already
>> sufficiently careful about that anywhere where it's likely to happen)
>
> Ah, yes, this is the problem I was talking about with -L and -l ordering.

yeah.



-- 
Derrick