Hi Bernd: I had issues building on SLES9 x64 due to an issue with lib vs lib64 but I don't think that's your problem. It said that it cannot find -lpng - do you need to installing something like libpng-devel or something like that on SLES?
If that's a requirement to build on SLES, I could update the spec file after we migrate our code repository from CVS -> SVN. Cheers, Bernard -----Original Message----- From: [EMAIL PROTECTED] on behalf of Bernd Wenger Sent: Wed 17/05/2006 03:17 To: [email protected] Subject: [Ganglia-general] Fwd: compile ganglia 3.0.3 on SLES9 x86_64 Hello together, i tryed to compile ganglia 3.0.3 on a SLES9 x86_64 machine but "make" allways stop at the same point: # uname -a Linux linux 2.6.5-7.244-smp #1 SMP Mon Dec 12 18:32:25 UTC 2005 x86_64 x86_64 x86_64 GNU/Linux linux:/tmp/ganglia-3.0.3 # ./configure CFLAGS="-I/usr/include" CPPFLAGS="-I/usr/include" LDFLAGS="-L/usr/lib64" --with-gmetad checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu Configuring libmetrics ... configure: creating cache /tmp/ganglia-3.0.3/config.cache checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed . . and so on... . . checking for getopt_long... yes checking for inet_ntop... yes checking for strdup... yes configure: creating ./config.status config.status: creating Makefile config.status: creating ganglia-config config.status: creating srclib/Makefile config.status: creating tests/Makefile config.status: creating ganglia.spec config.status: creating gmetad/Makefile config.status: creating lib/Makefile config.status: creating gmond/Makefile config.status: creating gmond/gstat/Makefile config.status: creating gmetric/Makefile config.status: creating web/version.php config.status: creating config.h config.status: executing depfiles commands Welcome to.. ______ ___ / ____/___ _____ ____ _/ (_)___ _ / / __/ __ `/ __ \/ __ `/ / / __ `/ / /_/ / /_/ / / / / /_/ / / / /_/ / \____/\__,_/_/ /_/\__, /_/_/\__,_/ /____/ Copyright (c) 2005 University of California, Berkeley Version: 3.0.3 (Orwille) Library: Release 3.0.3 0:0:0 Type "make" to compile. linux:/tmp/ganglia-3.0.3 # make make all-recursive make[1]: Entering directory `/tmp/ganglia-3.0.3' Making all in lib make[2]: Entering directory `/tmp/ganglia-3.0.3/lib' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I.. -I. -I../srclib/expat/lib/ -I../srclib/libmetrics/ -I../srclib/apr/include/ -I../srclib/apr/include/arch/unix/ -I../srclib/confuse/src -I/usr/include -Wall -D_REENTRANT -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 -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I.. -I. -I../srclib/expat/lib/ -I../srclib/libmetrics/ -I../srclib/apr/include/ -I../srclib/apr/include/arch/unix/ -I../srclib/confuse/src -I/usr/include -Wall -D_REENTRANT -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 . . and so on... . . if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -O0 -I../lib -I../gmond -I../srclib/expat/lib/ -I/usr/include -Wall -D_REENTRANT -MT type_hash.o -MD -MP -MF ".deps/type_hash.Tpo" -c -o type_hash.o type_hash.c; \ then mv -f ".deps/type_hash.Tpo" ".deps/type_hash.Po"; else rm -f ".deps/type_hash.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -O0 -I../lib -I../gmond -I../srclib/expat/lib/ -I/usr/include -Wall -D_REENTRANT -MT xml_hash.o -MD -MP -MF ".deps/xml_hash.Tpo" -c -o xml_hash.o xml_hash.c; \ then mv -f ".deps/xml_hash.Tpo" ".deps/xml_hash.Po"; else rm -f ".deps/xml_hash.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -O0 -I../lib -I../gmond -I../srclib/expat/lib/ -I/usr/include -Wall -D_REENTRANT -MT cleanup.o -MD -MP -MF ".deps/cleanup.Tpo" -c -o cleanup.o cleanup.c; \ then mv -f ".deps/cleanup.Tpo" ".deps/cleanup.Po"; else rm -f ".deps/cleanup.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -O0 -I../lib -I../gmond -I../srclib/expat/lib/ -I/usr/include -Wall -D_REENTRANT -L/usr/lib64 -o gmetad -static gmetad.o cmdline.o data_thread.o server.o process_xml.o rrd_helpers.o conf.o type_hash.o xml_hash.o cleanup.o ../lib/libganglia.la -lrrd -lm ../srclib/expat/lib/libexpat.la -ldl -lresolv -lnsl -lnsl -lpthread mkdir .libs gcc -O0 -I../lib -I../gmond -I../srclib/expat/lib/ -I/usr/include -Wall -D_REENTRANT -o gmetad gmetad.o cmdline.o data_thread.o server.o process_xml.o rrd_helpers.o conf.o type_hash.o xml_hash.o cleanup.o -L/usr/lib64 ../lib/.libs/libganglia.a /usr/lib64/librrd.a -lpng -lz -lm ../srclib/expat/lib/.libs/libexpat.a -ldl -lresolv -lnsl -lpthread /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld: cannot find -lpng collect2: ld returned 1 exit status make[2]: *** [gmetad] Error 1 make[2]: Leaving directory `/tmp/ganglia-3.0.3/gmetad' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/ganglia-3.0.3' make: *** [all] Error 2 i was searching in the archive and it looks like i am not the only one who was having troubles with ganglia on SLES. any ideas? regards Bernd -- Echte DSL-Flatrate dauerhaft für 0,- Euro*! "Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl ------------------------------------------------------- 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

