[chord] I can't find the dbm & vis

Bin YANG yangbinisme82 at gmail.com
Wed Jul 25 09:18:59 EDT 2007


Yesterday, I successfully deployed the chord with chord-0.1-20070529.
I want to deploy the CFS, but it is said that the version before 1
December 2006 of Chord should be built according to the HowTo CFS.htm

So I download the source chord-0.1-20060830,chord-0.1-20060908. But
they could not be built successfully. I use the chord-0.1-20070529
again, but I got the same error. My OS is Ubuntu Linux 7.04, sfslite
is sfslite-1.1.3. The SFS is installed by synaptic. What should I do?

Must I use a older version of chord to deploy the CFS?
Below is the error informations:

if g++ -DHAVE_CONFIG_H -I. -I/home/yangbin/Chord/chord-0.1/utils -I..
 -I../svc -I/home/yangbin/Chord/chord-0.1/lsd
-I/home/yangbin/Chord/chord-0.1/svc
-I/home/yangbin/Chord/chord-0.1/dhash
-I/home/yangbin/Chord/chord-0.1/chord
-I/home/yangbin/Chord/chord-0.1/merkle
-I/home/yangbin/Chord/chord-0.1/utils
-I/home/yangbin/Chord/build/chord/../sfslite/
-I/home/yangbin/Chord/sfslite-1.1.3/async
-I/home/yangbin/Chord/sfslite-1.1.3/arpc
-I/home/yangbin/Chord/sfslite-1.1.3/crypt
-I/home/yangbin/Chord/sfslite-1.1.3/sfsmisc
-I/home/yangbin/Chord/sfslite-1.1.3/libsfs
-I/home/yangbin/Chord/build/chord/../sfslite//svc
-I/usr/local/include -DSLEEPYCAT  -g -O2 -Wall -Werror  -MT location.o
-MD -MP -MF ".deps/location.Tpo" -c -o location.o
/home/yangbin/Chord/chord-0.1/utils/location.C; \
        then mv -f ".deps/location.Tpo" ".deps/location.Po"; else rm
-f ".deps/location.Tpo"; exit 1; fi
/home/yangbin/Chord/chord-0.1/utils/location.C: In member function
'void location::init()':
/home/yangbin/Chord/chord-0.1/utils/location.C:26: error: 'timenow'
was not declared in this scope
/home/yangbin/Chord/chord-0.1/utils/location.C: In member function
'void location::update_knownup()':
/home/yangbin/Chord/chord-0.1/utils/location.C:80: error: 'timenow'
was not declared in this scope
/home/yangbin/Chord/chord-0.1/utils/location.C: In member function
'time_t location::age()':
/home/yangbin/Chord/chord-0.1/utils/location.C:94: error: 'timenow'
was not declared in this scope
/home/yangbin/Chord/chord-0.1/utils/location.C: In member function
'void location::update(ptr<location>)':
/home/yangbin/Chord/chord-0.1/utils/location.C:106: error: 'timenow'
was not declared in this scope
/home/yangbin/Chord/chord-0.1/utils/location.C: In member function
'void location::update(chord_node)':
/home/yangbin/Chord/chord-0.1/utils/location.C:126: error: 'timenow'
was not declared in this scope
/home/yangbin/Chord/chord-0.1/utils/location.C: In member function
'char location::get_loss()':
/home/yangbin/Chord/chord-0.1/utils/location.C:196: error: 'timenow'
was not declared in this scope
/home/yangbin/Chord/chord-0.1/utils/location.C:198: error: 'timenow'
was not declared in this scope
/home/yangbin/Chord/chord-0.1/utils/location.C: In member function
'void location::set_loss()':
/home/yangbin/Chord/chord-0.1/utils/location.C:220: error: 'timenow'
was not declared in this scope
/home/yangbin/Chord/chord-0.1/utils/location.C: In member function
'void location::set_alive(bool)':
/home/yangbin/Chord/chord-0.1/utils/location.C:228: error: 'timenow'
was not declared in this scope
/home/yangbin/Chord/chord-0.1/utils/location.C:238: error: 'timenow'
was not declared in this scope
make[2]: *** [location.o] Error 1
make[2]: Leaving directory `/home/yangbin/Chord/build/chord/utils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/yangbin/Chord/build/chord'
make: *** [all] Error 2


On 7/24/07, Bin YANG <yangbinisme82 at gmail.com> wrote:
> To whom may concern:
>
> Below is my problem:
>
> I install the Chord, and run a bootstrap node and a additional node
> successfully according to the HowTo.html.
>
> And then, I want to start a client, but I cannot find the dbm.
> According to the HowTO.html, dbm located in the devel directory of the
> source tree. But I cannot find the devel directory in the souce.
> I find a dbm in my build directory (~/Chord/build/chord/tools), but it
> cannot run successfully.
>
> Similar, I cannot find the vis either.
>
> What is the problem? Do I have to rebuild the chord with special options?
>
> Thanks a lot.
>
> Bin YANG
>
>
>
> On 7/23/07, Bin YANG <yangbinisme82 at gmail.com> wrote:
> > When I was build the sfslite, I configured it with --with-dmalloc, but I got
> > the following error:
> >
> > checking for GMP library... checking for gmp.h... yes
> > checking for libgmp... configure: error: Could not find gmp library
> >
> > I donwload the gmp-4.2.1.tar.bz2, and install it as follows:
> > ./configure --host=x86
> > make
> > make check
> > make install
> >
> > But the same error still exists.
> >
> > What should I do?
> >
> > --
> > Bin YANG
> > Department of Computer Science and Engineering
> > Fudan University
> > Shanghai, P. R. China
> > EMail: yangbinisme82 at gmail.com
> >
>
>
> --
> Bin YANG
> Department of Computer Science and Engineering
> Fudan University
> Shanghai, P. R. China
> EMail: yangbinisme82 at gmail.com
>


-- 
Bin YANG
Department of Computer Science and Engineering
Fudan University
Shanghai, P. R. China
EMail: yangbinisme82 at gmail.com



More information about the chord mailing list