diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2017-08-06 17:10:32 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2017-08-06 17:10:32 +0300 |
commit | 25db25c6955f74e6f8a5672e5c3dbb3af28b0c7d (patch) | |
tree | da590435db5d9734d4c262c70f3b5dbaa72ea10a /README | |
parent | 254fcaaf2677a6db1daffa066e5c74340923f2bb (diff) | |
download | vmod-sql-25db25c6955f74e6f8a5672e5c3dbb3af28b0c7d.tar.gz vmod-sql-25db25c6955f74e6f8a5672e5c3dbb3af28b0c7d.tar.bz2 |
Update textual info
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. * Installation -In order to compile the package you need to have Varnish source tree. -At least Varnish 3.0.1 is required. Supposing that the varnish source tree -is available under /usr/src/varnish-3.0.1, run: +In order to compile the package you need to have the varnishd and +varnishapi packages installed. - ./configure --with-varnish-source=/usr/src/varnish-3.0.1 +Supposing that condition is met, run: -The `--with-varnish-source' option is mandatory: it tells configure -where Varnish sources reside. + ./configure + +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 This will build the module. After this step you can optionally run 'make test' to test the package. Finally, run the following command as root: - - make install + make install + * Documentation The manual page vmod-sql(3) will be available after successful install. |