From 6ac116cae8a2cfc2f53bf9c6a980f06009d40c59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?agentzh=20=28=E7=AB=A0=E4=BA=A6=E6=98=A5=29?= Date: Wed, 6 Jul 2011 11:25:53 +0800 Subject: [PATCH 1/2] confirmed that we work with nginx 1.0.4. --- README | 10 ++++++---- util/build.sh | 1 + 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README b/README index 125f38a..0594b57 100644 --- a/README +++ b/README @@ -88,12 +88,12 @@ Directives Installation Grab the nginx source code from nginx.net (), for - example, the version 0.8.54 (see nginx compatibility), and then build + example, the version 1.0.4 (see nginx compatibility), and then build the source with this module: - $ wget 'http://sysoev.ru/nginx/nginx-0.8.54.tar.gz' - $ tar -xzvf nginx-0.8.54.tar.gz - $ cd nginx-0.8.54/ + $ wget 'http://sysoev.ru/nginx/nginx-1.0.4.tar.gz' + $ tar -xzvf nginx-1.0.4.tar.gz + $ cd nginx-1.0.4/ # Here we assume you would install you nginx under /opt/nginx/. $ ./configure --prefix=/opt/nginx \ @@ -110,6 +110,8 @@ Installation Compatibility The following versions of Nginx should work with this module: + * 1.0.x (last tested: 1.0.4) + * 0.9.x (last tested: 0.9.4) * 0.8.x (last tested: 0.8.54) diff --git a/util/build.sh b/util/build.sh index 1236322..70c5a44 100755 --- a/util/build.sh +++ b/util/build.sh @@ -35,6 +35,7 @@ cd nginx-$version/ || exit 1 if [[ "$BUILD_CLEAN" -eq 1 || ! -f Makefile || "$root/config" -nt Makefile || "$root/util/build.sh" -nt Makefile ]]; then ./configure --prefix=$target \ --with-cc-opt="-O1" \ + --with-ld-opt="-Wl,-rpath,/opt/drizzle/lib" \ --without-mail_pop3_module \ --without-mail_imap_module \ --without-mail_smtp_module \ From 91e22b674cfdc2c107c7cb90eba355f0d4ce2eb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?agentzh=20=28=E7=AB=A0=E4=BA=A6=E6=98=A5=29?= Date: Wed, 6 Jul 2011 11:34:43 +0800 Subject: [PATCH 2/2] fixed README. --- README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README b/README index 0594b57..4cbd642 100644 --- a/README +++ b/README @@ -34,7 +34,7 @@ Synopsis Description This module provides an output filter that can format the RDS outputs - generated by ngx_drizzle and ngx_postgres modules. + generated by ngx_drizzle and ngx_postgres modules to JSON. Directives rds_json