Mercurial > hg > nginx-site
comparison xml/it/docs/howto_build_on_win32.xml @ 1053:6303d4e343a8
Updated the Italian translation.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Mon, 27 Jan 2014 19:25:54 +0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1052:f5b15dfb72a1 | 1053:6303d4e343a8 |
---|---|
1 <?xml version="1.0"?> | |
2 | |
3 <!-- | |
4 Copyright (C) Nginx, Inc. | |
5 --> | |
6 | |
7 <!DOCTYPE article SYSTEM "../../../dtd/article.dtd"> | |
8 | |
9 <article name="Compilare i sorgenti di nginx su piattaforma Win32 con Visual C" | |
10 link="/it/docs/howto_build_on_win32.html" | |
11 lang="it" | |
12 translator="Angelo Papadia" | |
13 rev="1"> | |
14 | |
15 <section name="Prerequisiti"> | |
16 | |
17 <para> | |
18 Per compilare nginx su piattaforma <registered>Microsoft Win32</registered>, servono: | |
19 | |
20 <list type="bullet"> | |
21 | |
22 <listitem> | |
23 Il compilatore Microsoft Visual C; e' stato verificato che con | |
24 <registered>Microsoft Visual Studio</registered> 8 e 10 รจ possibile portare | |
25 a termine la compilazione. | |
26 </listitem> | |
27 | |
28 <listitem> | |
29 <link url="http://www.mingw.org/wiki/MSYS">MSYS</link>. | |
30 </listitem> | |
31 | |
32 <listitem> | |
33 Perl, se si vuole compilare <registered>OpenSSL</registered> e nginx con il support SSL; | |
34 ad esempio <link url="http://www.activestate.com/activeperl">ActivePerl</link> | |
35 o <link url="http://strawberryperl.com">Strawberry Perl</link>. | |
36 </listitem> | |
37 | |
38 <listitem> | |
39 Il client | |
40 <link url="http://mercurial.selenic.com/">Mercurial</link>. | |
41 </listitem> | |
42 | |
43 <listitem> | |
44 Il codice sorgente delle librerie | |
45 <link url="http://www.pcre.org">PCRE</link>, <link url="http://zlib.net">zlib</link> | |
46 e <link url="http://www.openssl.org">OpenSSL</link>. | |
47 </listitem> | |
48 </list> | |
49 | |
50 </para> | |
51 | |
52 </section> | |
53 | |
54 <section id="build_steps" | |
55 name="Sequenza di compilazione"> | |
56 | |
57 <para> | |
58 Prima di iniziare a compilare, assicurarsi che i path alle directory bin di | |
59 Perl, Mercurial e MSYS siano stati aggiunti alla variabile d'ambiente PATH. | |
60 Per configurare l'ambiente di Visual C, avviare lo script vcvarsall.bat | |
61 dalla directory del Visual C. | |
62 </para> | |
63 | |
64 <para> | |
65 | |
66 Per compilare nginx: | |
67 <list type="bullet"> | |
68 | |
69 <listitem> | |
70 Avviare la bash MSYS. | |
71 </listitem> | |
72 | |
73 <listitem> | |
74 Fare il check out dei sorgenti nginx dall'archivio hg.nginx.org; ad esempio con: | |
75 <programlisting> | |
76 hg clone http://hg.nginx.org/nginx | |
77 </programlisting> | |
78 </listitem> | |
79 | |
80 <listitem> | |
81 Creare la directory per la compilazione e la sottodirectory lib, scompattare il | |
82 codice sorgente delle librerie zlib, PCRE e OpenSSL in lib: | |
83 <programlisting> | |
84 mkdir objs | |
85 mkdir objs/lib | |
86 cd objs/lib | |
87 tar -xzf ../../pcre-8.32.tar.gz | |
88 tar -xzf ../../zlib-1.2.7.tar.gz | |
89 tar -xzf ../../openssl-1.0.1e.tar.gz | |
90 </programlisting> | |
91 </listitem> | |
92 | |
93 <listitem> | |
94 Lanciare lo script configure: | |
95 <programlisting> | |
96 auto/configure --with-cc=cl --builddir=objs --prefix= \ | |
97 --conf-path=conf/nginx.conf --pid-path=logs/nginx.pid \ | |
98 --http-log-path=logs/access.log --error-log-path=logs/error.log \ | |
99 --sbin-path=nginx.exe --http-client-body-temp-path=temp/client_body_temp \ | |
100 --http-proxy-temp-path=temp/proxy_temp \ | |
101 --http-fastcgi-temp-path=temp/fastcgi_temp \ | |
102 --with-cc-opt=-DFD_SETSIZE=1024 --with-pcre=objs/lib/pcre-8.32 \ | |
103 --with-zlib=objs/lib/zlib-1.2.7 --with-openssl=objs/lib/openssl-1.0.1e \ | |
104 --with-select_module --with-http_ssl_module --with-ipv6 | |
105 </programlisting> | |
106 </listitem> | |
107 | |
108 <listitem> | |
109 lanciare make: | |
110 <programlisting> | |
111 nmake -f objs/Makefile | |
112 </programlisting> | |
113 </listitem> | |
114 | |
115 | |
116 </list> | |
117 | |
118 </para> | |
119 | |
120 </section> | |
121 | |
122 <section id="see_also" | |
123 name="Vedi anche"> | |
124 | |
125 <para> | |
126 <list type="bullet"> | |
127 | |
128 <listitem> | |
129 <link doc="windows.xml"/> | |
130 </listitem> | |
131 | |
132 </list> | |
133 </para> | |
134 | |
135 </section> | |
136 </article> |