comparison xml/en/docs/howto_build_on_win32.xml @ 461:6135f3c95bf6

Unified markup for lists.
author Ruslan Ermilov <ru@nginx.com>
date Tue, 27 Mar 2012 14:30:18 +0000
parents a413dffb0557
children be54c443235a
comparison
equal deleted inserted replaced
460:d645a7e0c229 461:6135f3c95bf6
9 <section name="Prerequisites"> 9 <section name="Prerequisites">
10 10
11 <para> 11 <para>
12 To build nginx on the <registered>Microsoft Win32</registered> platform you need: 12 To build nginx on the <registered>Microsoft Win32</registered> platform you need:
13 13
14 <list> 14 <list type="bullet">
15 15
16 <item> 16 <listitem>
17 Microsoft Visual C compiler. <registered>Microsoft Visual Studio</registered> 17 Microsoft Visual C compiler. <registered>Microsoft Visual Studio</registered>
18 8 and 10 are known to work. 18 8 and 10 are known to work.
19 </item> 19 </listitem>
20 20
21 <item> 21 <listitem>
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 </listitem>
24 24
25 <item> 25 <listitem>
26 Perl, if you want to build <registered>OpenSSL</registered> 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 </listitem>
30 30
31 <item> 31 <listitem>
32 <registered>Subversion</registered> client. Choose any from the 32 <registered>Subversion</registered> client. Choose any from the
33 <link url="http://subversion.apache.org/packages.html#windows">list</link> 33 <link url="http://subversion.apache.org/packages.html#windows">list</link>
34 </item> 34 </listitem>
35 35
36 <item> 36 <listitem>
37 <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>
38 and <link url="http://www.openssl.org">OpenSSL</link> libraries sources. 38 and <link url="http://www.openssl.org">OpenSSL</link> libraries sources.
39 </item> 39 </listitem>
40 </list> 40 </list>
41 41
42 </para> 42 </para>
43 43
44 </section> 44 </section>
53 </para> 53 </para>
54 54
55 <para> 55 <para>
56 56
57 To build nginx: 57 To build nginx:
58 <list> 58 <list type="bullet">
59 59
60 <item> 60 <listitem>
61 Start MSYS bash. 61 Start MSYS bash.
62 </item> 62 </listitem>
63 63
64 <item> 64 <listitem>
65 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:
66 <programlisting> 66 <programlisting>
67 svn co svn://svn.nginx.org/tags/release-1.1.6 67 svn co svn://svn.nginx.org/tags/release-1.1.6
68 </programlisting> 68 </programlisting>
69 </item> 69 </listitem>
70 70
71 <item> 71 <listitem>
72 Create a build and lib directories, and unpack zlib, PCRE and OpenSSL libraries 72 Create a build and lib directories, and unpack zlib, PCRE and OpenSSL libraries
73 sources into lib directory: 73 sources into lib directory:
74 <programlisting> 74 <programlisting>
75 mkdir objs 75 mkdir objs
76 mkdir objs/lib 76 mkdir objs/lib
77 cd objs/lib 77 cd objs/lib
78 unzip ../../pcre-8.12.zip 78 unzip ../../pcre-8.12.zip
79 tar -xzf ../../zlib-1.2.5.tar.gz 79 tar -xzf ../../zlib-1.2.5.tar.gz
80 tar -xzf ../../openssl-1.0.0e.tar.gz 80 tar -xzf ../../openssl-1.0.0e.tar.gz
81 </programlisting> 81 </programlisting>
82 </item> 82 </listitem>
83 83
84 <item> 84 <listitem>
85 Run configure script: 85 Run configure script:
86 <programlisting> 86 <programlisting>
87 auto/configure --with-cc=cl --builddir=objs --prefix= \ 87 auto/configure --with-cc=cl --builddir=objs --prefix= \
88 --conf-path=conf/nginx.conf --pid-path=logs/nginx.pid \ 88 --conf-path=conf/nginx.conf --pid-path=logs/nginx.pid \
89 --http-log-path=logs/access.log --error-log-path=logs/error.log \ 89 --http-log-path=logs/access.log --error-log-path=logs/error.log \
92 --http-fastcgi-temp-path=temp/fastcgi_temp \ 92 --http-fastcgi-temp-path=temp/fastcgi_temp \
93 --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 \
94 --with-zlib=objs/lib/zlib-1.2.5 --with-openssl=objs/lib/openssl-1.0.0e \ 94 --with-zlib=objs/lib/zlib-1.2.5 --with-openssl=objs/lib/openssl-1.0.0e \
95 --with-select_module --with-http_ssl_module --with-ipv6 95 --with-select_module --with-http_ssl_module --with-ipv6
96 </programlisting> 96 </programlisting>
97 </item> 97 </listitem>
98 98
99 <item> 99 <listitem>
100 Run make: 100 Run make:
101 <programlisting> 101 <programlisting>
102 nmake -f objs/Makefile 102 nmake -f objs/Makefile
103 </programlisting> 103 </programlisting>
104 </item> 104 </listitem>
105 105
106 106
107 </list> 107 </list>
108 108
109 </para> 109 </para>
112 112
113 <section id="see_also" 113 <section id="see_also"
114 name="See also"> 114 name="See also">
115 115
116 <para> 116 <para>
117 <list> 117 <list type="bullet">
118 118
119 <item> 119 <listitem>
120 <link doc="windows.xml"/> 120 <link doc="windows.xml"/>
121 </item> 121 </listitem>
122 122
123 </list> 123 </list>
124 </para> 124 </para>
125 125
126 </section> 126 </section>