-
Notifications
You must be signed in to change notification settings - Fork 246
/
README.GIT
65 lines (43 loc) · 1.85 KB
/
README.GIT
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
Welcome to the Bleeding Edge of Ganglia Development
The git source represents the latest snapshot of Ganglia
development.
For best results, make sure you have in your development environment
at least the following tools installed.
automake (GNU automake) 1.8.3
autoconf (GNU autoconf) 2.53
ltmain.sh (GNU libtool) 1.4.2
pkg-config (FreeDesktop)
Additionally, you might need the following
gperf (GNU gperf) 3.0.3 (used in gmetad's xml and type hash functions)
CheckOut the source files of Ganglia:
git clone git://github.com/ganglia/monitor-core.git ganglia
and update the submodules
cd ganglia
git submodule init
git submodule update
To prepare the distribution for compilation, run the bootstrapping script:
./bootstrap
To build a distribution tarball (*), run:
./configure
make dist-gzip
To prepare a distribution tree, run:
./configure
make distdir
To build RPMs in Linux after building the tarball, run (ex: 32bit x86
Pentium or higher)
rpmbuild -ta --clean --target i686,noarch <tarball>
Beware that building the RPM requires that all build dependendencies are
fist installed; which might include in some cases packages that are not
available in the standard package repository from your distribution, and
therefore requiring additional external repositories to be added. For
example, for RHEL or derived distributions, rrdtool-devel can be obtained
from Fedora EPEL.
For Solaris users with Blastwave and Sun Studio, you can
use this script to run configure and make:
./scripts/build-solaris.sh
Using Sun Studio's C compiler for Solaris eliminates
the need to deploy GCC runtime libraries with Ganglia.
The latest versions of Sun Studio are a free download
for Solaris 8 and higher.
(*) other distribution formats are available if you have the needed tools
installed by using dist-bzip2, dist-zip, or dist-tarZ (dist target)