Hi Bernard...thanks for responding. I am building from trunk because there are a few Cygwin bugs that appear to be fixed post 3.0.6 (such as cpu count, cpu wait, and maybe others as well). Glad to help figuring this out if it will help out other Windows users and get trunk stable for Windows.
--Chuck -----Original Message----- From: Bernard Li [mailto:[EMAIL PROTECTED] Sent: Thursday, December 27, 2007 6:39 PM To: [EMAIL PROTECTED] Cc: [email protected] Subject: Re: [Ganglia-developers] Windows Build From Trunk Hi Chuck: Any particular reason you're building from the 3.1.x snapshot? Development trunk is pretty in flux, and is mostly developed/tested under Linux -- I would recommend you stick with 3.0.6 for now unless there is a particular reason why you want to get more recent code... On the other hand, Brad would probably be the one who could help you out with the issues you are facing... :-) Cheers, Bernard On 12/28/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I attempted to build version 3.1.0.200712270849 on gmond from trunk on > cygwin/XP using the windows build instructions. I did get the exes at > the end of the process. However, when I run gmond, I get the following: > > C:\Program Files\ganglia\gmond>gmond > Configuration file '/etc/ganglia/gmond.conf' not found. > > Cannot locate internal module structure 'core_metrics' in file (null): > No such file or directory > > Cannot load /usr/lib/ganglia/modcpu.so metric module: No such file or > directory > > Cannot load /usr/lib/ganglia/moddisk.so metric module: No such file or > directory > > > Cannot load /usr/lib/ganglia/modload.so metric module: No such file or > directory > > > Cannot load /usr/lib/ganglia/modmem.so metric module: No such file or > directory > > Cannot load /usr/lib/ganglia/modnet.so metric module: No such file or > directory > > Cannot load /usr/lib/ganglia/modproc.so metric module: No such file or > directory > > > Cannot load /usr/lib/ganglia/modsys.so metric module: No such file or > directory > > So this version that I built is not looking in the current directory > for the conf file, like the 3.0.0 version did (and the 3.0.6 version > did that I built as well). It also looks like it is trying to load > modules...but I thought a static build was done for Cygwin. > > Next, I tried this... > > C:\Program Files\ganglia\gmond>gmond -c "c:/Program > Files/ganglia/gmond/gmond.conf" -d 10 udp_recv_channel mcast_join=NULL > mcast_if=NULL port=8649 bind=NULL tcp_accept_channel bind=NULL > port=8649 Unable to collect metric 'heartbeat' on this platform. > Exiting. > > Obviously, I did something wrong in the build process, but I am not > sure what. > > One question is: when I fetched the Apache Portable Runtime and built > it, was I supposed to get the Windows version? I got the Unix version > since it was being built under Cygwin, but I am not 100% certain since > the instructions did not specify.\ > > I also did the gmond build on Linux and copied the protocol.x, > protocol.h, and protocol_xdr.c files over to my Cygwin build. Was > this correct? > > Thanks in advance, > Chuck > > ---------------------------------------------------------------------- > --- This SF.net email is sponsored by: Microsoft Defy all challenges. > Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Ganglia-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ganglia-developers > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Ganglia-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ganglia-developers
