summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--README23
1 files changed, 15 insertions, 8 deletions
diff --git a/README b/README
index f6c7ca6..05510c6 100644
--- a/README
+++ b/README
@@ -177,18 +177,25 @@ unsetting a variable: defined(), type_of() and unset()
177global_defined() and global_unset(). 177global_defined() and global_unset().
178 178
179* Installation 179* Installation
180 180
181In order to compile the package you need to have a configured and 181In order to compile the package you need to have the varnishd and
182compiled Varnish source tree. Both Varnish 3 and 4 are OK. 182varnishapi packages installed.
183 183
184Supposing that the varnish source tree is available under 184Supposing 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
189The `--with-varnish-source' option is mandatory: it tells configure 188It should be able to automatically find the necessary components. In case
190where Varnish sources reside. 189it doesn't, tweak the configuration variables as necessary. The most
190important one is PKG_CONFIG_PATH, which contains a path (in the UNIX sense)
191where 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
196Please read the file INSTALL for a detailed discussion of available variables
197and command line options.
191 198
192Once configured, do 199Once configured, do
193 200
194 make 201 make
@@ -198,9 +205,9 @@ This will build the module. After this step you can optionally run
198 205
199Finally, run the following command as root: 206Finally, run the following command as root:
200 207
201 make install 208 make install
202 209
203* Documentation 210* Documentation
204 211
205The manual page vmod-variable(3) will be available after a successful 212The manual page vmod-variable(3) will be available after a successful
206install. To read it without actually installing the module, run 213install. To read it without actually installing the module, run

Return to:

Send suggestions and report system problems to the System administrator.