diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2017-08-05 20:26:55 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2017-08-05 20:26:55 +0300 |
commit | ae88bd4995903a4120c6df4649e025c8bcce9383 (patch) | |
tree | 6dfce7613e9a7401ef0227f1a6c70c14f8de970c | |
parent | d1fa42df66ed835305a925ae177416d99ff72d50 (diff) | |
download | vmod-binlog-ae88bd4995903a4120c6df4649e025c8bcce9383.tar.gz vmod-binlog-ae88bd4995903a4120c6df4649e025c8bcce9383.tar.bz2 |
Update installation instructions
-rw-r--r-- | README | 26 |
1 files changed, 17 insertions, 9 deletions
@@ -25,25 +25,33 @@ and searching in binary log files. | |||
25 | 25 | ||
26 | * Installation | 26 | * Installation |
27 | 27 | ||
28 | In order to compile the package you need to have Varnish source tree. | 28 | In order to compile the package you need to have the varnishd and varnishapi |
29 | At least Varnish 3.0.1 is required. Varnish 4.0 is OK, too. | 29 | packages installed. |
30 | Supposing that the varnish source tree is available under | ||
31 | /usr/src/varnish-3.0.1, run: | ||
32 | 30 | ||
33 | ./configure --with-varnish-source=/usr/src/varnish-3.0.1 | 31 | Supposing that condition is met, run: |
34 | 32 | ||
35 | The `--with-varnish-source' option is mandatory: it tells configure | 33 | ./configure |
36 | where Varnish sources reside. | 34 | |
35 | It should be able to automatically find the necessary components. In case | ||
36 | it doesn't, tweak the configuration variables as necessary. The most | ||
37 | important one is PKG_CONFIG_PATH, which contains a path (in the UNIX sense) | ||
38 | where the .pc files are located. It should contain a directory where the | ||
39 | 'varnishapi.pc' file lives. Example usage: | ||
40 | |||
41 | ./configure PKG_CONFIG_PATH=/usr/local/varnish/lib/pkgconfig:$PKG_CONFIG_PATH | ||
42 | |||
43 | Please read the file INSTALL for a detailed discussion of available variables | ||
44 | and command line options. | ||
37 | 45 | ||
38 | Once configured, do | 46 | Once configured, do |
39 | 47 | ||
40 | make | 48 | make |
41 | 49 | ||
42 | This will build the module. After this step you can optionally run | 50 | This will build the module. After this step you can optionally run |
43 | 'make test' to test the package. | 51 | 'make test' to test the package. |
44 | 52 | ||
45 | Finally, run the following command as root: | 53 | Finally, run the following command as root: |
46 | 54 | ||
47 | make install | 55 | make install |
48 | 56 | ||
49 | This package contains the 'magic' file for the file(1) utility - doc/magic. | 57 | This package contains the 'magic' file for the file(1) utility - doc/magic. |