summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f33923a)
raw | patch | inline | side by side (parent: f33923a)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 3 Apr 2005 12:44:15 +0000 (12:44 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 3 Apr 2005 12:44:15 +0000 (12:44 +0000) |
program/README | patch | blob | history | |
program/configure.ac | patch | blob | history |
diff --git a/program/README b/program/README
index b3631ba3eea626886d0761f894d0b6c34c4b1afe..d28600cf7a4dd7f32cf4d79435c70cdfd5153ecf 100644 (file)
--- a/program/README
+++ b/program/README
To compile:
-----------
- you need the following libraries installed on your system.
+you need the following libraries installed on your system.
cgilib-0.5.tar.gz
freetype-2.1.5.tar.gz
libpng-1.2.5.tar.gz
zlib-1.2.1.tar.gz
- you can either get these libraries directly from their original sites
- or you can get copies from
+you can either get these libraries directly from their original sites
+or you can get copies from
http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/libs
- if the libraries are not installed in standard places you may need
- to set CPPFLAGS and LDFLAGS accordingly. This will be improved in further
- editions of this developers series. Here is an example call.
+the configure program will try to use the libraries with out adding any extra
+flags apart from the ones defined in CPPFLAGS and LDFLAGS. If this does not
+work it will try to get information from pkgconfig.
+
+If your libraries are not installed in standard places and you do not have
+pkgconfig support, then you may want to set CPPFLAGS and LDFLAGS to help
+configure while it tries to find the libraries.
env CPPFLAGS="-I/scratch/oetiker/cgilib-0.5 \
- -I/scratch/oetiker/lib/include/libart-2.0 \
- -I/scratch/oetiker/lib/include \
- -I/scratch/oetiker/lib/include/freetype2" \
- LDFLAGS="-L/scratch/oetiker/lib/lib -R/scratch/oetiker/lib/lib \
- -L/scratch/oetiker/cgilib-0.5" \
- ./configure --prefix=/scratch/oetiker/rrdtool
+ -I/scratch/oetiker/libs/include/libart-2.0 \
+ -I/scratch/oetiker/libs/include \
+ -I/scratch/oetiker/libs/include/freetype2" \
+ LDFLAGS="-L/scratch/oetiker/libs/lib -R/scratch/oetiker/libs/lib \
+ -L/scratch/oetiker/cgilib-0.5" ./configure
make <------ GNU make
/usr/local/rrdtool-VERSION. If you prefer to install RRDtool in some other
place, use
- sh configure --prefix=/some/other/RRDtool-dir
+ ./configure --prefix=/some/other/RRDtool-dir
-The configure script will try to find your perl installation (5.004
+The configure script will try to find your perl installation (5.008
preferred). If it does not find it, you can still build RRDtool but no perl
modules will be generated.
--enable-perl-site-install
-when running configure to have the RRD perl modules installed whereever you
+when running configure to have the RRD perl modules installed wherever you
keep your local perl modules. Doing this reliefs you from using 'use lib' in
your scripts.
to indicte the right version (note, this must point to the directory where
tclConfig.sh is located). Note that install will integrate the tcl bindings
into your tcl installation. It will use a separate directory for each
-version though, so this is not much of a problem. Never the less the TCL
-module will not get intalled by default as TCL wants its module in the base
+version though, so this is not much of a problem. Nevertheless the Tcl
+module will not get intalled by default as Tcl wants its module in the base
tcl installation where you might not be able to write to. So if you want the
tcl stuff installed, type
diff --git a/program/configure.ac b/program/configure.ac
index 516707e345835628476a9155762102d24afd08ce..72c3a808319de7d51bbbabcff0f60c2b6a73f84e 100644 (file)
--- a/program/configure.ac
+++ b/program/configure.ac
echo "----------------------------------------------------------------"
echo "Config is DONE!"
echo
+echo " With MMAP IO: $ac_cv_func_mmap_fixed_mapped"
+echo " Perl Modules: $COMP_PERL"
+echo " Perl Binary: $PERL"
+echo " Perl Version: $PERL_VERSION"
+echo " Perl Options: $PERL_MAKE_OPTIONS"
+echo " Tcl Config: $tcl_config"
+echo " Build rrdcgi: $enable_rrdcgi"
+echo " Build librrd MT: $enable_pthread"
+echo
+ech
echo "Type 'make' to compile the software and use 'make install' to "
echo "install everything to: $prefix."
-echo
-echo "If you want to install the perl"
-echo "modules in site-perl, try 'make site-perl-install'."
echo
echo " ... that wishlist is NO JOKE. If you find RRDtool useful"
-echo "make me happy. Go to http://people.ee.ethz.ch/~oetiker/wish and"
+echo "make me happy. Go to http://people.ee.ethz.ch/oetiker/wish and"
echo "place an order."
echo
echo " -- Tobi Oetiker <tobi@oetiker.ch>"