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 | 21 |
1 files changed, 14 insertions, 7 deletions
@@ -179,14 +179,21 @@ global_defined() and global_unset(). | |||
179 | * Installation | 179 | * Installation |
180 | 180 | ||
181 | In order to compile the package you need to have a configured and | 181 | In order to compile the package you need to have the varnishd and |
182 | compiled Varnish source tree. Both Varnish 3 and 4 are OK. | 182 | varnishapi packages installed. |
183 | 183 | ||
184 | Supposing that the varnish source tree is available under | 184 | Supposing that condition is met, run: |
185 | /usr/src/varnish-4.0.2, run: | ||
186 | 185 | ||
187 | ./configure --with-varnish-source=/usr/src/varnish-4.0.2 | 186 | ./configure |
188 | 187 | ||
189 | The `--with-varnish-source' option is mandatory: it tells configure | 188 | It should be able to automatically find the necessary components. In case |
190 | where Varnish sources reside. | 189 | it doesn't, tweak the configuration variables as necessary. The most |
190 | important one is PKG_CONFIG_PATH, which contains a path (in the UNIX sense) | ||
191 | where the .pc files are located. It should contain a directory where the | ||
192 | 'varnishapi.pc' file lives. Example usage: | ||
193 | |||
194 | ./configure PKG_CONFIG_PATH=/usr/local/varnish/lib/pkgconfig:$PKG_CONFIG_PATH | ||
195 | |||
196 | Please read the file INSTALL for a detailed discussion of available variables | ||
197 | and command line options. | ||
191 | 198 | ||
192 | Once configured, do | 199 | Once configured, do |