Skip to content

Build Instructions (Unix, draft)

acompa edited this page Apr 4, 2011 · 4 revisions

Requirements for the build process

TSDB depends on a few other libraries that you will have to install before attempting to built it. You'll need these things:

  • HDF5, version 1.8.5-patch1 or greater
    • HDF5 also requires Zlib
  • The Boost C++ Library, version 1.45 or greater
  • TinyXML++ (aka TiCPP)

For the GUI:

  • Qt4
  • Qwt5 (for graphing)

Building External Dependencies

Getting Zlib

Download the zlib precompiled binary from their download page. Uncompress and un-tar the file, make a Unix shared library with: make clean ./configure -s make then install with make install. If you do not have root access, use the --prefix=/desired/install/path flag any time you use ./configure.

Building HDF5

Download the source code for all platforms at the HDF5 source code page. Uncompress and un-tar the file. Then:

cd <top HDF5 source code directory>
./configure --prefix=<location for HDF5 software> 
make >& make.out
make check >& check.out
make install 

Building Boost

To use any of the separately-compiled Boost libraries, you can use the "easy install" steps outlined [here.] (http://www.boost.org/doc/libs/1_46_1/more/getting_started/unix-variants.html#easy-build-and-install) In summary, download a copy from the Downloads page (http://www.boost.org/users/download/), then: cd /path/to/boost_1_46_1 ./bootstrap.sh --help ./bootstrap.sh (add relevant options from --help) ./bjam install

Building TiCPP

Building QWT