How to access and use DOT
Check out the DOT source code from the subversion repository
- Anonymous access:svn checkout https://moo.cmcl.cs.cmu.edu/svn/dot/src/trunk
- DOT Developers:svn checkout https://moo.cmcl.cs.cmu.edu/svn/dot
Required Software to Build
- gmp - the gnu multiple precision library
- autoconf, automake, libtool
- sfslite - an asynchronous C++ development library.
Compile
- See the README in the top level source directory
This file contains system-specific compilation notes for Linux, FreeBSD, and MacOS
- Patch sfslite with the DOT patches in src/trunk/patches/
- Build sfslite: cd sfslite; ./configure; make
- autoreconf -i -s
- cd /path/to/build/directory
/path/to/checkout/src/trunk/configure
make http://www.okws.org/doku.php?id=sfslite
Test
- Compile DOT
- Symlink the 'gcp' binary into a location that's in your path
- Ensure that you can ssh to 127.0.0.1 (localhost)
- If you're building outside the source tree, cp -r ~/source/tree/test ./ (copy it into your build tree)
- run test/gcp_test.sh
The test will attempt to copy the file to the same host and verify
the sha1 checksums of the original file and the copied file. You
should see output like:
... (some stuff here) ...
Yay! Put succeeded - Hash Time: 0.00, Data Time 0.70, Total Running Time 0.71
gcp: Done sending all files
real 0.71
user 0.00
sys 0.00
gcp: gc::dispatch(): client closed connection
SHA1(Makefile)= 959614ac134aed491c81236fcd66b3da531ebbae
SHA1(/tmp/foo)= 959614ac134aed491c81236fcd66b3da531ebbae