Mercurial > hg > nginx-site
comparison xml/en/docs/howto_build_on_win32.xml @ 128:5530e24f9d58
* reg symbol replaced with 'registered' tags
* Configure arguments reformated
author | Sergey Budnevitch <sb@waeme.net> |
---|---|
date | Fri, 21 Oct 2011 09:51:45 +0000 |
parents | 7db449e89e92 |
children | 213986c12bf0 |
comparison
equal
deleted
inserted
replaced
127:67c2264bbdce | 128:5530e24f9d58 |
---|---|
7 lang="en"> | 7 lang="en"> |
8 | 8 |
9 <section name="Prerequisites"> | 9 <section name="Prerequisites"> |
10 | 10 |
11 <para> | 11 <para> |
12 To build nginx on the Microsoft Win32® platform you need: | 12 To build nginx on the <registered>Microsoft Win32</registered> platform you need: |
13 | 13 |
14 <list> | 14 <list> |
15 | 15 |
16 <item> | 16 <item> |
17 Microsoft Visual C compiler. Microsoft Visual Studio® 8 and 10 are | 17 Microsoft Visual C compiler. <registered>Microsoft Visual Studio</registered> |
18 known to work. | 18 8 and 10 are known to work. |
19 </item> | 19 </item> |
20 | 20 |
21 <item> | 21 <item> |
22 <link url="http://www.mingw.org/wiki/MSYS">MSYS</link>. | 22 <link url="http://www.mingw.org/wiki/MSYS">MSYS</link>. |
23 </item> | 23 </item> |
24 | 24 |
25 <item> | 25 <item> |
26 Perl, if you want to build OpenSSL® and nginx with SSL support. | 26 Perl, if you want to build <registered>OpenSSL</registered> and nginx with SSL support. |
27 For example <link url="http://www.activestate.com/activeperl">ActivePerl</link> | 27 For example <link url="http://www.activestate.com/activeperl">ActivePerl</link> |
28 or <link url="http://strawberryperl.com">Strawberry Perl</link>. | 28 or <link url="http://strawberryperl.com">Strawberry Perl</link>. |
29 </item> | 29 </item> |
30 | 30 |
31 <item> | 31 <item> |
32 Subversion® client. Choose any from the <link url="http://subversion.apache.org/packages.html#windows">list</link> | 32 <registered>Subversion</registered> client. Choose any from the |
33 <link url="http://subversion.apache.org/packages.html#windows">list</link> | |
33 </item> | 34 </item> |
34 | 35 |
35 <item> | 36 <item> |
36 <link url="http://www.pcre.org">PCRE</link>, <link url="http://zlib.net">zlib</link> | 37 <link url="http://www.pcre.org">PCRE</link>, <link url="http://zlib.net">zlib</link> |
37 and <link url="http://www.openssl.org">OpenSSL</link> libraries sources. | 38 and <link url="http://www.openssl.org">OpenSSL</link> libraries sources. |
55 | 56 |
56 To build nginx: | 57 To build nginx: |
57 <list> | 58 <list> |
58 | 59 |
59 <item> | 60 <item> |
60 Start MSYS bash | 61 Start MSYS bash. |
61 </item> | 62 </item> |
62 | 63 |
63 <item> | 64 <item> |
64 Check out nginx sources from the svn.nginx.org repository. For example: | 65 Check out nginx sources from the svn.nginx.org repository. For example: |
65 <programlisting> | 66 <programlisting> |
81 </item> | 82 </item> |
82 | 83 |
83 <item> | 84 <item> |
84 Run configure script: | 85 Run configure script: |
85 <programlisting> | 86 <programlisting> |
86 auto/configure --with-cc=cl --builddir=objs --prefix= --conf-path=conf/nginx.conf \ | 87 auto/configure --with-cc=cl --builddir=objs --prefix= \ |
87 --pid-path=logs/nginx.pid --http-log-path=logs/access.log --error-log-path=logs/error.log \ | 88 --conf-path=conf/nginx.conf --pid-path=logs/nginx.pid \ |
89 --http-log-path=logs/access.log --error-log-path=logs/error.log \ | |
88 --sbin-path=nginx.exe --http-client-body-temp-path=temp/client_body_temp \ | 90 --sbin-path=nginx.exe --http-client-body-temp-path=temp/client_body_temp \ |
89 --http-proxy-temp-path=temp/proxy_temp --http-fastcgi-temp-path=temp/fastcgi_temp \ | 91 --http-proxy-temp-path=temp/proxy_temp \ |
92 --http-fastcgi-temp-path=temp/fastcgi_temp \ | |
90 --with-cc-opt=-DFD_SETSIZE=1024 --with-pcre=objs/lib/pcre-8.12 \ | 93 --with-cc-opt=-DFD_SETSIZE=1024 --with-pcre=objs/lib/pcre-8.12 \ |
91 --with-zlib=objs/lib/zlib-1.2.5 --withopenssl=objs/lib/openssl-1.0.0e \ | 94 --with-zlib=objs/lib/zlib-1.2.5 --withopenssl=objs/lib/openssl-1.0.0e \ |
92 --with-select_module --with-http_ssl_module --with-ipv6 | 95 --with-select_module --with-http_ssl_module --with-ipv6 |
93 </programlisting> | 96 </programlisting> |
94 </item> | 97 </item> |