[rrd-users] compiling RRDtool 1.2.0

Sven Dittmar sven at bawue.net
Tue Apr 26 20:28:44 MEST 2005


Hi,

I just downloaded the 1.2.0 to my debian 3.0 intel box.

Thanks, Tobi! I am sure, you have put a lot of heart and sweat into it! :-)

I only had to install libart (apt-get install libart-2.0-2) to get thru
./configure and make the binary.

I had no message about the libcgi or pkg-config - both were available
already.

"make" ran thru smoothly as well. except for some minor warnings.

Has anyone tried cacti (http://www.cacti.net/) with the new rrdtool
underneath yet?

Sven

my configure-log:

./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
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 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
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... 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 whether the gcc linker (/usr/bin/ld) supports shared libraries...
yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries...
yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries...
yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking fp_class.h usability... no
checking fp_class.h presence... no
checking for fp_class.h... no
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for unistd.h... (cached) yes
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for an ANSI C-conforming 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 strftime... yes
checking for vprintf... yes
checking for _doprnt... no
checking whether byte ordering is bigendian... no
checking for tzset... yes
checking for opendir... yes
checking for readdir... yes
checking for chdir... yes
checking for chroot... yes
checking for getuid... yes
checking for setlocale... yes
checking for strerror... yes
checking for strerror_r... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for fpclass... no
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 stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for fpclassify... no
checking for fpclassify with <math.h>... no
checking for finite... yes
checking for isinf... yes
checking if IEEE math works out of the box... yes
checking for cgiInit in -lcgi... yes
checking cgi.h usability... yes
checking cgi.h presence... yes
checking for cgi.h... yes
checking for art_vpath_add_point in -lart_lgpl_2... yes
checking libart_lgpl/libart.h usability... yes
checking libart_lgpl/libart.h presence... yes
checking for libart_lgpl/libart.h... yes
checking for zlibVersion in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for png_access_version_number in -lpng... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for FT_Init_FreeType in -lfreetype... yes
checking ft2build.h usability... yes
checking ft2build.h presence... yes
checking for ft2build.h... yes
checking if ctime_r need special care to act posixly correct... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc
checking for perl... /usr/bin/perl
checking for the perl version you are running... 5.8.4
checking for the C compiler perl wants to use to build its modules... cc
checking for cc... /usr/bin/cc
./configure: line 26914: test: too many arguments
checking Perl Modules to build... perl_piped perl_shared
checking for tclConfig.sh in ... no
configure: WARNING: tclConfig.sh not found - Tcl interface won't be built
checking for gnroff... no
checking for nroff... /usr/bin/nroff
checking for groff... /usr/bin/groff
checking if we can use GCC-specific compiler options... yes
checking if realloc can deal with NULL... yes
configure: creating ./config.status
config.status: creating examples/shared-demo.pl
config.status: creating examples/piped-demo.pl
config.status: creating examples/stripes.pl
config.status: creating examples/bigtops.pl
config.status: creating examples/minmax.pl
config.status: creating examples/cgi-demo.cgi
config.status: creating examples/4charts.pl
config.status: creating examples/Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating bindings/Makefile
config.status: creating bindings/tcl/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default commands
checking in... and out again
ordering CD from http://people.ee.ethz.ch/~oetiker/wish .... just 
kidding ;-)

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

     With MMAP IO: yes
     Perl Modules: perl_piped perl_shared
      Perl Binary: /usr/bin/perl
     Perl Version: 5.8.4
     Perl Options: PREFIX=/usr/local/rrdtool-1.2.0
LIB=/usr/local/rrdtool-1.2.0/lib/perl/5.8.4
       Tcl Config:
     Build rrdcgi: yes
  Build librrd MT: yes


Type 'make' to compile the software and use 'make install' to
install everything to: /usr/local/rrdtool-1.2.0.

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

                                -- Tobi Oetiker <tobi at oetiker.ch>
----------------------------------------------------------------



 >> Tobias, I'm trying to compile 1.2.x on Fedora Core 3, and the only
 >> library that seems to be missing is cgilib.


--
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://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list