User Tools

Site Tools


sar

SAR

Installation (on CentOS 6)
  • Install the necessary libraries :

yum install boost-devel hdf5-devel libtiff-devel

  • Go to sar directory
  • Installation :

./configure –with-boost=/usr CPPFLAGS='-I/usr/include' LDFLAGS='-L/usr/lib64' make make install

if boost version < 1.49
  • Download a newer version from the official website http://www.boost.org/
  • Go to the unpacked boost directory

./bootstrap.sh –prefix=/usr/local/boost ./b2 install

  • For sar installation use the following command instead:

./configure –with-boost=/usr/local/boost CPPFLAGS='-I/usr/local/boost/include -I/usr/include' LDFLAGS='-L/usr/local/boost/lib -L/usr/lib64' make make install

  • Add the following line to your .bashrc

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/boost/lib

sar.txt · Last modified: 2016/10/24 19:24 (external edit)