I am trying to complie ganglia on Tru64 and I wonder
if someone can shed some light on how to get this
done.
My environment is:
- ganglia-monitor-core-2.5.6 source
- OSF1 V5.1 2650 alpha
- Tru64 cc, gcc 3.0.3
o configure->make uses gcc but didn't compile
- - -
/usr/include/pthread.h:290:3: #error <pthread.h>:
unrecognized compiler.
- - -
o Then I tried using cc instead with the following
options, which got rid of pthread compilation
complains.
- - -
$ export CFLAGS="-pthread"
$ export CC=/bin/cc
$ ./configure
$ make
- - -
o Now, I am stuck with the following errors:
- - -
$ make
No suffix list.
make all-recursive
No suffix list.
Making all in lib
Making all in gmond
Making all in gstat
source='machine.c' object='machine.o' libtool=no
depfile='.deps/machine.Po'
tmpdepfile='.deps/machine.TPo' depmode=tru64 /bin/ksh
../config/depcomp /bin/cc -DHAVE_CONFIG_H -I. -I.
-I.. -I../lib -I../lib/dnet -pthread -Wall
-D_SOCKADDR_LEN -c `test -f 'machine.c' || echo
'./'`machine.c
cc: Error: machine.c, line 166: An unexpected newline
character is present in a string literal. (nlstring)
debug_msg("* * * * Setting alpha to %f and beta
to %f because timediff
----------------^
cc: Error: machine.c, line 167: An unexpected newline
character is present in a string literal. (nlstring)
= %d",alpha,beta,timediff);
----^
cc: Info: machine.c, line 218: In this statement, an
array is being accessed outside the bounds specified
for the array type. (subscrbounds)
debug_msg ("CPU: ** ** ** ** ** Are percentages
electric? Try user %d%%, nice %d%% , sys %d%% , idle
%d%% ",
cpu_states[0],cpu_states[1],cpu_states[2],cpu_states[3],cpu_states[4]);
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.
$
- - -
The source was built w/o any problem under
Linux/Intel. And the source README suggests that
Tru64 is supported and can be built successfully. Has
anyone built at least gmond on Tru64 successfully and
can tell me how?
Thanks.
Kin
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover