diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2017-08-06 00:54:50 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2017-08-06 00:54:50 +0300 |
commit | 04c9a30540841cfbb62c963cb9ddc6dedc889d9c (patch) | |
tree | 824517023bec97c48cf20a1a7d09f5db35bc295c | |
parent | 9fc537495a6b56c8e6b07dedc41a8f0db1aec1aa (diff) | |
download | vmod-variable-04c9a30540841cfbb62c963cb9ddc6dedc889d9c.tar.gz vmod-variable-04c9a30540841cfbb62c963cb9ddc6dedc889d9c.tar.bz2 |
README: fix the Installation section
-rw-r--r-- | README | 23 |
1 files changed, 15 insertions, 8 deletions
@@ -177,18 +177,25 @@ unsetting a variable: defined(), type_of() and unset() global_defined() and global_unset(). * Installation -In order to compile the package you need to have a configured and -compiled Varnish source tree. Both Varnish 3 and 4 are OK. +In order to compile the package you need to have the varnishd and +varnishapi packages installed. -Supposing that the varnish source tree is available under -/usr/src/varnish-4.0.2, run: +Supposing that condition is met, run: - ./configure --with-varnish-source=/usr/src/varnish-4.0.2 + ./configure -The `--with-varnish-source' option is mandatory: it tells configure -where Varnish sources reside. +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 @@ -198,9 +205,9 @@ This will build the module. After this step you can optionally run Finally, run the following command as root: make install - + * Documentation The manual page vmod-variable(3) will be available after a successful install. To read it without actually installing the module, run |