Her er hvordan jeg installer rrdtool fra sourcefiler.
Installer prereqs:
# apt-get install intltool libcairo2-dev libpango1.0-dev libxml++1.0-dev
download rrdtool:
# wget http://oss.oetiker.ch/rrdtool/pub/rrdtool.tar.gz
Udpak filerne:
# tar -zxvf rrdtool.tar.gz
CD til mappen:
# cd rrdtool-1.3.8/
kør Configure:
# ./configure
Sucessfull Configure output.
----------------------------------------------------------------
Config is DONE!
With MMAP IO: yes
Build rrd_getopt: no
Static programs: no
Perl Modules: perl_piped perl_shared
Perl Binary: /usr/bin/perl
Perl Version: 5.10.0
Perl Options: PREFIX=$(DESTDIR)/usr/local/rrdtool-1.3.8 LIB=$(DESTDIR)/usr/local/rrdtool-1.3.8/lib/perl/5.10.0
Ruby Modules:
Ruby Binary: no
Ruby Options: sitedir=$(DESTDIR)/usr/local/rrdtool-1.3.8/lib/ruby
Build Tcl Bindings: no
Build Python Bindings: no
Build rrdcgi: yes
Build librrd MT: yes
Link with libintl: yes
Libraries: -lxml2 -lcairo -lcairo -lcairo -lm -lcairo -lpng12 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
Type 'make' to compile the software and use 'make install' to
install everything to: /usr/local/rrdtool-1.3.8.
... that wishlist is NO JOKE. If you find RRDtool useful
make me happy. Go to http://tobi.oetiker.ch/wish and
place an order.
-- Tobi Oetiker
Compile RRDTool:
# make
Installer RRDTool:
# make install
Test RRDtool:
# /usr/local/rrdtool-1.3.8/bin/rrdtool
successfuldt output:
RRDtool 1.3.8 Copyright 1997-2009 by Tobias Oetiker <This email address is being protected from spambots. You need JavaScript enabled to view it.>
Compiled Jul 12 2009 22:21:52
Usage: rrdtool [options] command command_options
Valid commands: create, update, updatev, graph, graphv, dump, restore,
last, lastupdate, first, info, fetch, tune,
resize, xport
RRDtool is distributed under the Terms of the GNU General
Public License Version 2. (www.gnu.org/copyleft/gpl.html)
For more information read the RRD manpages