[OpenAFS] a familiar problem compiling aklog?
edwin
edwin@itasca.net
Sat, 10 Dec 2005 11:22:37 -0600 (CST)
I'm trying to get openAFS up and running on a network of LinuxFromScratch 5.1.1
computers. I've installed MIT kerberos 1.4.3 into the default /usr/local
location. I'm not using kerberos for login authentication yet, but I've got
the kdc up and running on the test server and the test client can get tickets
using kinit. Unfortunately, I can't get openAFS-1.4.0 to compile.
I ran "configure" with these options:
--with-afs-systname=i386_linux24 (it's kernel 2.4.31 w/openwall patch)
--with-krb5-conf=/usr/local/bin/krb5-config (it's there--I checked)
and it worked fine. When I run "make", though, it dies with this:
In file included from /usr/local/include/krb5.h:2550,
from aklog_main.c:62:
/sources/openafs-1.4.0/include/afs/com_err.h:15: error: parse error before
"afs_int32"
/sources/openafs-1.4.0/include/afs/com_err.h:16: error: parse error before
"afs_int32"
/sources/openafs-1.4.0/include/afs/com_err.h:22: error: parse error before
"afs_int32"
/sources/openafs-1.4.0/include/afs/com_err.h:23: error: parse error before
"afs_int32"
/sources/openafs-1.4.0/include/afs/com_err.h:24: error: parse error before
"afs_int32"
make[3]: *** [aklog_main.o] Error 1
make[2]: *** [aklog] Error 2
make[1]: *** [build] Error 2
make: *** [all] Error 2
I read about something similar happening here with a Mac OS X machine, and
thought from what I saw that the problem was that I originally put kerberos in
/usr, so I pulled it out entirely and recompiled it for /usr/local. Apparently
there was a possibility that afs was finding the krb5 version of some header
rather than its own, but putting krb5 stuff in /usr/local does solve the
problem.
Is this a known problem with a known solution?
David