This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Comments on Installation Guide
- From: Daniel Migault <mglt dot biz at gmail dot com>
- To: systemtap at sourceware dot org
- Date: Wed, 01 Jun 2011 09:33:32 +0200
- Subject: Comments on Installation Guide
- Reply-to: mglt dot biz at gmail dot com
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.