Arla on Mac OS 10.5

Bo Brantén bosse at acc.umu.se
Mon Jul 12 15:33:42 CEST 2010


As has been reported here before the binary distribution of Arla 0.90 for 
Mac OS available on stacken works on 10.4 but on 10.5 one get an error on 
multiple symbols for some string functions when trying to load the kernel 
module so I tryed to compile arla myself on 10.5 and here is how it whent:

Install the binary disribution for 10.4 (only the kernel module needs to 
be updated for 10.5)
Install heimdal
Install openssl
in arla-0.90 run: ./configure --with-krb5=/usr/heimdal
patch nnpfs/bsd/nnpfs_common.c:
> #define HAVE_KERNEL_STRLCPY 1
> #define HAVE_KERNEL_MEMCPY 1
patch nnpfs/bsd/nnpfs_syscalls-common.c:
< #ifdef HAVE_KERNEL_KAUTH_CRED_GETUID
---
>     /* #ifdef HAVE_KERNEL_KAUTH_CRED_GETUID */
< #else
---
>     /* #else
< #endif
---
>     #endif */
compile arla, nnpfs will be built, compiling apps and libs will fail but 
we only need the kernel module...
sudo cp /Users/bobranten/src/arla-0.90/nnpfs/bsd/nnpfs_mod.o 
/usr/arla/bin/nnpfs.kext/Contents/MacOS/nnpfs
sudo chmod +x /usr/arla/bin/nnpfs.kext/Contents/MacOS/nnpfs
sudo /usr/arla/sbin/startarla
ls /afs/stacken.kth.se/ftp/pub
cat /afs/stacken.kth.se/ftp/pub/README
It works!

Bo Branten



More information about the Arla-drinkers mailing list