[OpenAFS-port-darwin] OpenAfs-1.4.1-rc2 running and compile aklog for OS X 10.4

Keith Johnston keith@cs.auckland.ac.nz
Mon, 12 Dec 2005 12:01:35 +1300


Hi
	I have been running OpenAfs-1.4.1-rc2  on OS X 10.4.3. I have been 
running a script that copies a local directory into afs deletes it and 
the copies it again until the user tokens expire. I  am sorry to report 
that I have been seeing the same problems of the cp or rm stopping and 
being unable to be killed off plus afs then can not be topped or the 
machine gracefully restarted.
	I am currently trying out the arla-0.41 client and it seems to be 
stable if not as fast as the OpenAFS client.
	I am curious as to whether people have been able to compile the source 
for OpenAfs-1.4.1-rc2 and get aklog to build. I can make 
OpenAfs-1.4.1-rc2 but if I try to build it with aklog  it dies as 
follows using xcode 2.2 is there a configure option I should be using?

+ test yes = yes
+ cd src
+ cd aklog
+ make all
cc  -O -DALLOW_REGISTER -I/Users/csad/openafs-1.4.1-rc2/src/config -I. 
-I. -I/Users/csad/openafs-1.4.1-rc2/include 
-I/Users/csad/openafs-1.4.1-rc2/include/afs 
-I/Users/csad/openafs-1.4.1-rc2/include/rx 
-I/Users/csad/openafs-1.4.1-rc2 -I/Users/csad/openafs-1.4.1-rc2/src 
-I/Users/csad/openafs-1.4.1-rc2/src -no-cpp-precomp -c aklog.c
cc  -O -DALLOW_REGISTER -I/Users/csad/openafs-1.4.1-rc2/src/config -I. 
-I. -I/Users/csad/openafs-1.4.1-rc2/include 
-I/Users/csad/openafs-1.4.1-rc2/include/afs 
-I/Users/csad/openafs-1.4.1-rc2/include/rx 
-I/Users/csad/openafs-1.4.1-rc2 -I/Users/csad/openafs-1.4.1-rc2/src 
-I/Users/csad/openafs-1.4.1-rc2/src -no-cpp-precomp -c aklog_main.c
aklog_main.c:198:2: error: #error "Must have either keyblock or session 
member of krb5_creds"
aklog_main.c:204:2: error: #error "You must have one of 
krb5_524_convert_creds or krb524_convert_creds_kdc available"
aklog_main.c: In function 'auth_to_cell':
aklog_main.c:631: warning: passing argument 2 of 'memcpy' makes pointer 
from integer without a cast
aklog_main.c: At top level:
aklog_main.c:1530: warning: 'struct error_table' declared inside 
parameter list
aklog_main.c:1530: warning: its scope is only this definition or 
declaration, which is probably not what you want
aklog_main.c: In function 'add_to_error_table':
aklog_main.c:1536: warning: passing argument 1 of 'add_error_table' 
from incompatible pointer type
aklog_main.c: In function 'get_credv5':
aklog_main.c:1587: error: invalid lvalue in assignment
make[3]: *** [aklog_main.o] Error 1
make[2]: *** [aklog] Error 2
make[1]: *** [build] Error 2
make: *** [all] Error 2


Thanks in advance

Keith
                          -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Keith Johnston									xtn: 87977
Computer Support
Computer Science Department					Rm 395

	This email is brought to you by the letters OS X and the number 10,3 
and 9
                          =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=