Coda File System

Re: Error building rpc2 libs from source package

From: Greg Troxel <gdt_at_ir.bbn.com>
Date: 13 Apr 2005 09:37:55 -0400
I'm not sure what your problem is.  I run coda on NetBSD 1.6.x, 2.0
and 2.99.15, and it's worked reasonably since the 1.3 days.

I build from CVS, and use --prefix=/usr/local/coda for
{lwp,rpc2,rvm,coda}.  I realize you are trying to put each package in
its own prefix, but that seems hard for no real benefit.

pkgsrc has lwp, rpc2, rvm, and they might be reasonably up to date.
coda's pkgsrc entry is not useful.

You will need -R as well, but you haven't got that far yet.

Install readline from pkgsrc.

Try this:

#!/bin/sh
for i in lwp rpc2 rvm coda; do
  echo "BUILDING $i" && \
  (cd $i && \
  ./bootstrap.sh && \
  rm -f config.cache && \
  LDFLAGS="-L/usr/pkg/lib -R/usr/pkg/lib" CFLAGS="-g -I/usr/pkg/include" CXXFLAGS="-g -I/usr/pkg/include" ./configure --prefix=/usr/local/coda && \
  gmake -k clean && 
  gmake -k &&
  gmake install)
done
(cd coda && gmake -k client-install server-install)
exit 0



-- 
        Greg Troxel <gdt_at_ir.bbn.com>
Received on 2005-04-13 09:41:50