I had this same error when I built ganglia on Solaris 9. The problem is the line:

  false cru libgetopthelper.a getopt1.o getopt.o getopt_init.o

The false is due to (this is from memory - I'm not at the machine I built it on) ar not being found in the path, so it returns false, instead of reporting that
ar was not found.

I don't remember exactly where ar lives on Solaris, but it is either / usr/ccs/bin or /usr/ucb. Look in these directories, and whereever you find ar, add that
directory to your path, and then run configure again...


On Nov 9, 2006, at 3:59 AM, Jose Antonio Jimenez Baena wrote:


Hi all,

I'm desperate !! I need gmond daemon for Solaris 9. I've gmetad, php, apache, etc in Aix, working fine, but I have some Solaris servers that I need to add in order to have all my servers monitorised by ganglia. I've looked for compiled gmond for Solaris 9, but I've not found anything.

I've spent a lot of hours trying to compile ganglia in Solaris 9, but without success.

Environment:
-------------------------------------------------------------------
Operating System: Solaris9

gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun- solaris2.9/3.3.1/specs Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/ usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.3.1

make -v
GNU Make 3.80

export CC="gcc -m64"


Problem description:
-------------------------------------------------------------------
- 'configure' script works fine. Ends with:
        Welcome to Ganglia.
        Version: 3.0.3 (Orwille)
        Library: Release 3.0.3 0:0:0
        Type "make" to compile.

- The problem is when I execute 'make':

# make
make  all-recursive
make[1]: Entering directory `/opt/tar/ganglia-3.0.3/ganglia-3.0.3'
Making all in lib
make[2]: Entering directory `/opt/tar/ganglia-3.0.3/ganglia-3.0.3/lib'
if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../srclib/ expat/lib/ -I../srclib/libmetrics/ -I../srclib/apr/include/ -I../ srclib/apr/include/arch/unix/ -I../srclib/confuse/src -g -O2 -Wall - D__EXTENSIONS__ -D_POSIX_C_SOURCE=199506L -DHAVE_STRERROR -MT getopt1.o -MD -MP -MF ".deps/getopt1.Tpo" -c -o getopt1.o getopt1.c; \ then mv -f ".deps/getopt1.Tpo" ".deps/getopt1.Po"; else rm -f ".deps/getopt1.Tpo"; exit 1; fi if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../srclib/ expat/lib/ -I../srclib/libmetrics/ -I../srclib/apr/include/ -I../ srclib/apr/include/arch/unix/ -I../srclib/confuse/src -g -O2 -Wall - D__EXTENSIONS__ -D_POSIX_C_SOURCE=199506L -DHAVE_STRERROR -MT getopt.o -MD -MP -MF ".deps/getopt.Tpo" -c -o getopt.o getopt.c; \ then mv -f ".deps/getopt.Tpo" ".deps/getopt.Po"; else rm -f ".deps/ getopt.Tpo"; exit 1; fi if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../srclib/ expat/lib/ -I../srclib/libmetrics/ -I../srclib/apr/include/ -I../ srclib/apr/include/arch/unix/ -I../srclib/confuse/src -g -O2 -Wall - D__EXTENSIONS__ -D_POSIX_C_SOURCE=199506L -DHAVE_STRERROR -MT getopt_init.o -MD -MP -MF ".deps/getopt_init.Tpo" -c -o getopt_init.o getopt_init.c; \ then mv -f ".deps/getopt_init.Tpo" ".deps/getopt_init.Po"; else rm - f ".deps/getopt_init.Tpo"; exit 1; fi
rm -f libgetopthelper.a
false cru libgetopthelper.a getopt1.o getopt.o getopt_init.o
make[2]: *** [libgetopthelper.a] Error 1
make[2]: Leaving directory `/opt/tar/ganglia-3.0.3/ganglia-3.0.3/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/tar/ganglia-3.0.3/ganglia-3.0.3'
make: *** [all] Error 2


Thanks in advance for your help.



---------------------------------------------------------------------- --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel? cmd=lnk&kid=120709&bid=263057&dat=121642______________________________ _________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general


Reply via email to