Coda File System

Re: Q compiling on slackware

From: Thomas Portmann <thomas.portmann_at_elca.ch>
Date: 19 Aug 1998 17:38:11 +0200
jaharkes_at_cs.cmu.edu writes:

> > i have a problem compiling coda 4.6.1 on my linux machine:
> > kernel 2.0.35, slackware 3.2 with libc.5

> > PS: why is there an "ar rv" executed upon libreadline.a? this makes it
> > pretty much impossible to compile and install as 2 different users
> > (without copying libreadline somewhere else).
> 
> I wouldn't know where that would occur, is looks like some default rule for 
> building the libreadline.a library is triggered. Do you have any details on 
> this?

it's in the following file:
coda-4.6.1/coda-src/fail/Makefile.in
------------------------------------------------------------
FLIBS = ${LIBRPC2} ${LIBSE} ${LIBOLDLWP} ${LIBUTIL} ${LIBCOMPAT} \
       ${LIBREADLINE} ${LIBTERMCAP}
------------------------------------------------------------

and then i guess the dependency comes from:
coda-4.6.1/configs/Makerules
------------------------------------------------------------
%.a:
        $(AR) rv $@ $?
        $(RANLIB) $@
------------------------------------------------------------

the log is finally here:
------------------------------------------------------------
----> Entering fail
make[2]: Entering directory
`/mount/packages-2/src/coda/coda-4.6.1/coda-src/fail'

[deleted]

ar rv libfail.a fcon.client.o fcon.server.o filtutil.o fcon.o fail.o
delay.o clear.o isolate.o list.o join.o slow.o heal.o partition.o
newpartition.o
a - fcon.client.o
a - fcon.server.o
a - filtutil.o
a - fcon.o
a - fail.o
a - delay.o
a - clear.o
a - isolate.o
a - list.o
a - join.o
a - slow.o
a - heal.o
a - partition.o
a - newpartition.o
ranlib libfail.a
cc -g  -MD -DLINUX  -I/soft/include -I/soft/include/readline
-L/soft/lib  -I. -I/soft/packages-2/src/coda/coda-4.6.1/coda-src/fail
-I/soft/packages-2/src/coda/coda-4.6.1/include -DPRIVATE=static   -c
filcon.c -o filcon.o
ar rv /soft/lib/readline.a 
ar: /soft/lib/readline.a: Permission denied
make[2]: *** [/soft/lib/readline.a] Error 1
make[2]: Leaving directory
`/mount/packages-2/src/coda/coda-4.6.1/coda-src/fail'
----> Error in fail
make[1]: *** [Coda] Error 1
make[1]: Leaving directory
`/mount/packages-2/src/coda/coda-4.6.1/coda-src'
----> Error in coda-src
make: *** [Coda] Error 1
------------------------------------------------------------

hope this helps, thanks for the answer to my previous question
(#include <linux/time.h>).


		tom

-- 
thomas.portmann_at_elca.ch - I just wont read/answer posts in
                          HTML or otherwise encoded (except
                          for quoted printables).
Received on 1998-08-19 11:42:32