Comments on Installation Guide

Daniel Migault mglt.biz@gmail.com
Wed Jun 1 07:33:00 GMT 2011


Hi,

I went through the documentation, and maybe I would add a few 
indications for the installation. It looks that some of them have been 
removed from previous installation guides.

Regards,
Daniel


I Install systemtap

If you want to install systemtap from rpm :
   yum install systemtap systemtap-client systemtap-grapher 
systemtap-runtime systemtap-sdt-devel systemtap-server systemtap-testsuite

If you want the latest version, then you may built it from the git 
repository :
   I.1. Download the git directory
     If you don't already have a local copy :
     git clone http://sources.redhat.com/git/systemtap.git 
<http://sources.redhat.com/git/systemtap.git> systemtap.git
     If you have already a local copy then you just need to upgrade it :
     git pull

   I.2. Get pre-requisit rpms :
     yum install xmlto latex2html gcc gcc-c++ publican nspr-devel 
nss-devel avahi-devel elfutils-devel libdwarf-devel sqlite-devel 
boost-devel xmltool rpm-libs rpm-devel rpm-build pcp-libs-devel 
perl-ExtUtils-MakeMaker bison perl-PCP-PMDA  gtkmm24-devel 
libglademm24-devel

   I.3. Configure and build :
     cd systemtap.git
     ./configure
     Depending on your installation you may need more rpm. If message 
are not explicit enough you may look at the file config.log and search 
for "failed". Note that fatal error : ac_nonexistent.h should not be 
considered as errors.
      make
      make install


II Configure your kernel :

     yum install kernel-devel-`uname -r`
     debufinfo-install kernel-`uname -r`

     If installation does not succeed than install manually the packages 
by doing : # This indication was in older installation guides, and 
removed on version 1.6
     dpkg --force -ivh XXX

     test with : stap -v -e 'probe vfs.read {printf("read performed\n"); 
exit()}'
     If that does not work, then you may reboot.



More information about the Systemtap mailing list