[rrd-developers] comments on build instructions (was: rrdtool-1.3rc7 is out)

Peter Volkov pva at gentoo.org
Sun Jun 1 12:16:30 CEST 2008

В Сбт, 31/05/2008 в 18:06 +0200, Tobias Oetiker пишет:
> Please test this release on your system. I am especially interested
> in additions to the build instructions.
> http://oss.oetiker.ch/rrdtool-trac/browser/trunk/program/doc/rrdbuild.pod

Hello Tobias. Some comments as you asked :)

The document describes how to install libpng, zlib, freetype and
fontconfig, but you didn't check for them in configure.ac (all relevant
checks are commented). I suppose that's due to cairo already having all
this dependencies. Right? Then why don't you drop this installation
instructions as if somebody have cairo installed everything else will be
installed too? Also I think it's better to notice explicitly that cairo
should be built with svg support, isn't? At least build of rrdtool when
cairo is built without svg support fails...

Can I assume that versions of libraries in commented lines of
configure.ac are correct? I'd like to set minimal versions for rrdtool
in Gentoo thus I'm  going to take values from that commented lines...


line 10: thrid -> third
line 82: a a -> a
line 107: woking -> working
line 137: environamen variable -> environment variables
line 146: LDFLAG -> LDFLAGS
line 147: Unfortunatly -> Unfortunately
line 175: otherwhise -> otherwise
line 207: likley -> likely
line 248: changeing -> changing

Addition to section "INSTALLING DEPENDENCIES". Sorry for clear text, but
I don't know what tags what mean there :)


In Gentoo to install rrdtool you just need to "emerge rrdtool". All
dependencies will be handled automagicaly by portage system. The only
thing you should care about are USE flags, which allow you fine tune
features rrdtool will be built with. Currently the following USE flags
are available:

doc    - install .html and .txt documentation
         into /usr/share/doc/rrdtool-1.x.xx/
perl   - build and install perl language bindings
python - build and install python language bindings
ruby   - build and install ruby language bindings
tcl    - build and install tcl language bindings
rrdcgi - build and install rrdcgi

After you've decided which USE flags you need, set them either in
make.conf or /etc/portage/package.use and finally run:

 # emerge -va rrdtool

That's all!

Take a look at Gentoo handbook for further details on how to manage USE
flags: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2



More information about the rrd-developers mailing list