[rrd-users] problems with compiling RRDTOOL

Chuck Harpham charpham at symantec.com
Fri Dec 6 06:05:43 MET 2002



Hi All:

I am running into some problems compiling RRDTOOL (ver 1.0.4) on a  Solaris
2.7 system... (I have installed this also on a Linux box with success)
>From the Compile page on the RRDTOOL web I have compiled and installed the
following:

Perl 5.005 (already was installed)
GNU make
GNU GCC (already was installed)

I do have having MRTG with rateup running successfully.

However when I try to compile rrdtool using the command "make" as
instructed from the compiling web page,  I get the following error message

./make
Making all in cgilib-0.4
sh: make: not found
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'

Anybody know what this means.... Am I missing something?

Below is the output from sh configure which I did before "./make"

sh configure --prefix=/opt/data/rrdtool2
loading cache ./config.cache
checking host system type... sparc-sun-solaris2.7
checking target system type... sparc-sun-solaris2.7
checking build system type... sparc-sun-solaris2.7
checking for a BSD compatible install... config/install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) no
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for perl... (cached) /usr/local/bin/perl
checking for shared library extension... so
checking for the C compiler perl wants to use to build its modules... found
checking for tclConfig.sh in ... no
configure: warning: tclConfig.sh not found - Tcl interface won't be built
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for ranlib... (cached) :
checking for ld used by GCC... (cached) /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... (cached) no
checking for BSD-compatible nm... (cached) /usr/ccs/bin/nm -p
checking whether ln -s works... (cached) yes
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... (cached) no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking whether the linker (/usr/ccs/bin/ld) supports shared libraries...
yes
checking command to parse /usr/ccs/bin/nm -p output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/ccs/bin/ld option to reload object files... -r
checking dynamic linker characteristics... solaris2.7 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking for ANSI C header files... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for locale.h... (cached) yes
checking for fp_class.h... (cached) no
checking for malloc.h... (cached) yes
checking for unistd.h... (cached) yes
checking for ieeefp.h... (cached) yes
checking for math.h... (cached) yes
checking for time.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/times.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for float.h... (cached) yes
checking for working const... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for acos... (cached) no
checking for acos in -lm... (cached) yes
checking for gnroff... (cached) /usr/bin/nroff
checking for groff... (cached) /usr/bin/troff
checking if we can use GCC-specific compiler options... (cached) yes
checking for strftime... (cached) yes
checking for vprintf... (cached) yes
checking for opendir... (cached) yes
checking for readdir... (cached) yes
checking for chdir... (cached) yes
checking for chroot... (cached) yes
checking for getuid... (cached) yes
checking for strerror... (cached) yes
checking for tzset... (cached) yes
checking for setlocale... (cached) yes
checking for snprintf... (cached) yes
checking for vsnprintf... (cached) yes
checking for fpclass... (cached) yes
checking for class... (cached) no
checking for fp_class... (cached) no
checking for isnan... (cached) yes
checking for memmove... (cached) yes
checking for strchr... (cached) yes
checking for mktime... (cached) yes
checking for getrusage... (cached) yes
checking for gettimeofday... (cached) yes
checking for fpclassify... (cached) no
checking for fpclassify with <math.h>... no
checking for finite... (cached) yes
checking for isinf... (cached) no
checking for isinf with <math.h>... no
checking if realloc can deal with NULL... (cached) yes
checking if IEEE math works out of the box... (cached) yes
creating ./config.status
creating cgilib-0.4/Makefile
creating config/Makefile
creating examples/shared-demo.pl
creating examples/piped-demo.pl
creating examples/stripes.pl
creating examples/bigtops.pl
creating examples/minmax.pl
creating examples/cgi-demo.cgi
creating examples/Makefile
creating contrib/Makefile
creating contrib/trytime/Makefile
creating contrib/log2rrd/log2rrd.pl
creating contrib/killspike/killspike.pl
creating contrib/rrdlastds/rrdlastds.pl
creating contrib/rrdfetchnames/rrdfetchnames.pl
creating contrib/add_ds/add_ds.pl
creating contrib/add_ds/batch.pl
creating doc/Makefile
creating gd1.3/Makefile
creating libpng-1.0.9/Makefile
creating zlib-1.1.4/Makefile
creating src/Makefile
creating tcl/Makefile
creating perl-shared/Makefile.PL
creating Makefile
creating config/config.h
config/config.h is unchanged
checking in... and out again
ordering CD from http://people.ee.ethz.ch/~oetiker/wish .... just kidding ;
-)

----------------------------------------------------------------
Config is DONE!

Type 'make' to compile the software and use 'make install' to
install everything to: /opt/data/rrdtool2.

If you want to install the perl
modules in site-perl, try 'make site-perl-install'.

       ... that wishlist is NO JOKE. If you find RRDtool useful
make me happy. Go to http://ee-staff.ethz.ch/~oetiker/wish and
place an order.





Chuck Harpham
Symantec Corporation
Network Engineer/IT Communications/Springfield
charpham at symantec.com




--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list