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