[OpenAFS] Re: Failure to build OpenAFS 1.6.1a

Russ Allbery rra@stanford.edu
Tue, 09 Oct 2012 13:25:11 -0700


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).

> 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.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>