set BUILD_DIR=/tmp/rrdbuild
set INSTALL_DIR=/usr/local/rrdtool-1.2.13
+If your F</tmp> is mounted with the option noexec (RHEL seems todo that) you have to choose
+a different directory!
+
Now make sure the BUILD_DIR exists and go there:
mkdir -p $BUILD_DIR
But again this may have been too optimistic, and you actually have to
compile your own copies of the required libraries.
+=head2 Building on AIX
+
If you are woking with AIX, you may find the the B<--disable-shared> option
will cause things to break for you. In that case you may have to install the
shared libraries into the rrdtool PREFIX and work with B<--disable-static>
-instead. (Better instructions for AIX welcome!)
+instead.
+
+Another hint to get rrdtool working on AIX is to use the IBM XL C Compiler:
+
+ export CC=/usr/vac/bin/cc
+ export PERLCC=$CC
+
+(Better instructions for AIX welcome!)
=over
+=head2 Building Libraries
+
=item Building zlib
cd $BUILD_DIR
wget http://oss.oetiker.ch/rrdtool/pub/libs/zlib-1.2.3.tar.gz
tar zxf zlib-1.2.3.tar.gz
- cd zlib-1.2.2
+ cd zlib-1.2.3
env CFLAGS="-O3 -fPIC" ./configure --prefix=$BUILD_DIR/lb
make
make install