afs on linux ppc

Harald Barth haba at pdc.kth.se
Wed Nov 30 17:37:50 CET 2005



> i am trying to install arla-0.4 on ubuntu linux ppc on an ibook G4.

I guess you mean 0.40.

> gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../lib/roken
> -I../lib/roken -I../include -I../include -I../include -I../include   -Wall
> -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast
> -Wmissing-declarations -Wnested-externs -g  -Wall -Wmissing-prototypes
> -Wpointer-arith -Wmissing-declarations -Wnested-externs  -c rxperf.c
> rxperf.c:82: error: static declaration of '__progname' follows non-static
> declaration
> ../lib/roken/err.h:45: error: previous declaration of '__progname' was here
> rxperf.c: In function 'do_client':
> rxperf.c:693: warning: pointer targets in passing argument 3 of 'readfile'
> differ in signedness
> make[1]: *** [rxperf.o] Error 1
> make[1]: Leaving directory `/usr/src/arla-0.40/rx'
> make: *** [all-recursive] Error 1

Arla 0.40 has rxperf.c version 1.24. Later versions of rxperf.c have
that bug fixed. You can either

    Modify the makefile to ignore rxperf.c (it is only used in the rxperf 
    program which is not essential)

    Use Arla 0.41 which has this fixed and was released any day now
    (there is a ftp://ftp.stacken.kth.se/pub/arla/snap/arla-0.41-RC4.tar.gz)

    Remove the faulty declaration and replace all __progname with "rxperf".

> and... is it possible to install arla on this machine?

The combination Linux and PPC is not very usual, but it should work (with
standard LWP). 0.41 should even work with pthreads instead of LWP. I built
my 0.41-RC1 (on x86) last week with the following options:

./configure 
	    --with-krb5=/usr/heimdal-0.7.1 \ # where my krb5 lives
            --with-krb4=no                 \ # krb4 is so last century
            --with-sys=/usr/src/linux      \ # where kernel tree lives
            --disable-linux-syscall        \ # my heimdal is new and uses /proc
            --with-pthreads                \ # the newer threads library

And I don't see any reason why it should not work on your system. (At
least not yet ;-) For cache file system I recommend ext2, I don't know
what Ubuntu ships as default. There have been problems with reiserfs
and xfs in the past. Ext3 works but your arla cache is invalidated at
every reboot anyway, so you don't need the extra log.

Harald.





More information about the Arla-drinkers mailing list