aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2017-08-05 20:26:55 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2017-08-05 20:26:55 +0300
commitae88bd4995903a4120c6df4649e025c8bcce9383 (patch)
tree6dfce7613e9a7401ef0227f1a6c70c14f8de970c
parentd1fa42df66ed835305a925ae177416d99ff72d50 (diff)
downloadvmod-binlog-ae88bd4995903a4120c6df4649e025c8bcce9383.tar.gz
vmod-binlog-ae88bd4995903a4120c6df4649e025c8bcce9383.tar.bz2
Update installation instructions
-rw-r--r--README26
1 files changed, 17 insertions, 9 deletions
diff --git a/README b/README
index 3e271c1..b961dcd 100644
--- a/README
+++ b/README
@@ -25,25 +25,33 @@ and searching in binary log files.
* Installation
-In order to compile the package you need to have Varnish source tree.
-At least Varnish 3.0.1 is required. Varnish 4.0 is OK, too.
-Supposing that the varnish source tree is available under
-/usr/src/varnish-3.0.1, run:
+In order to compile the package you need to have the varnishd and varnishapi
+packages installed.
- ./configure --with-varnish-source=/usr/src/varnish-3.0.1
+Supposing that condition is met, run:
-The `--with-varnish-source' option is mandatory: it tells configure
-where Varnish sources reside.
+ ./configure
+
+It should be able to automatically find the necessary components. In case
+it doesn't, tweak the configuration variables as necessary. The most
+important one is PKG_CONFIG_PATH, which contains a path (in the UNIX sense)
+where the .pc files are located. It should contain a directory where the
+'varnishapi.pc' file lives. Example usage:
+
+ ./configure PKG_CONFIG_PATH=/usr/local/varnish/lib/pkgconfig:$PKG_CONFIG_PATH
+
+Please read the file INSTALL for a detailed discussion of available variables
+and command line options.
Once configured, do
-
+
make
This will build the module. After this step you can optionally run
'make test' to test the package.
Finally, run the following command as root:
-
+
make install
This package contains the 'magic' file for the file(1) utility - doc/magic.

Return to:

Send suggestions and report system problems to the System administrator.