[rrd-users] Help compiling RRD
Dean Singh
DeanR at reccom.net
Tue Mar 27 06:39:08 MEST 2001
> I am getting the following.
>
> I am running Solaris 8 on Intel.
> I have GCC 2.95.2
> And GNU Make 3.78.1
>
> Note I did use the Make that comes with Solaris. I was unsuccessful
> with that also.
>
> I was able to compile MRTG no problem. And have been using it for a
> couple of months. I want to start working RRDTools. Please advise.
>
> --------------------------------------------------------------------------
> --------------------------------------------------------------------------
> --------------------------------------------------------------------------
> ------------------------------------------------------
>
> # sh configure
> creating cache ./config.cache
> checking host system type... i386-pc-solaris2.8
> checking target system type... i386-pc-solaris2.8
> checking build system type... i386-pc-solaris2.8
> checking for a BSD compatible install... config/install-sh -c
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... yes
> 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... /usr/bin/perl
> checking for shared library extension... so
> checking for tclConfig.sh in ... no
> configure: warning: tclConfig.sh not found - Tcl interface won't be
> built
> checking for gcc... 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... yes
> checking whether gcc accepts -g... yes
> checking how to run the C preprocessor... gcc -E
> checking for ranlib... :
> checking for ld used by GCC... /usr/ccs/bin/ld
> checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
> checking for BSD-compatible nm... /usr/ccs/bin/nm -p
> checking whether ln -s works... yes
> updating cache ./config.cache
> loading cache ./config.cache within ltconfig
> checking for object suffix... o
> checking for executable suffix... 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.8 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
> updating cache ./config.cache
> loading cache ./config.cache
> checking for ANSI C header files... yes
> checking for fcntl.h... yes
> checking for fp_class.h... no
> checking for malloc.h... yes
> checking for unistd.h... yes
> checking for ieeefp.h... yes
> checking for math.h... yes
> checking for sys/time.h... yes
> checking for sys/times.h... yes
> checking for sys/param.h... yes
> checking for sys/resource.h... yes
> checking for float.h... yes
> checking for working const... yes
> checking whether time.h and sys/time.h may both be included... yes
> checking whether struct tm is in sys/time.h or time.h... time.h
> checking for acos... no
> checking for acos in -lm... yes
> checking for gnroff... no
> checking for nroff... /usr/bin/nroff
> checking for groff... no
> checking for troff... /usr/bin/troff
> checking if we can use GCC-specific compiler options... yes
> checking for strftime... yes
> checking for vprintf... yes
> checking for strerror... yes
> checking for snprintf... yes
> checking for vsnprintf... yes
> checking for fpclass... yes
> checking for class... no
> checking for fp_class... no
> checking for isnan... yes
> checking for memmove... yes
> checking for strchr... yes
> checking for mktime... yes
> checking for getrusage... yes
> checking for gettimeofday... yes
> checking for fpclassify... no
> checking for fpclassify with <math.h>... no
> checking for finite... yes
> checking for isinf... no
> checking for isinf with <math.h>... no
> checking if realloc can deal with NULL... yes
> checking if IEEE math works out of the box... yes
> updating cache ./config.cache
> 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.3/Makefile
> creating src/Makefile
> creating tcl/Makefile
> creating Makefile
> creating config/config.h
> checking in... and out again
> ordering CD from http://ee-staff.ethz.ch/~oetiker/wish .... just
> kidding ;-)
>
> ----------------------------------------------------------------
> Config is DONE!
>
> Type 'make' to compile the software and use 'make install' to
> install everything to: /usr/local/rrdtool-1.0.33.
>
> 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.
>
> -- Tobi Oetiker <tobi at oetiker.ch>
> ----------------------------------------------------------------
> # make
> Making all in cgilib-0.4
> make[1]: Entering directory
> `/usr/local/src/rrdtool-1.0.33/cgilib-0.4'
> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
> -I../config -g
> -O2 -Wall -pedantic -Wshadow -Wpointer-arith -Wcast-align
> -Wmissing-prototypes
> -Wmissing-declarations -Wnested-externs -Winline -fPIC -c cgi.c
> gcc -DHAVE_CONFIG_H -I. -I. -I../config -g -O2 -Wall -pedantic
> -Wshadow -Wpointe
> r-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
> -Wnested-extern
> s -Winline -fPIC -c cgi.c -o cgi.o
> cgi.c:30: warning: no previous prototype for `cgiHeader'
> cgi.c:47: warning: no previous prototype for `cgiDecodeString'
> cgi.c:76: warning: no previous prototype for `cgiInit'
> echo timestamp > cgi.lo
> /bin/sh ../libtool --mode=link gcc -g -O2 -Wall -pedantic -Wshadow
> -Wpointer-ar
> ith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
> -Wnested-externs -W
> inline -fPIC -o librrd_cgi.la cgi.lo -lm
> mkdir .libs
> ar cru .libs/librrd_cgi.a cgi.o
> ../libtool: ar: not found
> make[1]: *** [librrd_cgi.la] Error 1
> make[1]: Leaving directory
> `/usr/local/src/rrdtool-1.0.33/cgilib-0.4'
> make: *** [all-recursive] Error 1
> #
>
> Sincerely,
> Dean Singh
> EBusiness Consultant
> www.reccom.net
>
--
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