857ed977 |
1 | * Compiling |
f4b0c7bb |
2 | |
857ed977 |
3 | Some development libraries are needed for compiling : |
4 | |
5 | gtk 2 development libraries (libgtk2.0-dev) |
6 | glib 2 development libraries (libglib2.0-dev) |
7 | libpopt development libraries (libpopt-dev) |
8 | |
9 | |
10 | To compile the source tree from a tarball, simply follow these steps : |
11 | |
12 | - run ./configure |
f4b0c7bb |
13 | - make |
14 | - make install |
15 | |
857ed977 |
16 | After running ./configure, you can also go in specific subdirectories and |
f4b0c7bb |
17 | use make, make install. |
18 | |
19 | |
857ed977 |
20 | * Source Tree Structure |
895ad015 |
21 | |
857ed977 |
22 | This is a sample of the suggested tree for Linux Trace Toolkit. |
895ad015 |
23 | |
24 | LibLTT : Libraries used for LTT. |
25 | README : This file. Introduction pointing to specific resources in the tree. |
26 | debian : debian config files. |
27 | doc : LTT Documentation. |
28 | doc/user : User related documentation. |
29 | doc/developer : Developer related documentation. |
30 | kernel : LTT kernel patches. |
31 | lttd : Linux Trace Toolkit daemon. |
32 | lttv : Linux Trace Toolkit visualizer/analyzer. |
33 | lttv/plugins : Linux Trace Toolkit visualizer plugins. |
34 | specs : RPM config files. |
857ed977 |
35 | |
36 | |
37 | * For Developers |
38 | |
39 | This source tree is based on the autotools suite from GNU to simplify |
40 | portability. Here are some things you should have on your system in order to |
41 | compile the subversion repository tree : |
42 | |
43 | |
44 | GNU autotools (automake-1,7, autoconf2.50, autoheader2.50) |
45 | (make sure your system wide "automake" points to version 1.7!) |
46 | GNU Libtool |
47 | (for more information, go to http://www.gnu.org/software/autoconf/) |
48 | |
49 | If you get the tree from the repository, you will need to use the autogen.sh |
50 | script. It calls all the GNU tools needed to prepare the tree configuration. |
51 | |
52 | |
53 | Mathieu Desnoyers |