comparison xml/en/docs/configure.xml @ 1653:dad548cf5b5f

Updated pcre and zlib versions.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 09 Feb 2016 18:00:17 +0300
parents eea7541e7c6a
children 153a99d25210
comparison
equal deleted inserted replaced
1652:68b647a96448 1653:dad548cf5b5f
6 <!DOCTYPE article SYSTEM "../../../dtd/article.dtd"> 6 <!DOCTYPE article SYSTEM "../../../dtd/article.dtd">
7 7
8 <article name="Building nginx from Sources" 8 <article name="Building nginx from Sources"
9 link="/en/docs/configure.html" 9 link="/en/docs/configure.html"
10 lang="en" 10 lang="en"
11 rev="5"> 11 rev="6">
12 12
13 <section> 13 <section>
14 14
15 <para> 15 <para>
16 The build is configured using the <command>configure</command> command. 16 The build is configured using the <command>configure</command> command.
178 <listitem> 178 <listitem>
179 <para> 179 <para>
180 <literal>--with-pcre=<value>path</value></literal>&mdash;sets 180 <literal>--with-pcre=<value>path</value></literal>&mdash;sets
181 the path to the sources of the PCRE library. 181 the path to the sources of the PCRE library.
182 The library distribution (version 182 The library distribution (version
183 4.4&mdash;8.32) needs to be downloaded from the 183 4.4&mdash;8.38) needs to be downloaded from the
184 <link url="http://www.pcre.org">PCRE</link> site and extracted. 184 <link url="http://www.pcre.org">PCRE</link> site and extracted.
185 The rest is done by nginx’s <command>./configure</command> and 185 The rest is done by nginx’s <command>./configure</command> and
186 <command>make</command>. 186 <command>make</command>.
187 The library is required for regular expressions support in the 187 The library is required for regular expressions support in the
188 <link doc="http/ngx_http_core_module.xml" id="location"/> directive 188 <link doc="http/ngx_http_core_module.xml" id="location"/> directive
203 <listitem> 203 <listitem>
204 <para> 204 <para>
205 <literal>--with-zlib=<value>path</value></literal>&mdash;sets 205 <literal>--with-zlib=<value>path</value></literal>&mdash;sets
206 the path to the sources of the zlib library. 206 the path to the sources of the zlib library.
207 The library distribution (version 207 The library distribution (version
208 1.1.3&mdash;1.2.7) needs to be downloaded from the 208 1.1.3&mdash;1.2.8) needs to be downloaded from the
209 <link url="http://zlib.net">zlib</link> site and extracted. 209 <link url="http://zlib.net">zlib</link> site and extracted.
210 The rest is done by nginx’s <command>./configure</command> and 210 The rest is done by nginx’s <command>./configure</command> and
211 <command>make</command>. 211 <command>make</command>.
212 The library is required for the 212 The library is required for the
213 <link doc="http/ngx_http_gzip_module.xml">ngx_http_gzip_module</link> module. 213 <link doc="http/ngx_http_gzip_module.xml">ngx_http_gzip_module</link> module.
247 ./configure 247 ./configure
248 --sbin-path=/usr/local/nginx/nginx 248 --sbin-path=/usr/local/nginx/nginx
249 --conf-path=/usr/local/nginx/nginx.conf 249 --conf-path=/usr/local/nginx/nginx.conf
250 --pid-path=/usr/local/nginx/nginx.pid 250 --pid-path=/usr/local/nginx/nginx.pid
251 --with-http_ssl_module 251 --with-http_ssl_module
252 --with-pcre=../pcre-4.4 252 --with-pcre=../pcre-8.38
253 --with-zlib=../zlib-1.1.3 253 --with-zlib=../zlib-1.2.8
254 </programlisting> 254 </programlisting>
255 </para> 255 </para>
256 256
257 <para> 257 <para>
258 After configuration, 258 After configuration,