path: root/README
diff options
Diffstat (limited to 'README')
1 files changed, 15 insertions, 2 deletions
diff --git a/README b/README
index 215ce2ef96fa..ead07b184e65 100644
--- a/README
+++ b/README
@@ -18,14 +18,14 @@ kept to a minimum to provide high performance operation.
1.1. SCons build system
-serf uses SCons 2.x for its build system. If it is not installed on
+serf uses SCons 2.3 for its build system. If it is not installed on
your system, then you can install it onto your system. If you do not
have permissions, then you can download and install the "local"
version into your home directory. When installed privately, simply
create a symlink for 'scons' in your PATH to /path/to/scons/scons.py.
Fetch the scons-local package:
- http://prdownloads.sourceforge.net/scons/scons-local-2.0.1.tar.gz
+ http://prdownloads.sourceforge.net/scons/scons-local-2.3.0.tar.gz
1.2 Building serf
@@ -54,6 +54,12 @@ distinct directory from the source), you can use:
$ scons -Y /path/to/serf/source
+If you plan to install the library on a system that uses different
+paths for architecture dependent files, specify LIBDIR. LIBDIR defaults
+to /usr/local/lib otherwise. Example for a 64 bit GNU/Linux system:
+$ scons PREFIX=/usr/ LIBDIR=/usr/lib64
At any point, the current settings can be examined:
$ scons --help
@@ -74,6 +80,13 @@ specified on the install command line:
$ scons PREFIX=/some/path install
+Distribution package maintainers regulary install to a buildroot, and
+would normally use something like below in their build systems, with
+placeholders for the specific paths:
+$ scons PREFIX=/usr/ LIBDIR=/usr/lib64
+$ scons install --install-sandbox=/path/to/buildroot
1.4 Cleaning up the build