Hey,

Can't I build ganglia using the native solaris compiler instead?

------
Yemi

On Jan 20, 2005, at 5:38 PM, Adeyemi Adesanya wrote:


Matt I'm running gcc 2.95.3 ..... I guess that's pretty old but should it still be compatible. Was the confuse library a recent addition?
I'll try and see if I can run a more recent version of gcc .

-------
Yemi

On Jan 20, 2005, at 7:50 AM, Matt Massie wrote:

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/specs
Configured 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.conf

and 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



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Ganglia-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-developers


Reply via email to