Coda File System

Re: Problem while compinling coda 6.0.10

From: Ivan Popov <pin_at_medic.chalmers.se>
Date: Fri, 27 May 2005 09:50:44 +0200
On Fri, May 27, 2005 at 04:12:50PM +0900, Stephen J. Turnbull wrote:
> >>>>> "Jan" == Jan Harkes <jaharkes_at_cs.cmu.edu> writes:
> 
>     Jan> Make sure you're building with a recent version of LWP.
> 
> Is it possible to tell the build infrastructure to look in
> 
>                /path/to/coda/stuff/{coda,lwp,rvm.rpc2}
> 
> rather than the "usual places" for includes and linkage info?

Hi Stephen,

my compilation script looks like that:

--------------------------------------------------------------------
cd /where/you/have/source/for/coda/

flex=/coda/konvalo.org/sw/pm/1/TOP/f/flex/V/2.5.4a/L/1/TOP
ncurses=/coda/konvalo.org/sw/pm/1/TOP/n/ncurses/V/5.4/L/1/TOP
readline=/coda/konvalo.org/sw/pm/1/TOP/r/readline/V/5.0/L/1/TOP
openssl=/coda/konvalo.org/sw/pm/1/TOP/o/openssl/V/0.9.7d/L/1/TOP
krb5=/coda/konvalo.org/sw/pm/1/TOP/k/krb5/V/1.4/L/3/TOP

lwp=/coda/konvalo.org/sw/pm/1/TOP/l/lwp/V/cvs20040923/L/1/TOP
rvm=/coda/konvalo.org/sw/pm/1/TOP/r/rvm/V/cvs20040923/L/1/TOP
rpc2=/coda/konvalo.org/sw/pm/1/TOP/r/rpc2/V/1.26/L/1/TOP

autoheader
autoconf

mv configure{,.ori}
sed \
 -e 's|\./conftest|LD_LIBRARY_PATH=$L_P ./conftest|g' \
 -e 's|\./\$ac_file|LD_LIBRARY_PATH=$L_P ./$ac_file|g' \
  configure.ori > configure

L_P=$ncurses/lib \
CPPFLAGS="\
-I$flex/include \
-I$readline/include \
-I$ncurses/include \
-I$openssl/include \
" \
LDFLAGS="\
-L$flex/lib \
-L$readline/lib \
-L$ncurses/lib \
-L$openssl/lib \
-lncurses \
" \
 sh ./configure --prefix=$SWPREFIX \
--with-lwp=$lwp \
--with-rvm=$rvm \
--with-rpc2=$rpc2 \
--with-crypto \
--with-krb5-includes=$krb5/include \
--with-krb5-libraries=$krb5/lib

 ...
--------------------------------------------------------------------

which is of course applicable independently of where the actual libraries
are placed, just change the variables assignments at the top - or
use konvalo.org's versions directly from where they are, if you can
compile Coda on a machine which is running Coda :)

Regards,
--
Ivan
Received on 2005-05-27 03:51:39