aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README27
1 files changed, 18 insertions, 9 deletions
diff --git a/README b/README
index 276eb74..3f96b03 100644
--- a/README
+++ b/README
@@ -17,26 +17,35 @@ MySQL and PostgreSQL databases from VCL scripts.
17 17
18* Installation 18* Installation
19 19
20In order to compile the package you need to have Varnish source tree. 20In order to compile the package you need to have the varnishd and
21At least Varnish 3.0.1 is required. Supposing that the varnish source tree 21varnishapi packages installed.
22is available under /usr/src/varnish-3.0.1, run:
23 22
24 ./configure --with-varnish-source=/usr/src/varnish-3.0.1 23Supposing that condition is met, run:
25 24
26The `--with-varnish-source' option is mandatory: it tells configure 25 ./configure
27where Varnish sources reside. 26
27It should be able to automatically find the necessary components. In case
28it doesn't, tweak the configuration variables as necessary. The most
29important one is PKG_CONFIG_PATH, which contains a path (in the UNIX sense)
30where the .pc files are located. It should contain a directory where the
31'varnishapi.pc' file lives. Example usage:
32
33 ./configure PKG_CONFIG_PATH=/usr/local/varnish/lib/pkgconfig:$PKG_CONFIG_PATH
34
35Please read the file INSTALL for a detailed discussion of available variables
36and command line options.
28 37
29Once configured, do 38Once configured, do
30 39
31 make 40 make
32 41
33This will build the module. After this step you can optionally run 42This will build the module. After this step you can optionally run
34'make test' to test the package. 43'make test' to test the package.
35 44
36Finally, run the following command as root: 45Finally, run the following command as root:
37
38 make install
39 46
47 make install
48
40* Documentation 49* Documentation
41 50
42The manual page vmod-sql(3) will be available after successful install. 51The manual page vmod-sql(3) will be available after successful install.

Return to:

Send suggestions and report system problems to the System administrator.