Re: [Ganglia-general] cygwin compile issue

2014-12-01 Thread sam song
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'd tried to compile it on cygwin, but forgot which version, but at
last gave up. One guy in this list suggeted me to use host-sflow on
windows.

Sam

On 11/29/2014 10:24 AM, Ken King wrote:
 does anybody know which version of ganglia is most compatible with
  cygwin 1.7?
 
 I am trying to compile ganglia 3.6.1 on cygwin 1.7.33 and seeing
 the following issue.
 
 thanks
 
 
 
 make[4]: Entering directory 
 '/cygdrive/c/users/kking-sa/downloads/ganglia-3.6.1/libmetrics/cygwin'

 
/bin/sh ../libtool --tag=CC   --mode=compile gcc -std=gnu99
 -DHAVE_CONFIG_H -I. -I..-I.. -I../../lib -I../../include 
 -I/usr/local/include -I/usr/include/tirpc/ -Wall -MT metrics.lo -MD
 -MP -MF .deps/metrics.Tpo -c -o metrics.lo metrics.c libtool:
 compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -I../../lib
 -I../../include -I/usr/local/include -I/usr/include/tirpc/ -Wall
 -MT metrics.lo -MD -MP -MF .deps/metrics.Tpo -c metrics.c 
 -DDLL_EXPORT -DPIC -o .libs/metrics.o In file included from
 /usr/include/w32api/netioapi.h:10:0, from
 /usr/include/w32api/iphlpapi.h:16, from metrics.c:18: 
 /usr/include/w32api/ws2ipdef.h:31:19: error: field 'Address' has 
 incomplete type struct sockaddr Address; ^ 
 /usr/include/w32api/ws2ipdef.h:32:22: error: field 'AddressIn' has
  incomplete type struct sockaddr_in AddressIn; ^ 
 /usr/include/w32api/ws2ipdef.h:69:3: error: unknown type name
 'SOCKADDR_IN' SOCKADDR_INIpv4; ^ 
 /usr/include/w32api/ws2ipdef.h:71:3: error: unknown type name 
 'ADDRESS_FAMILY' ADDRESS_FAMILY si_family; ^ 
 /usr/include/w32api/ws2ipdef.h:76:3: error: unknown type name 
 'SOCKADDR_STORAGE' SOCKADDR_STORAGEgf_group; ^ 
 /usr/include/w32api/ws2ipdef.h:79:3: error: unknown type name 
 'SOCKADDR_STORAGE' SOCKADDR_STORAGEgf_slist[1]; ^ 
 /usr/include/w32api/ws2ipdef.h:84:3: error: unknown type name 
 'SOCKADDR_STORAGE' SOCKADDR_STORAGE gr_group; ^ 
 /usr/include/w32api/ws2ipdef.h:89:3: error: unknown type name 
 'SOCKADDR_STORAGE' SOCKADDR_STORAGE gsr_group; ^ 
 /usr/include/w32api/ws2ipdef.h:90:3: error: unknown type name 
 'SOCKADDR_STORAGE' SOCKADDR_STORAGE gsr_source; ^ In file included
 from /usr/include/w32api/iphlpapi.h:16:0, from metrics.c:18: 
 /usr/include/w32api/netioapi.h:108:3: error: unknown type name 
 'ADDRESS_FAMILY' ADDRESS_FAMILY Family; ^ 
 /usr/include/w32api/netioapi.h:368:3: error: unknown type name 
 'ADDRESS_FAMILY' ADDRESS_FAMILY Family, ^ 
 /usr/include/w32api/netioapi.h:403:3: error: unknown type name 
 'ADDRESS_FAMILY' ADDRESS_FAMILY  Family, ^ 
 /usr/include/w32api/netioapi.h:416:3: error: unknown type name 
 'ADDRESS_FAMILY' ADDRESS_FAMILY  Family, ^ 
 /usr/include/w32api/netioapi.h:433:3: error: unknown type name 
 'ADDRESS_FAMILY' ADDRESS_FAMILY  Family, ^ 
 /usr/include/w32api/netioapi.h:438:3: error: unknown type name 
 'ADDRESS_FAMILY' ADDRESS_FAMILY  Family ^ 
 /usr/include/w32api/netioapi.h:446:3: error: unknown type name 
 'ADDRESS_FAMILY' ADDRESS_FAMILY  Family, ^ 
 /usr/include/w32api/netioapi.h:495:3: error: unknown type name 
 'ADDRESS_FAMILY' ADDRESS_FAMILY  Family, ^ 
 /usr/include/w32api/netioapi.h:508:3: error: unknown type name 
 'ADDRESS_FAMILY' ADDRESS_FAMILY  Family, ^ 
 /usr/include/w32api/netioapi.h:517:3: error: unknown type name 
 'ADDRESS_FAMILY' ADDRESS_FAMILY  Family, ^ In file included from
 /usr/include/w32api/iphlpapi.h:16:0, from metrics.c:18: 
 /usr/include/w32api/netioapi.h:537:3: error: unknown type name 
 'ADDRESS_FAMILY' ADDRESS_FAMILY  Family, ^ 
 /usr/include/w32api/netioapi.h:547:3: error: unknown type name 
 'ADDRESS_FAMILY' ADDRESS_FAMILY Family, ^ 
 /usr/include/w32api/netioapi.h:555:3: error: unknown type name 
 'ADDRESS_FAMILY' ADDRESS_FAMILY  Family, ^ 
 /usr/include/w32api/netioapi.h:565:3: error: unknown type name 
 'ADDRESS_FAMILY' ADDRESS_FAMILY Family, ^ 
 /usr/include/w32api/netioapi.h:575:3: error: unknown type name 
 'ADDRESS_FAMILY' ADDRESS_FAMILY Family, ^ In file included from
 /usr/include/asm/socket.h:14:0, from
 /usr/include/cygwin/socket.h:51, from
 /usr/include/sys/socket.h:16, from ../unpifi.h:8, from
 ../interface.h:10, from metrics.c:33: 
 /usr/include/cygwin/if.h:115:29: error: conflicting types for 
 'if_nametoindex' extern unsigned if_nametoindex (const
 char *); ^ In file included from
 /usr/include/w32api/iphlpapi.h:16:0, from metrics.c:18: 
 /usr/include/w32api/netioapi.h:319:20: note: previous declaration
 of 'if_nametoindex' was here NET_IFINDEX WINAPI if_nametoindex( ^ 
 In file included from /usr/include/asm/socket.h:14:0, from
 /usr/include/cygwin/socket.h:51, from
 /usr/include/sys/socket.h:16, from ../unpifi.h:8, from
 ../interface.h:10, from metrics.c:33: 
 /usr/include/cygwin/if.h:116:29: error: conflicting types for 
 'if_indextoname' extern char*if_indextoname
 (unsigned, char *); ^ In file included from
 /usr/include/w32api/iphlpapi.h:16:0, from metrics.c:18: 
 

[Ganglia-general] ganglia data source shown as unspecified

2014-12-01 Thread Lavi Buchnik
Hi,

My configuration as follows:

1.   Server gmetad.conf have many data source defined, each one have a list 
of many servers.

2.   All data source appears correctly on the ganglia portal (grid combo 
box) except one data source which shown as unspecified. Still it is showing 
the clients monitoring correctly.

3.   Still, when checking the data source which doesn't appears correctly 
by its name (instead appears as unspecified), can't find anything wrong in 
the server configuration (gmetad.conf ) or in the clients configuration 
(gmond.conf), both configuration have the correct data source name.

4.   The version we are using is:

a.   Server side:

libganglia-3.4.0-1.x86_64

ganglia-web-3.5.3-1.noarch

ganglia-gmond-3.4.0-1.x86_64

ganglia-gmetad-3.4.0-1.x86_64

ganglia-gmond-modules-python-3.4.0-1.x86_64

b.  Client side:

ganglia-gmond-3.4.0-1.x86_64

libganglia-3.4.0-1.x86_64

ganglia-gmond-modules-python-3.4.0-1.x86_64

Please advise.

Thanks,

Lavi Buchnik




--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general