summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ba56366)
raw | patch | inline | side by side (parent: ba56366)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 7 Apr 2009 07:23:39 +0000 (07:23 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 7 Apr 2009 07:23:39 +0000 (07:23 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1779 a5681a0c-68f1-0310-ab6d-d61299d08faa
doc/rrdbuild.pod | patch | blob | history |
diff --git a/doc/rrdbuild.pod b/doc/rrdbuild.pod
index 3f061f3558b7b0ed9a48cf2d3df9e54a6b9da7b7..afa15967af483cb0285411d81bd0f49fc4103dd9 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.3.6.tar.gz
gunzip -c rrdtool-1.3.6.tar.gz | tar xf -
cd rrdtool-1.3.6
if you are using the Sun Studio/Forte compiler, you may also want to set
- CFLAGS="-xO3 -xcode=pic13" (SPARC)
- CFLAGS="-xO3 -Kpic" (x86)
+ export CFLAGS="-xO3 -xcode=pic13" (SPARC)
+ export CFLAGS="-xO3 -Kpic" (x86)
=item Linux
+ export CFLAGS="-O3 -fPIC"
export LDFLAGS="-Wl,--rpath -Wl,${INSTALL_DIR}/lib"
=item HPUX
wget http://pkgconfig.freedesktop.org/releases/pkg-config-0.23.tar.gz
gunzip -c pkg-config-0.23.tar.gz | tar xf -
cd pkg-config-0.23
- ./configure --prefix=$INSTALL_DIR CFLAGS="-O3 -fPIC"
+ ./configure --prefix=$INSTALL_DIR
$MAKE
$MAKE install
wget http://oss.oetiker.ch/rrdtool/pub/libs/zlib-1.2.3.tar.gz
gunzip -c zlib-1.2.3.tar.gz | tar xf -
cd zlib-1.2.3
- ./configure --prefix=$INSTALL_DIR CFLAGS="-O3 -fPIC" --shared
+ ./configure --prefix=$INSTALL_DIR --shared
$MAKE
$MAKE install
cd $BUILD_DIR
wget http://oss.oetiker.ch/rrdtool/pub/libs/libpng-1.2.18.tar.gz
gunzip -c libpng-1.2.18.tar.gz | tar xf -
- cd libpng-1.2.10
- env CFLAGS="-O3 -fPIC" ./configure --prefix=$INSTALL_DIR
+ cd libpng-1.2.18
+ ./configure --prefix=$INSTALL_DIR
$MAKE
$MAKE install
wget http://oss.oetiker.ch/rrdtool/pub/libs/libxml2-2.6.32.tar.gz
gunzip -c libxml2-2.6.32.tar.gz | tar xf -
cd libxml2-2.6.32
- ./configure --prefix=$INSTALL_DIR CFLAGS="-O3 -fPIC"
+ ./configure --prefix=$INSTALL_DIR
$MAKE
$MAKE install
wget http://oss.oetiker.ch/rrdtool/pub/libs/fontconfig-2.4.2.tar.gz
gunzip -c fontconfig-2.4.2.tar.gz | tar xf -
cd fontconfig-2.4.2
- ./configure --prefix=$INSTALL_DIR CFLAGS="-O3 -fPIC" --with-freetype-config=$INSTALL_DIR/bin/freetype-config
+ ./configure --prefix=$INSTALL_DIR --with-freetype-config=$INSTALL_DIR/bin/freetype-config
$MAKE
$MAKE install
wget http://oss.oetiker.ch/rrdtool/pub/libs/pixman-0.10.0.tar.gz
gunzip -c pixman-0.10.0.tar.gz | tar xf -
cd pixman-0.10.0
- ./configure --prefix=$INSTALL_DIR CFLAGS="-O3 -fPIC"
+ ./configure --prefix=$INSTALL_DIR
$MAKE
$MAKE install
cd $BUILD_DIR
wget http://oss.oetiker.ch/rrdtool/pub/libs/cairo-1.6.4.tar.gz
gunzip -c cairo-1.6.4.tar.gz | tar xf -
- cd cairo-1.4.10
+ cd cairo-1.6.4
./configure --prefix=$INSTALL_DIR \
--enable-xlib=no \
--enable-xlib-render=no \
- --enable-win32=no \
- CFLAGS="-O3 -fPIC"
+ --enable-win32=no
$MAKE
$MAKE install
wget http://oss.oetiker.ch/rrdtool/pub/libs/glib-2.15.4.tar.gz
gunzip -c glib-2.15.4.tar.gz | tar xf -
cd glib-2.15.4
- ./configure --prefix=$INSTALL_DIR CFLAGS="-O3 -fPIC"
+ ./configure --prefix=$INSTALL_DIR
$MAKE
$MAKE install
wget http://oss.oetiker.ch/rrdtool/pub/libs/pango-1.21.1.tar.bz2
bunzip2 -c pango-1.21.1.tar.bz2 | tar xf -
cd pango-1.21.1
- ./configure --prefix=$INSTALL_DIR CFLAGS="-O3 -fPIC" --without-x
+ ./configure --prefix=$INSTALL_DIR --without-x
$MAKE
$MAKE install