arla-0.35.8 build on Darwin (Mac OS X 10.1.5) still not working
Joe Izen
joe at utdallas.edu
Sat Jul 20 22:07:37 CEST 2002
Thanks for the suggestion, however I'm not home yet. Here's my
installation notes. Error at the bottom. Further advise would be
appreciated. -Joe
====================================================================
Building arla:
Following instructions in INSTALL and noting:
Mac OS X/Darwin
The platforms we have tested are Mac OS X 10.0.4 (Darwin 1.3.7) and
Mac OS X 10.1 (Darwin 1.4). You must install the Developer Tools CD
before you can compile Arla. On Mac OS X 10.1, you must currently use
the option --disable-mmap to the configure script, since mmap is
broken in that version.
and private communication from lha at e.kth.se:
--with-krbafs=dir use cmu's krbafs lib (If you not are using kth-krb.
This is not needed when using kth-krb since
libkafs is included there.)
[localhost:joe/Desktop/arla-0.35.8] root# ./configure
--with-krbafs=dir --disable-mmap
This ran sucessfully.
Then:
* Installing arla
Run `make install'. It will create and populate these directories:
/usr/arla/bin all user binaries
/usr/arla/sbin arla-cli and the startarla script
/usr/arla/libexec the arlad
/usr/arla/cache the cached files will be stored here
(core-dumps from arlad as well)
/usr/arla/etc configuration files:
ThisCell, CellServDB, arla.conf
/usr/arla/lib random libraries
If you're already part of an AFS cell, modify /usr/arla/etc/ThisCell
and make sure your cell is mentioned in /usr/arla/etc/CellServDB. If
you don't have a cell you'll still be able to run as a client in the
cell `stacken.kth.se' and access all cells listed in CellServDB.
[localhost:joe/Desktop/arla-0.35.8] root# make install
SUBDIRS='include lib util ydr lwp rxdef lib/ko rx lib/bufdir rxkad
xfs arlad conf appl tests doc'; \
for i in $SUBDIRS; \
do (cd $i && make install) || exit 1; done
../mkinstalldirs /usr/arla/include
for x in atypes.h fs_errors.h ; \
do \
b=`basename $x`; \
if test -f $b; then \
/usr/bin/install -c -m 644 $b /usr/arla/include/$b; \
else \
/usr/bin/install -c -m 644 ./$b /usr/arla/include/$b; \
fi; \
done
SUBDIRS='roken sl editline acl cmd'; \
for i in $SUBDIRS; \
do (cd $i && make install) || exit 1; done
../../mkinstalldirs /usr/arla/lib /usr/arla/include
/usr/bin/install -c -m 644 libroken.a /usr/arla/lib/libroken.a
for x in base64.h getarg.h parse_bytes.h parse_time.h parse_units.h
resolve.h rtbl.h roken.h; do \
/usr/bin/install -c -m 644 ./$x /usr/arla/include/$x; \
done
../../mkinstalldirs /usr/arla/include/ss
/usr/bin/install -c -m 644 ./ss.h /usr/arla/include/ss/ss.h
../../mkinstalldirs /usr/arla/lib
/usr/bin/install -c -m 555 libsl.a /usr/arla/lib/libsl.a
/usr/bin/install -c -m 555 libsl.a /usr/arla/lib/libss.a
../../mkinstalldirs /usr/arla/bin
/usr/bin/install -c -m 0555 mk_cmds /usr/arla/bin/mk_cmds
../../mkinstalldirs /usr/arla/lib; \
/usr/bin/install -c -m 644 libeditline.a /usr/arla/lib/libeditline.a;
../../mkinstalldirs /usr/arla/lib
/usr/bin/install -c -m 644 -m 0555 libacl.a /usr/arla/lib/libacl.a
../../mkinstalldirs /usr/arla/include/afs
/usr/bin/install -c -m 644 ./cmd.h /usr/arla/include/afs/cmd.h
../../mkinstalldirs /usr/arla/lib
/usr/bin/install -c -m 555 libcmd.a /usr/arla/lib/libcmd.a
for man in cmd.3 ; do \
for a in 1 2 3 4 5 6 7 8 9 0 ; do \
if test `basename $man .$a`.$a = $man; then \
if test -f $man ; then \
man_inst=$man ; \
else \
man_inst=./$man; \
fi ;\
../../mkinstalldirs /usr/arla/man/man$a; \
/usr/bin/install -c -m 644 $man_inst
/usr/arla/man/man$a/$man; \
fi ; \
done ; \
done
../mkinstalldirs /usr/arla/lib /usr/arla/include
/usr/bin/install -c -m 644 libutil.a /usr/arla/lib/libutil.a
for i in bool.h hash.h heap.h list.h log.h; do \
/usr/bin/install -c -m 644 ./$i /usr/arla/include/$i; \
done ; \
MANPAGES='log_log.3'; for x in $MANPAGES; do \
n=`echo $x | sed 's/\(.*\)\.[1-9a-zA-Z]*$/\1/'`; \
e=`echo $x | sed 's/.*\.\([1-9a-zA-Z]*\)$/\1/'`; \
f=`echo $n | sed ''`; \
../mkinstalldirs /usr/arla/man/man$e ; \
/usr/bin/install -c -m 644 ./$x \
/usr/arla/man/man$e/$f.$e; \
done
../mkinstalldirs /usr/arla/bin
for x in ydr; do \
f=`echo $x | sed ''`; \
/usr/bin/install -c $x /usr/arla/bin/$f; \
done
cd ..; CONFIG_FILES=lwp/make-process.o.sh CONFIG_HEADERS= /bin/sh config.status
creating lwp/make-process.o.sh
/bin/sh make-process.o.sh
rm -f liblwp.a
ar rc liblwp.a lwp_asm.o process.o lock.o iomgr.o timer.o fasttime.o
q.o preempt.o
ranlib liblwp.a
gcc -o testlwp testlwp.o -L. -llwp ../lib/roken/libroken.a
gcc -o rw rw.o -L. -llwp ../lib/roken/libroken.a
../mkinstalldirs /usr/arla/lib /usr/arla/include
/usr/bin/install -c -m 644 liblwp.a /usr/arla/lib/liblwp.a
for x in lock.h preempt.h timer.h; do \
b=`basename $x`; \
/usr/bin/install -c -m 644 ./$b /usr/arla/include/$b; \
done
/usr/bin/install -c -m 644 ./lwp_asm.h /usr/arla/include/lwp.h
../mkinstalldirs /usr/arla/lib
for LIB in librxdefclient.a librxfsserver.a librxvlserver.a
librxvolserver.a libptserver.a libptclient.a libbosserver.a
libbosclient.a libkaclient.a libkaserver.a ; do /usr/bin/install -c
-m 644 $LIB /usr/arla/lib/$LIB ; done
../mkinstalldirs /usr/arla/include
for INC in vldb.h cb.h fs.h pts.h vldb.cs.h vldb.ss.h cb.cs.h
cb.ss.h fs.cs.h fs.ss.h pts.cs.h pts.ss.h ubik.cs.h ubik.ss.h
bos.cs.h pts.ss.h ; do /usr/bin/install -c -m 644 $INC
/usr/arla/include/$INC ; done
../../mkinstalldirs /usr/arla/lib /usr/arla/include
/usr/bin/install -c -m 644 libko.a /usr/arla/lib/libko.a
for i in cellconfig.h auth.h; do \
/usr/bin/install -c -m 644 ./$i /usr/arla/include/$i; \
done
../mkinstalldirs /usr/arla/lib /usr/arla/include
../mkinstalldirs /usr/arla/include/rx
../mkinstalldirs /usr/arla/sbin /usr/arla/bin
/usr/bin/install -c rxdebug /usr/arla/bin/rxdebug
/usr/bin/install -c rxperf /usr/arla/sbin/rxperf
/usr/bin/install -c -m 644 librx.a /usr/arla/lib/librx.a
for x in rx.h rx_clock.h rx_event.h rx_globs.h rx_mach.h rx_misc.h
rx_multi.h rx_null.h rx_pkt.h rx_queue.h rx_trace.h rx_user.h
rxgencon.h; do \
/usr/bin/install -c -m 644 ./$x /usr/arla/include/rx/$x; \
done ; \
MANPAGES='rxdebug.1'; for x in $MANPAGES; do \
n=`echo $x | sed 's/\(.*\)\.[1-9a-zA-Z]*$/\1/'`; \
e=`echo $x | sed 's/.*\.\([1-9a-zA-Z]*\)$/\1/'`; \
f=`echo $n | sed ''`; \
../mkinstalldirs /usr/arla/man/man$e ; \
/usr/bin/install -c -m 644 ./$x \
/usr/arla/man/man$e/$f.$e; \
done
../../mkinstalldirs /usr/arla/lib
/usr/bin/install -c -m 644 libbufdir.a /usr/arla/lib/libbufdir.a
../mkinstalldirs /usr/arla/include/rx
/usr/bin/install -c -m 644 ./rxkad.h /usr/arla/include/rx/rxkad.h
../mkinstalldirs /usr/arla/lib
/usr/bin/install -c -m 644 librxkad.a /usr/arla/lib/librxkad.a
SUBDIRS='bsd'; \
for i in $SUBDIRS; \
do (cd $i && make install); done
SUBDIRS='bin'; \
for i in $SUBDIRS; \
do (cd $i && make all); done
make[3]: Nothing to be done for `all'.
../../mkinstalldirs /usr/arla/bin
PROG_BIN='xfs_mod.o'; for x in $PROG_BIN; do \
f=`echo $x | sed 's,x,x,'`; \
/usr/bin/install -c $x /usr/arla/bin/$f; \
done
for i in lkm subsys modules; do \
if test -d /$i; then \
/usr/bin/install -c xfs_mod.o /$i/xfs_mod.o; \
fi; \
done
cd bin && make install
../../../mkinstalldirs /usr/arla/bin
PROG_SBIN='mount_xfs umount_xfs'; for x in $PROG_SBIN; do \
f=`echo $x | sed 's,x,x,'`; \
/usr/bin/install -c $x /usr/arla/sbin/$f; \
done
SOURCES_BIN='./xfs_makedev startarla'; \
for x in $SOURCES_BIN; do \
f=`basename $x | sed 's,x,x,'`; \
/usr/bin/install -c $x /usr/arla/sbin/$f; \
done
MANPAGES='mount_xfs.8 umount_xfs.8'; for x in $MANPAGES; do \
n=`echo $x | sed 's/\(.*\)\.[1-9a-zA-Z]*$/\1/'`; \
e=`echo $x | sed 's/.*\.\([1-9a-zA-Z]*\)$/\1/'`; \
f=`echo $n | sed 's,x,x,'`; \
../../../mkinstalldirs /usr/arla/man/man$e ; \
/usr/bin/install -c -m 644 ./$x \
/usr/arla/man/man$e/$f.$e; \
done
gcc -flat_namespace -o arla-cli adir.o arla.o arladeb.o arladebu.o
cmcb.o conn.o cred.o darla.o discon_log.o dynroot.o fcache.o fprio.o
inter.o kernel.o messages.o reconnect.o subr.o volcache.o xfs.o
bsd-subr.o arla-cli.o -L../lib/bufdir -lbufdir -L../rxdef
-lrxdefclient -L../rx -lrx -L../lwp -llwp -L../lib/sl -lsl
-L/Users/joe/Desktop/arla-0.35.8/lib/editline -leditline -L../lib/ko
-lko -L../util -lutil ../lib/roken/libroken.a -L../rxkad -lrxkad
-lkrb4 -ldes524 -lkrb5 -lcom_err -lk5crypto -lcom_err
/usr/bin/ld: Undefined symbols:
_k_hasafs
_k_pioctl
make[1]: *** [arla-cli] Error 1
make: *** [install] Error 1
[localhost:joe/Desktop/arla-0.35.8] root#
More information about the Arla-drinkers
mailing list