This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Comments on Installation Guide


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]