Hi Neil, Many thanks for the swift reply.
I want to take a look at sFlow, but it isn't a prerequisite.
Anyway, I disabled sFlow, and (separately) included the patch you sent. Both
fixes appeared successful. For now I am going with your patch, and sFlow
enabled.
I say "appeared successful", as make was error free, and a gmond.exe was
created. However, it doesn't appear to work out of the box. I created a default
gmond.conf
./gmond --default_config > /usr/local/etc/gmond.conf
and then simply ran gmond. It started a process, but no port (8649) was
created. Running in debug mode I get this
$ ./gmond -d 10
loaded module: core_metrics
loaded module: cpu_module
loaded module: disk_module
loaded module: load_module
loaded module: mem_module
loaded module: net_module
loaded module: proc_module
loaded module: sys_module
and nothing further.
I have done little investigation yet, so unless there is anything obvious I am
missing, I'll continue to troubleshoot.
Regards
Nigel
From: neil.mckee...@gmail.com [mailto:neil.mckee...@gmail.com]
Sent: 09 July 2012 18:15
To: Nigel LEACH
Cc: ganglia-general@lists.sourceforge.net
Subject: Re: [Ganglia-general] Gmond Compilation on Cygwin
You could try adding "--disable-sflow" as another configure option. (Or were
you planning to use sFlow agents such as hsflowd?).
Neil
On Jul 9, 2012, at 3:50 AM, Nigel LEACH wrote:
Ganglia 3.4.0
Windows 2008 R2 Enterprise
Cygwin 1.5.25
IBM iDataPlex dx360 with Tesla M2070
Confuse 2.7
I'm trying to use the Ganglia Python modules to monitor a Windows based GPU
cluster, but having problems getting gmond to compile. This 'configure'
completes successfully
./configure --with-libconfuse=/usr/local --without-libpcre --enable-static-build
but 'make' fails, this is the tail of standard output
mv -f .deps/g25_config.Tpo .deps/g25_config.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -DCYGWIN -I/usr/include/apr-1
-I/usr/include/ap
r-1 -I../lib -I../include/ -I../libmetrics -D_LARGEFILE64_SOURCE -DSFLOW -g
-O2 -I/usr/
local/include -fno-strict-aliasing -Wall -MT core_metrics.o -MD -MP -MF
.deps/core_metrics
.Tpo -c -o core_metrics.o core_metrics.c
mv -f .deps/core_metrics.Tpo .deps/core_metrics.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -DCYGWIN -I/usr/include/apr-1
-I/usr/include/ap
r-1 -I../lib -I../include/ -I../libmetrics -D_LARGEFILE64_SOURCE -DSFLOW -g
-O2 -I/usr/
local/include -fno-strict-aliasing -Wall -MT sflow.o -MD -MP -MF
.deps/sflow.Tpo -c -o sfl
ow.o sflow.c
sflow.c: In function `process_struct_JVM':
sflow.c:1033: warning: comparison is always true due to limited range of data
type
sflow.c:1034: warning: comparison is always true due to limited range of data
type
sflow.c:1035: warning: comparison is always true due to limited range of data
type
sflow.c:1036: warning: comparison is always true due to limited range of data
type
sflow.c:1037: warning: comparison is always true due to limited range of data
type
sflow.c:1038: warning: comparison is always true due to limited range of data
type
sflow.c:1039: warning: comparison is always true due to limited range of data
type
sflow.c: In function `processCounterSample':
sflow.c:1169: warning: unsigned int format, uint32_t arg (arg 4)
sflow.c:1169: warning: unsigned int format, uint32_t arg (arg 4)
sflow.c: In function `process_sflow_datagram':
sflow.c:1348: error: `AF_INET6' undeclared (first use in this function)
sflow.c:1348: error: (Each undeclared identifier is reported only once
sflow.c:1348: error: for each function it appears in.)
make[3]: *** [sflow.o] Error 1
make[3]: Leaving directory `/var/tmp/ganglia-3.4.0/gmond'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/ganglia-3.4.0/gmond'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/ganglia-3.4.0'
make: *** [all] Error 2
Has anyone come across this before ?
Many Thanks
Nigel
___________________________________________________________
This e-mail may contain confidential and/or privileged information. If you are
not the intended recipient (or have received this e-mail in error) please
notify the sender immediately and delete this e-mail. Any unauthorised copying,
disclosure or distribution of the material in this e-mail is prohibited.
Please refer to http://www.bnpparibas.co.uk/en/email-disclaimer/ for additional
disclosures.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats.
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net<mailto:Ganglia-general@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/ganglia-general
___________________________________________________________
This e-mail may contain confidential and/or privileged information. If you are
not the intended recipient (or have received this e-mail in error) please
notify the sender immediately and delete this e-mail. Any unauthorised copying,
disclosure or distribution of the material in this e-mail is prohibited.
Please refer to http://www.bnpparibas.co.uk/en/email-disclaimer/ for additional
disclosures.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general