-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL
67 lines (49 loc) · 2.33 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
sp-rtrace installation instructions
====================================
1. Compiling from sources
-------------------------
1.1 Dependencies
----------------
The following packages must be installed before compiling sp-rtrace
on Debian based systems:
autoconf(>=2.67), automake(>=1.11), libtool(>=2.2.6), doxygen(>=1.7.1),
binutils-dev(>=2.20.1), libglib2.0-dev(>=2.24.2)
Note that earlier versions might also work.
In RPM based distributions the dependencies are named a bit differently,
and you need:
autoconf, automake, libtool, doxygen, binutils-devel, glib2-devel, gcc-c++
1.2 Compilation & Installation
------------------------------
To compile sp-rtrace extract the source archive and do the following
steps in the sp-rtrace directory:
1) Greate configuration file with "autoreconf -fi"
2) Create makefile with "./configure"
The configure tool accepts standard parameters (like installation
directory etc.). Try "./configure --help to see all options. There
are two sp-rtrace specific optional parameters:
--enable-debug-info - enables additional debug output in console.
--disable-precomp - disables precompiled header usage for C++
parts.
3) Build the sp-rtrace binaries with "make"
4) Install the bult binaries with "make install"
5) Run "ldconfig -v" so that dynamic linker finds libsp-rtrace.so
Optional:
6) After installing sp-rtrace and dejagnu test framework, run
"make check" to verify that sp-rtrace and the modules work fine
1.3 Trace data visualization dependencies
-----------------------------------------
Timeline charts and callgraphs require additional packages to be
installed. Timeline generation requires Gnuplot (gnuplot-nox in
Debian) and callgraph generation requires GraphViz (graphviz package
in Debian).
1.4 Troubleshooting
-------------------
While precompiled headers speed up C++ compilation, it often makes
it harder to locate the error sources. If this is a problem, disable
precompiled headers with --disable-precomp configure option (see
Compilation & Installation).
sp-rtrace will at run-time print additional debug messages when
configured with --enable-debug-info option (see Compilation &
Installation).
If sp-rtrace utilities don't find the modules or other utilities, you
can use "strace -f" to trace where they try to find them from.