summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e927375)
raw | patch | inline | side by side (parent: e927375)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 8 Dec 2007 22:15:22 +0000 (22:15 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 8 Dec 2007 22:15:22 +0000 (22:15 +0000) |
doc/rrdbuild.pod | patch | blob | history |
diff --git a/doc/rrdbuild.pod b/doc/rrdbuild.pod
index f364aa2448799e35957c295b83cb7597a057a219..e783d575a7bf81e5cea71e80f036cac599575390 100644 (file)
--- a/doc/rrdbuild.pod
+++ b/doc/rrdbuild.pod
Lets first assume you already have all the necessary libraries
pre-installed.
+
wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.2.99907080300.tar.gz
gunzip -c rrdtool-1.2.99907080300.tar.gz | tar xf -
cd rrdtool-1.2.99907080300
board, just re-run the last line of the instructions above.
But again this may have been too optimistic, and you actually have to
-compile your own copies of the required libraries.
+compile your own copies of some of the required libraries. Things like
+libpng and zlib are pretty standard so you will probably have them on your
+system anyway. Freetype, Fontinst, Cairo, Pango may be installed, but it is
+possible that they are pretty old and thus don't live up to the
+expectations, so you may want to compile their latest versions.
=head3 Build Tipps for AIX
export PKG_CONFIG_PATH=${INSTALL_DIR}/lib/pkgconfig
export PATH=$INSTALL_DIR/bin:$PATH
+
+Since we are compiling libraries dynamically, you they must further know
+where to find each other. This is done by setting an appropriate LDFLAG.
+Unfortunatly the syntax differs from system to system:
+
+=over
+
+=item Solaris
+
+ export LDFLAGS=-R${INSTALL_DIR}/lib
+
+=item Linux
+
+ export LDFLAGS="-Wl,--rpath -Wl,${INSTALL_DIR}/lib"
+
+=item HPUX
+ export LDFLAGS="+b${INSTALL_DIR}/lib"
+
+=item AIX
+
+ export LDFLAGS="-Wl,-blibpath:${INSTALL_DIR}/lib"
+
+=back
+
If you have GNUmake installed and it is not called 'make',
then do