File: README.WIN

package info (click to toggle)
ganglia 3.6.0-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 6,484 kB
  • ctags: 3,880
  • sloc: ansic: 27,874; sh: 11,052; python: 6,695; makefile: 565; perl: 366; php: 126; xml: 28
file content (96 lines) | stat: -rw-r--r-- 3,293 bytes parent folder | download | duplicates (3)
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
Build Ganglia using Cygwin on Windows 
=====================================

Ganglia (Gmond, Gmetric and Gstat) may be built in the Cygwin environment for
use by Cygwin applications.  As with the Unix platform, Ganglia on Cygwin uses 
GNU tools, therefore, Ganglia on Cygwin could be built using the same set of
instructions as are used in the UNIX platforms as far as all dependencies are
covered. 

Supported Cygwin versions
-------------------------

Cygwin 1.7 was released in late 2009, just before the release of
Ganglia 3.1.6.  Consequently, Ganglia has not yet been tested as
extensively with Cygwin 1.7.  We can only confirm that the ganglia
binaries can be compiled (might require additional patches) and
executed on this platform, although we are not aware of any specific
reason why it should not work.

Cygwin 1.5 has been used by ganglia since 3.0, for several years and is
extensibly tested.  Users who want to deploy Cygwin 1.5 can use the
setup-legacy.exe installer from the Cygwin web site:

  http://www.cygwin.com/win-9x.html

Prerequisites
------------- 

Cygwin with the following packages:

* expat (Libs)
* gcc (Devel)
* libapr1-devel (Libs)
* make (Devel)
* sunrpc (Libs)
* pkg-config (Devel)

Optionally you will need the following packages for additional functionality
as described in the INSTALL document and which will be otherwise selected
at build time by the configure call:

* libpcre-devel (libs) : disabled by "without-libpcre" flag to configure
* python (Python)      : disabled by "disable-python" flag to configure

Process
-------

Download libconfuse, build it and install the libconfuse library (this will
be linked statically and will only be needed in the build machine)

  ./configure --disable-nls
  make
  make install

Download a release or snapshot package and unpack it.
Go to the ganglia directory, and run the following commands to build it:

  ./configure --with-libconfuse=/usr/local --without-libpcre --enable-static-build
  make

If everything works right, then you should see a gmond.exe, gstat.exe and 
gmetric.exe created in the gmond, gstat and gmetric directories
respectively. 

The binaries generated depend on cygwin (cygwin1.dll), the apr cygwin
library (cygapr-1-0.dll), the expat cygwin library (cygexpat-1.dll) and 
depending of the options chosen the pcre cygwin library (cygpcre-0.dll)
and the python cygwin library (libpython2.5.dll).

if you want to use them in a different system you'll need to copy and
install all of them together with an appropiate configuration.

Gmetad cannot be built on Cygwin but you can use gmetad in any other supported
architecture with the Gmond agents running in Cygwin.

Build a development version of Ganglia using Cygwin in Windows
==============================================================

The procedure to build a development version of Ganglia in Windows is described
in README.GIT as it is the same that is used in other platforms and as far as
all dependencies are covered:

Prerequisites
------------- 

The following extra packages are needed to develop Ganglia in adition to the
ones needed to build it and that are listed above:

* autoconf (Devel)
* automake (Devel)
* bison (Devel)
* diffutils (Utils)
* flex (Devel)
* libtool (Devel)
* sharutils (Archive)
* git (Devel)