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