Coda File System

RE: problems with compile of coda-5.3.9

From: GiantWEB <matty_at_giantweb.com>
Date: Mon, 21 May 2001 10:55:47 -0400
that explains.. docs are not complete..

Ok, I did what U said, now it went further but Bailed at:


checking for dbopen in -ldb... no
checking for dbopen in -lc... no
checking for dbm_open in -lc... no
configure: error: failed to find libdb



here is tail of config.log:

Thanks
Matt

-=-=-=--=-=-=-tail of config.log-=-=-=--=-=-

/usr/bin/ld: cannot find -ldb
collect2: ld returned 1 exit status
configure: failed program was:
#line 2510 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dbopen();

int main() {
dbopen()
; return 0; }
configure:2540: checking for dbopen in -lc
configure:2559: gcc -o conftest -g -O2   conftest.c -lc   1>&5
/tmp/ccg2fK5t.o: In function `main':
/home/matty/coda-5.3.9/configure:2555: undefined reference to `dbopen'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2548 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dbopen();

int main() {
dbopen()
; return 0; }
configure:2578: checking for dbm_open in -lc
configure:2597: gcc -o conftest -g -O2   conftest.c -lc   1>&5
/tmp/ccneIJiD.o: In function `main':
/home/matty/coda-5.3.9/configure:2593: undefined reference to `dbm_open'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2586 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dbm_open();

int main() {
dbm_open()
; return 0; }

-----Original Message-----
From: sneumann_at_TechFak.Uni-Bielefeld.DE
[mailto:sneumann_at_TechFak.Uni-Bielefeld.DE]
Sent: Monday, May 21, 2001 10:32 AM
To: matty_at_giantweb.com
Cc: codalist_at_TELEMANN.coda.cs.cmu.edu
Subject: Re: problems with compile of coda-5.3.9


"GiantWEB" <matty_at_giantweb.com> writes:
[...]
> Then I did coda compile.. Below is the output of the configure..
>
> Do I need to compile rpc2-1.11 as well?? There is no mention of this in
the
> docs, but I compiled it

Well, the tail of the config.log contains
a lot of *why* things failed.

Anyway, You have to configure, make and *make install*
all of the libraries lwp, rpc2 and rvm (in that order)
before you do coda.

Otherwise headers and libraries cannot be found be configure.

I don't know why rpm's didn't work.

So long,
Steffen
Received on 2001-05-21 10:55:04