[PATCH Coda 0/5]

Jan Harkes jaharkes at cs.cmu.edu
Thu Jul 12 03:40:34 UTC 2007


On Wed, Jul 11, 2007 at 09:57:31PM -0500, Eric Anderson wrote:
> I've done the patches and buildworld/kernel, and have loaded the kernel 
> module.  All seems well.  Now I need to get the latest client running, 
> and begin some tests.  Do you have any notes on the client, since the 
> port is essentially defunct?  What's my fastest path to a working client?

    wget http://www.coda.cs.cmu.edu/pub/lwp/src/lwp-2.3.tar.gz
    wget http://www.coda.cs.cmu.edu/pub/rvm/src/rvm-1.14.tar.gz
    wget http://www.coda.cs.cmu.edu/pub/rpc2/src/rpc2-2.5.tar.gz
    wget http://www.coda.cs.cmu.edu/pub/rpc2/src/coda-6.9.1.tar.gz

    tar -xzf lwp-2.3.tar.gz
    ( cd lwp-2.3 ; ./configure ; gmake ; sudo gmake install )

    tar -xzf rvm-1.14.tar.gz
    ( cd rvm-1.14 ; ./configure ; gmake ; sudo gmake install )

    tar -xzf rpc2-2.5.tar.gz
    ( cd rpc2-2.5 ; ./configure ; gmake ; sudo gmake install )

    tar -xzf coda-6.9.1.tar.gz
    ( cd coda-6.9.1 ; ./configure --prefix=/usr/coda ; gmake ;
    sudo gmake client-install )

    # load the coda kernel module, kldload coda or something
    /usr/coda/sbin/venus-setup testserver.coda.cs.cmu.edu 100000
    /usr/coda/sbin/venus
    ls /coda/testserver.coda.cs.cmu.edu/

If everything worked ok you should see 2 directories and a file named
'WELCOME'.

lwp, rvm and rpc2 use automake so I think gmake is not really necessary
anymore, but there may still be some gnu artifacts around, I think I
removed the one more from rpc2 not too long ago. I still want to move
the main Coda source to automake to simplify the build and get rid of
the remaining gmake dependencies.

As far as other build dependencies, I think the following are the
minimal needed one, but they tend to come installed on most systems,

    pkg-config, libreadline5-dev, libncurses5-dev, g++, flex, bison or yacc

    (these were listed as build dependencies on a debian system)

To remove everything from your system, the automake based libraries have
a convenient uninstall target, for Coda itself everything 'should' have
ended up under /usr/coda. I haven't actually tried installing outside
of /usr or /usr/local in a while though.

Jan



More information about the freebsd-fs mailing list