forked from ganglia/monitor-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.SVN
66 lines (44 loc) · 2.09 KB
/
README.SVN
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
Welcome to the Bleeding Edge of Ganglia Development
The SVN 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
xsltproc (The XSLT C library for GNOME)
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:
svn co http://ganglia.svn.sourceforge.net/svnroot/ganglia/trunk/monitor-core ganglia
If you are interested in getting a snapshot for distribution
you have to edit the configure.in file to set the variable GANGLIA_SNAPSHOT
to "yes" and update the value of the GANGLIA_NANO_VERSION variable with the
version number that your snapshot represents and that usually corresponds
to the numeric value returned by:
./svnversion .
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 after building the tarball:
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)