guys-i just upload a new 2.6.0. snapshot. this snapshot processes gmetric messages. i still need to...
- have gmetric read a configuration file and send data to all channels - cleanup expired hosts and metrics ...to have a complete gmond. very close. this latest snapshot is available at http://matt-massie.com/ganglia/ganglia-2.6.0.200501201537.tar.gz Adeyemi Adesanya wrote:
I'm having trouble building this snapshot on Solaris 5.9. gmond.c fails to compile:gmond.c: In function `process_configuration_file': gmond.c:155: parse error before `*' gmond.c:186: `tmp' undeclared (first use in this function) gmond.c:186: (Each undeclared identifier is reported only once gmond.c:186: for each function it appears in.)
that is very strange. i don't have a solaris 5.9 box to work from but i do have a 5.7 box and compiled it using
% gcc -v Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.7/3.4.0/specsConfigured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix gcc version 3.4.0 and it worked just fine. i ran. % ./gmond -t > test.conf<updated test.conf to just send to 127.0.0.1 in order to prevent my test machine from sending data on the "real" ganglia channels here.>
% ./gmond -c ./test.confand it worked (actually it failed but then i realized that i didn't complete protocol.x to have the solaris-specific and hpux-specific metrics... this latest snapshot has the complete set).
can try the latest snapshot and if it fails let me know? i also need to know what compiler you are using. gcc? if so what does "gcc -v" give you?
-matt
--
PGP fingerprint 'A7C2 3C2F 8445 AD3C 135E F40B 242A 5984 ACBC 91D3'
They that can give up essential liberty to obtain a little
temporary safety deserve neither liberty nor safety.
--Benjamin Franklin, Historical Review of Pennsylvania, 1759
signature.asc
Description: OpenPGP digital signature
