Hi.
It turns out that I do have more recent version of gcc and g++ on my
solaris system. The default softlink just happened to point to 2.95 . I
switched to 3.4.0 and everything built OK.
-------
Yemi
On Jan 20, 2005, at 11:03 AM, Matt Massie wrote:
the error you outlined below is a compile time error in gmond.c. i
assume everything up to that point compiled ok (since ./gmond is
almost the last directory where source is compiled). that means that
all the library in ./srclib compile ok.
gcc 2.95 is really buggy and old. can you try either the sun compiler
or a newer version of gcc? you can get it in pkg format from
http://www.sunfreeware.com/. easy to install.
i've been contacted by someone at sun who wants to package up ganglia
for solaris as well. in the future, you will be able to install using
official sun packages.
-matt
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
--
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