1 | |
---|
2 | |
---|
3 | <!DOCTYPE html> |
---|
4 | <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> |
---|
5 | <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> |
---|
6 | <head> |
---|
7 | <meta charset="utf-8"> |
---|
8 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
---|
9 | |
---|
10 | <title>Installation on Unix/Linux — ZOO-Project 1.4a0 documentation</title> |
---|
11 | |
---|
12 | <link href="http://fonts.googleapis.com/css?family=Days+One" rel="stylesheet" type="text/css"> |
---|
13 | |
---|
14 | |
---|
15 | |
---|
16 | |
---|
17 | |
---|
18 | |
---|
19 | |
---|
20 | |
---|
21 | <link rel="search" type="application/opensearchdescription+xml" title="Search within ZOO-Project 1.4a0 documentation" href="../_static/opensearch.xml"/> |
---|
22 | |
---|
23 | |
---|
24 | |
---|
25 | |
---|
26 | |
---|
27 | |
---|
28 | <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" /> |
---|
29 | |
---|
30 | |
---|
31 | |
---|
32 | |
---|
33 | |
---|
34 | <link rel="top" title="ZOO-Project 1.4a0 documentation" href="../index.html"/> |
---|
35 | <link rel="up" title="ZOO-Project installation" href="index.html"/> |
---|
36 | <link rel="next" title="Installation on Windows ™" href="install-onwindows.html"/> |
---|
37 | <link rel="prev" title="Configure options" href="install-confoptions.html"/> |
---|
38 | |
---|
39 | |
---|
40 | <script src="_static/js/modernizr.min.js"></script> |
---|
41 | |
---|
42 | </head> |
---|
43 | |
---|
44 | <body class="wy-body-for-nav" role="document"> |
---|
45 | |
---|
46 | <div class="wy-grid-for-nav"> |
---|
47 | |
---|
48 | |
---|
49 | <nav data-toggle="wy-nav-shift" class="wy-nav-side"> |
---|
50 | <div class="wy-side-nav-search"> |
---|
51 | |
---|
52 | |
---|
53 | |
---|
54 | <a class="shrink" href="http://zoo-project.org"><img src="http://zoo-project.org/img/zoo-sun-logo.png" class="img-responsive sun" style="display: inline;"> ZOO</a> |
---|
55 | |
---|
56 | |
---|
57 | |
---|
58 | </a> |
---|
59 | |
---|
60 | |
---|
61 | <div role="search"> |
---|
62 | <form id="rtd-search-form" class="wy-form" action="../search.html" method="get"> |
---|
63 | <input type="text" name="q" placeholder="Search docs" /> |
---|
64 | <input type="hidden" name="check_keywords" value="yes" /> |
---|
65 | <input type="hidden" name="area" value="default" /> |
---|
66 | </form> |
---|
67 | </div> |
---|
68 | |
---|
69 | |
---|
70 | </div> |
---|
71 | |
---|
72 | <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation"> |
---|
73 | |
---|
74 | |
---|
75 | |
---|
76 | <ul class="current"> |
---|
77 | <li class="toctree-l1"><a class="reference internal" href="../intro.html">Introduction</a><ul> |
---|
78 | <li class="toctree-l2"><a class="reference internal" href="../intro.html#what-is-zoo-project">What is ZOO-Project ?</a></li> |
---|
79 | <li class="toctree-l2"><a class="reference internal" href="../intro.html#zoo-project-components">ZOO-Project components</a></li> |
---|
80 | <li class="toctree-l2"><a class="reference internal" href="../intro.html#open-source">Open Source</a></li> |
---|
81 | </ul> |
---|
82 | </li> |
---|
83 | <li class="toctree-l1 current"><a class="reference internal" href="index.html">ZOO-Project installation</a><ul class="current"> |
---|
84 | <li class="toctree-l2"><a class="reference internal" href="install-prerequisites.html">Prerequisites</a></li> |
---|
85 | <li class="toctree-l2"><a class="reference internal" href="install-download.html">Download</a></li> |
---|
86 | <li class="toctree-l2"><a class="reference internal" href="install-confoptions.html">Configure options</a></li> |
---|
87 | <li class="toctree-l2 current"><a class="current reference internal" href="">Installation on Unix/Linux</a></li> |
---|
88 | <li class="toctree-l2"><a class="reference internal" href="install-onwindows.html">Installation on Windows ™</a></li> |
---|
89 | <li class="toctree-l2"><a class="reference internal" href="install-onmacos.html">Installation on MacOSX ™</a></li> |
---|
90 | </ul> |
---|
91 | </li> |
---|
92 | <li class="toctree-l1"><a class="reference internal" href="../kernel/index.html">ZOO-Kernel</a><ul> |
---|
93 | <li class="toctree-l2"><a class="reference internal" href="../kernel/what.html">What is ZOO-Kernel ?</a></li> |
---|
94 | <li class="toctree-l2"><a class="reference internal" href="../kernel/configuration.html">ZOO-Kernel configuration</a></li> |
---|
95 | <li class="toctree-l2"><a class="reference internal" href="../kernel/mapserver.html">Optional MapServer support</a></li> |
---|
96 | <li class="toctree-l2"><a class="reference internal" href="../kernel/orfeotoolbox.html">Optional Orfeo Toolbox support</a></li> |
---|
97 | <li class="toctree-l2"><a class="reference internal" href="../kernel/sagagis.html">Optional SAGA GIS support</a></li> |
---|
98 | </ul> |
---|
99 | </li> |
---|
100 | <li class="toctree-l1"><a class="reference internal" href="../services/index.html">ZOO-Services</a><ul> |
---|
101 | <li class="toctree-l2"><a class="reference internal" href="../services/what.html">What are ZOO-Services ?</a></li> |
---|
102 | <li class="toctree-l2"><a class="reference internal" href="../services/zcfg-reference.html">ZOO-Service configuration file</a></li> |
---|
103 | <li class="toctree-l2"><a class="reference internal" href="../services/process-profiles.html">Process profiles registry</a></li> |
---|
104 | <li class="toctree-l2"><a class="reference internal" href="../services/howtos.html">Create your own ZOO-Services</a></li> |
---|
105 | <li class="toctree-l2"><a class="reference internal" href="../services/status.html">ZOO Status Service</a></li> |
---|
106 | <li class="toctree-l2"><a class="reference internal" href="../services/debug.html">Debugging ZOO Services</a></li> |
---|
107 | <li class="toctree-l2"><a class="reference internal" href="../services/zoo-services.html">Available ZOO-Services</a></li> |
---|
108 | </ul> |
---|
109 | </li> |
---|
110 | <li class="toctree-l1"><a class="reference internal" href="../api/index.html">ZOO-API</a><ul> |
---|
111 | <li class="toctree-l2"><a class="reference internal" href="../api/what.html">What is ZOO-API ?</a></li> |
---|
112 | <li class="toctree-l2"><a class="reference internal" href="../api/howto.html">Using ZOO-API</a></li> |
---|
113 | <li class="toctree-l2"><a class="reference internal" href="../api/classes.html">ZOO-API Classes</a></li> |
---|
114 | <li class="toctree-l2"><a class="reference internal" href="../api/examples.html">Examples</a></li> |
---|
115 | </ul> |
---|
116 | </li> |
---|
117 | <li class="toctree-l1"><a class="reference internal" href="../client/index.html">ZOO-Client</a><ul> |
---|
118 | <li class="toctree-l2"><a class="reference internal" href="../client/what.html">What is ZOO-Client ?</a></li> |
---|
119 | <li class="toctree-l2"><a class="reference internal" href="../client/howto.html">Using ZOO-Client</a></li> |
---|
120 | <li class="toctree-l2"><a class="reference internal" href="../client/example.html">Example application</a></li> |
---|
121 | </ul> |
---|
122 | </li> |
---|
123 | <li class="toctree-l1"><a class="reference internal" href="../contribute/index.html">Contributor Guide</a><ul> |
---|
124 | <li class="toctree-l2"><a class="reference internal" href="../contribute/howto.html">How to contribute ?</a></li> |
---|
125 | <li class="toctree-l2"><a class="reference internal" href="../contribute/code.html">Contribute code</a></li> |
---|
126 | </ul> |
---|
127 | </li> |
---|
128 | </ul> |
---|
129 | |
---|
130 | |
---|
131 | |
---|
132 | </div> |
---|
133 | |
---|
134 | </nav> |
---|
135 | |
---|
136 | <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"> |
---|
137 | |
---|
138 | |
---|
139 | <nav class="wy-nav-top" role="navigation" aria-label="top navigation"> |
---|
140 | <i data-toggle="wy-nav-top" class="fa fa-bars"></i> |
---|
141 | <a href="../contents.html">ZOO-Project</a> |
---|
142 | </nav> |
---|
143 | |
---|
144 | |
---|
145 | |
---|
146 | <div class="wy-nav-content"> |
---|
147 | <div class="rst-content"> |
---|
148 | <div role="navigation" aria-label="breadcrumbs navigation"> |
---|
149 | <ul class="wy-breadcrumbs"> |
---|
150 | |
---|
151 | <li><a href="../contents.html"> Docs</a> ∕  </li> |
---|
152 | |
---|
153 | <li><a href="index.html">ZOO-Project installation</a> ∕  </li> |
---|
154 | |
---|
155 | <li>Installation on Unix/Linux</li> |
---|
156 | <li class="wy-breadcrumbs-aside"> |
---|
157 | |
---|
158 | <a href="../_sources/install/install-installation.txt" rel="nofollow"> View page source</a> |
---|
159 | |
---|
160 | </li> |
---|
161 | </ul> |
---|
162 | <hr/> |
---|
163 | </div> |
---|
164 | <div role="main" class="document"> |
---|
165 | |
---|
166 | <div class="section" id="installation-on-unix-linux"> |
---|
167 | <span id="install-installation"></span><h1>Installation on Unix/Linux<a class="headerlink" href="#installation-on-unix-linux" title="Permalink to this headline">¶</a></h1> |
---|
168 | <div class="section" id="for-the-impatient"> |
---|
169 | <h2>For the impatient<a class="headerlink" href="#for-the-impatient" title="Permalink to this headline">¶</a></h2> |
---|
170 | <p>Run the following commands from the directory where you <a class="reference internal" href="install-download.html#install-download"><span>Download</span></a> and extracted the ZOO Kernel source code in order to build the <code class="docutils literal"><span class="pre">zoo_loader.cgi</span></code> CGI program with default options.</p> |
---|
171 | <div class="highlight-python"><div class="highlight"><pre>cd zoo-kernel |
---|
172 | autoconf |
---|
173 | ./configure |
---|
174 | make |
---|
175 | </pre></div> |
---|
176 | </div> |
---|
177 | <p>This should produce executables for the <em>zoo_loader.cgi</em> CGI program in the <code class="docutils literal"><span class="pre">zoo-kernel</span></code> directory. Copy the <em>zoo_loader.cgi</em> and <em>main.cfg</em> files to the HTTP server <code class="docutils literal"><span class="pre">cgi</span></code> directory and start using it.</p> |
---|
178 | <div class="admonition warning"> |
---|
179 | <p class="first admonition-title">Warning</p> |
---|
180 | <p class="last">Edit ZOO-Kernel installation settings in the <em>main.cfg</em> file (set <code class="docutils literal"><span class="pre">tmpPath</span></code> and <code class="docutils literal"><span class="pre">tmpUrl</span></code> to fit your web server configuration).</p> |
---|
181 | </div> |
---|
182 | </div> |
---|
183 | <div class="section" id="debian-ubuntu"> |
---|
184 | <h2>Debian / Ubuntu<a class="headerlink" href="#debian-ubuntu" title="Permalink to this headline">¶</a></h2> |
---|
185 | <p>Use the following instructions to install <a class="reference external" href="http://zoo-project.org">ZOO-Project</a> on Debian or Ubuntu distributions.</p> |
---|
186 | <div class="section" id="prerequisites"> |
---|
187 | <h3>Prerequisites<a class="headerlink" href="#prerequisites" title="Permalink to this headline">¶</a></h3> |
---|
188 | <div class="section" id="using-debian"> |
---|
189 | <h4>Using Debian<a class="headerlink" href="#using-debian" title="Permalink to this headline">¶</a></h4> |
---|
190 | <p>The following command should install all the required dependancies on Debian. See the <a class="reference internal" href="install-prerequisites.html#install-prereq"><span>Prerequisites</span></a> section for additional information.</p> |
---|
191 | <div class="highlight-guess"><div class="highlight"><pre>apt-get install flex bison libfcgi-dev libxml2 libxml2-dev curl openssl autoconf apache2 python-software-properties subversion python-dev libgdal1-dev build-essential libmozjs185-dev |
---|
192 | </pre></div> |
---|
193 | </div> |
---|
194 | </div> |
---|
195 | <div class="section" id="using-ubuntu"> |
---|
196 | <h4>Using Ubuntu<a class="headerlink" href="#using-ubuntu" title="Permalink to this headline">¶</a></h4> |
---|
197 | <p>On Ubuntu, use the following command first to install the required dependancies :</p> |
---|
198 | <div class="highlight-guess"><div class="highlight"><pre>sudo apt-get install flex bison libfcgi-dev libxml2 libxml2-dev curl openssl autoconf apache2 python-software-properties subversion libmozjs185-dev python-dev build-essential |
---|
199 | </pre></div> |
---|
200 | </div> |
---|
201 | <p>Then add the <em>UbuntuGIS</em> repository in order to get the latest versions of libraries</p> |
---|
202 | <div class="highlight-guess"><div class="highlight"><pre>sudo add-apt-repository ppa:ubuntugis/ppa |
---|
203 | sudo apt-get update |
---|
204 | </pre></div> |
---|
205 | </div> |
---|
206 | <p>Install the geographic library as follow:</p> |
---|
207 | <div class="highlight-guess"><div class="highlight"><pre>sudo apt-get install libgdal1-dev |
---|
208 | </pre></div> |
---|
209 | </div> |
---|
210 | </div> |
---|
211 | </div> |
---|
212 | <div class="section" id="installation"> |
---|
213 | <h3>Installation<a class="headerlink" href="#installation" title="Permalink to this headline">¶</a></h3> |
---|
214 | <p><a class="reference internal" href="install-download.html#install-download"><span>Download</span></a> ZOO-Project latest version from svn using the following command:</p> |
---|
215 | <div class="highlight-guess"><div class="highlight"><pre>svn checkout http://svn.zoo-project.org/svn/trunk zoo-project |
---|
216 | </pre></div> |
---|
217 | </div> |
---|
218 | <p>Install the <em>cgic</em> library from packages using the following command:</p> |
---|
219 | <div class="highlight-guess"><div class="highlight"><pre>cd zoo-project/thirds/cgic206/ |
---|
220 | make |
---|
221 | </pre></div> |
---|
222 | </div> |
---|
223 | <p>Head to the <a class="reference internal" href="../kernel/index.html#kernel-index"><span>ZOO-Kernel</span></a> directory</p> |
---|
224 | <div class="highlight-guess"><div class="highlight"><pre>cd ../../zoo-project/zoo-kernel/ |
---|
225 | </pre></div> |
---|
226 | </div> |
---|
227 | <p>Create a configure file as follow:</p> |
---|
228 | <div class="highlight-guess"><div class="highlight"><pre>autoconf |
---|
229 | </pre></div> |
---|
230 | </div> |
---|
231 | <p>Run configure with the desired options, for example with the following command:</p> |
---|
232 | <div class="highlight-guess"><div class="highlight"><pre>./configure --with-js --with-python |
---|
233 | </pre></div> |
---|
234 | </div> |
---|
235 | <div class="admonition note"> |
---|
236 | <p class="first admonition-title">Note</p> |
---|
237 | <p class="last">Refer to the <a class="reference internal" href="install-confoptions.html#install-configure"><span>Configure options</span></a> section for the full list of available options</p> |
---|
238 | </div> |
---|
239 | <p>Compile ZOO-Kernel as follow:</p> |
---|
240 | <div class="highlight-guess"><div class="highlight"><pre>make |
---|
241 | </pre></div> |
---|
242 | </div> |
---|
243 | <p>Copy the necessary files to the <cite>cgi-bin</cite> directory (as administrator user)</p> |
---|
244 | <div class="highlight-guess"><div class="highlight"><pre>cp main.cfg /usr/lib/cgi-bin |
---|
245 | cp zoo_loader.cgi /usr/lib/cgi-bin |
---|
246 | </pre></div> |
---|
247 | </div> |
---|
248 | <p>Install ZOO ServiceProviders, for example the basic Python service (as administrator user)</p> |
---|
249 | <div class="highlight-guess"><div class="highlight"><pre>cp ../zoo-services/hello-py/cgi-env/*.zcfg /usr/lib/cgi-bin |
---|
250 | cp ../zoo-services/hello-py/*.py /usr/lib/cgi-bin/ |
---|
251 | </pre></div> |
---|
252 | </div> |
---|
253 | <p>Edit the <em>main.cfg</em> file as follow (example configuration):</p> |
---|
254 | <div class="highlight-guess"><div class="highlight"><pre>nano /usr/lib/cgi-bin/main.cfg |
---|
255 | - serverAddress = http://127.0.0.1 |
---|
256 | </pre></div> |
---|
257 | </div> |
---|
258 | <p>Test the ZOO-Kernel installation with the following requests:</p> |
---|
259 | <div class="highlight-guess"><div class="highlight"><pre>http://127.0.0.1/cgi-bin/zoo_loader.cgi?ServiceProvider=&metapath=&Service=WPS&Request=GetCapabilities&Version=1.0.0 |
---|
260 | </pre></div> |
---|
261 | </div> |
---|
262 | <div class="highlight-guess"><div class="highlight"><pre>http://127.0.0.1/cgi-bin/zoo_loader.cgi?ServiceProvider=&metapath=&Service=WPS&Request=DescribeProcess&Version=1.0.0&Identifier=HelloPy |
---|
263 | </pre></div> |
---|
264 | </div> |
---|
265 | <div class="highlight-guess"><div class="highlight"><pre>http://127.0.0.1/cgi-bin/zoo_loader.cgi?ServiceProvider=&metapath=&Service=WPS&Request=Execute&Version=1.0.0&Identifier=HelloPy&DataInputs=a=myname |
---|
266 | </pre></div> |
---|
267 | </div> |
---|
268 | <div class="admonition note"> |
---|
269 | <p class="first admonition-title">Note</p> |
---|
270 | <p class="last">Such request should return well formed XML documents (OWS documents responses).</p> |
---|
271 | </div> |
---|
272 | <div class="admonition warning"> |
---|
273 | <p class="first admonition-title">Warning</p> |
---|
274 | <p class="last">If ZOO-Kernel returns an error please check the <a class="reference internal" href="../kernel/configuration.html#kernel-config"><span>ZOO-Kernel configuration</span></a> and beware of the <a class="reference internal" href="install-prerequisites.html#install-prereq"><span>Prerequisites</span></a>.</p> |
---|
275 | </div> |
---|
276 | </div> |
---|
277 | </div> |
---|
278 | <div class="section" id="opensuse"> |
---|
279 | <h2>OpenSUSE<a class="headerlink" href="#opensuse" title="Permalink to this headline">¶</a></h2> |
---|
280 | <p><a class="reference internal" href="../kernel/index.html#kernel-index"><span>ZOO-Kernel</span></a> is maintained as a package in <a class="reference external" href="https://build.opensuse.org/package/show?package=zoo-kernel&project=Application%3AGeo">OpenSUSE Build Service (OBS)</a>. RPM are thus provided for all versions of OpenSUSE Linux (11.2, 11.3, 11.4, Factory).</p> |
---|
281 | <div class="section" id="stable-release"> |
---|
282 | <h3>Stable release<a class="headerlink" href="#stable-release" title="Permalink to this headline">¶</a></h3> |
---|
283 | <p>Use the following instructions to install ZOO-Project latetst release on OpenSUSE distribution.</p> |
---|
284 | <div class="section" id="one-click-installer"> |
---|
285 | <h4>One-click installer<a class="headerlink" href="#one-click-installer" title="Permalink to this headline">¶</a></h4> |
---|
286 | <p>A one-click installer is available <a class="reference external" href="http://software.opensuse.org/search?q=zoo-kernel&baseproject=openSUSE%3A11.4&lang=en&exclude_debug=true">here</a>. |
---|
287 | For openSUSE 11.4, follow this direct <a class="reference external" href="http://software.opensuse.org/ymp/Application:Geo/openSUSE_11.4/zoo-kernel.ymp?base=openSUSE%3A11.4&query=zoo-kernel">link</a>.</p> |
---|
288 | </div> |
---|
289 | <div class="section" id="yast-software-manager"> |
---|
290 | <h4>Yast software manager<a class="headerlink" href="#yast-software-manager" title="Permalink to this headline">¶</a></h4> |
---|
291 | <p>Add the <a class="reference external" href="http://download.opensuse.org/repositories/Application:/Geo/">Application:Geo</a> repository to the software repositories and then ZOO-Kernel can then be found in Software Management using the provided search tool.</p> |
---|
292 | </div> |
---|
293 | <div class="section" id="command-line-as-root-for-opensuse-11-4"> |
---|
294 | <h4>Command line (as root for openSUSE 11.4)<a class="headerlink" href="#command-line-as-root-for-opensuse-11-4" title="Permalink to this headline">¶</a></h4> |
---|
295 | <p>Install ZOO-Kernel package by yourself using the following command:</p> |
---|
296 | <div class="highlight-guess"><div class="highlight"><pre>zypper ar http://download.opensuse.org/repositories/Application:/Geo/openSUSE_11.4/ |
---|
297 | zypper refresh |
---|
298 | zypper install zoo-kernel |
---|
299 | </pre></div> |
---|
300 | </div> |
---|
301 | </div> |
---|
302 | </div> |
---|
303 | <div class="section" id="developement-version"> |
---|
304 | <h3>Developement version<a class="headerlink" href="#developement-version" title="Permalink to this headline">¶</a></h3> |
---|
305 | <p>The latest development version of ZOO-Kernel can be found in OBS under the project <a class="reference external" href="https://build.opensuse.org/project/show?project=home%3Atzotsos">home:tzotsos</a>. ZOO-Kernel packages are maintained and tested there before being released to the Application:Geo repository. Installation methods are identical as for the stable version. Make sure to use <a class="reference external" href="http://download.opensuse.org/repositories/home:/tzotsos/">this</a> repository instead.</p> |
---|
306 | <div class="section" id="id1"> |
---|
307 | <h4>Command line (as root for openSUSE 11.4)<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h4> |
---|
308 | <p>Install latest ZOO-Kernel trunk version with the following command:</p> |
---|
309 | <div class="highlight-guess"><div class="highlight"><pre>zypper ar http://download.opensuse.org/repositories/home:/tzotsos/openSUSE_11.4/ |
---|
310 | zypper refresh |
---|
311 | zypper install zoo-kernel |
---|
312 | zypper install zoo-kernel-grass-bridge |
---|
313 | </pre></div> |
---|
314 | </div> |
---|
315 | <p>Note that there is the option of adding the zoo-wps-grass-bridge package. This option will automatically install grass7 (svn trunk).</p> |
---|
316 | </div> |
---|
317 | </div> |
---|
318 | </div> |
---|
319 | <div class="section" id="centos"> |
---|
320 | <h2>CentOS<a class="headerlink" href="#centos" title="Permalink to this headline">¶</a></h2> |
---|
321 | <p>Use the following instructions to install <a class="reference external" href="http://zoo-project.org">ZOO-Project</a> on CentOS distributions.</p> |
---|
322 | <div class="section" id="id2"> |
---|
323 | <h3>Prerequisites<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h3> |
---|
324 | <div class="highlight-guess"><div class="highlight"><pre>yum install apache2 |
---|
325 | yum install build-essentials |
---|
326 | yum install gcc-c++ |
---|
327 | yum install zlib-devel |
---|
328 | yum install libxml2-devel |
---|
329 | yum install bison |
---|
330 | yum install openssl |
---|
331 | yum install python-devel |
---|
332 | yum install subversion |
---|
333 | </pre></div> |
---|
334 | </div> |
---|
335 | <p>Compile then install FastCGI library from source</p> |
---|
336 | <div class="highlight-python"><div class="highlight"><pre>wget http://www.fastcgi.com/dist/fcgi.tar.gz |
---|
337 | tar xzf fcgi-2.4.0.tar.gz |
---|
338 | ./configure |
---|
339 | make |
---|
340 | make install |
---|
341 | echo /usr/local/lib >> /etc/ld.so.conf.d/local.conf |
---|
342 | ldconfig |
---|
343 | </pre></div> |
---|
344 | </div> |
---|
345 | <p>Compile then install the autoconf tools :</p> |
---|
346 | <div class="highlight-python"><div class="highlight"><pre>wget http://ftp.gnu.org/gnu/autoconf/autoconf-latest.tar.gz |
---|
347 | tar xzf autoconf-latest.tar.gz |
---|
348 | ./configure --prefix=/usr |
---|
349 | make |
---|
350 | make install |
---|
351 | </pre></div> |
---|
352 | </div> |
---|
353 | <p>Compile then install the flex tool :</p> |
---|
354 | <div class="highlight-python"><div class="highlight"><pre>wget http://downloads.sourceforge.net/project/flex/flex/flex-2.5.35/flex-2.5.35.tar.gz?r=http%3A%2F%2Fflex.sourceforge.net%2F&ts=1292529005&use_mirror=switch |
---|
355 | tar xzf flex-2.5.35.tar.gz |
---|
356 | cd flex-2.5.35 |
---|
357 | ./configure --prefix=/usr |
---|
358 | make |
---|
359 | make install |
---|
360 | </pre></div> |
---|
361 | </div> |
---|
362 | <p>Using the curl provided in the CentOS distribution will produce a ZOO-Kernel unable to run any |
---|
363 | Service. Indeed, some segmentation faults occur when trying to run <code class="docutils literal"><span class="pre">Execute</span></code> requests on the ZOO-Kernel, |
---|
364 | compiling the ZOO-Kernel setting <code class="docutils literal"><span class="pre">USE_GDB</span></code> flag in the <code class="docutils literal"><span class="pre">CFLAGS</span></code> of your <code class="docutils literal"><span class="pre">Makefile</span></code> will let you run |
---|
365 | ZOO-Kernel from gdb and be able to get more information on what is going wrong with your ZOO-Kernel. |
---|
366 | Doing this we can figure out that code on <a class="reference external" href="http://zoo-project.org/trac/browser/trunk/zoo-kernel/ulinet.c#L173">line 173</a> |
---|
367 | and <a class="reference external" href="http://zoo-project.org/trac/browser/trunk/zoo-kernel/ulinet.c#L175">line 175</a> have to be commented in the |
---|
368 | <code class="docutils literal"><span class="pre">ulinet.c</span></code> file to get a ZOO-Kernel working using the curl available in CentOS (curl version 7.15.5). |
---|
369 | If you don’t apply the modification, you will get an error from a gdb session pointing |
---|
370 | segfault in <code class="docutils literal"><span class="pre">Curl_cookie_clearall</span></code>.</p> |
---|
371 | <p>You can optionally compile then install curl from source :</p> |
---|
372 | <div class="highlight-python"><div class="highlight"><pre>wget http://curl.haxx.se/download/curl-7.21.3.tar.bz2 |
---|
373 | tar xjf curl-7.21.3.tar.bz2 |
---|
374 | cd curl-7.21.3 |
---|
375 | ./configure --prefix=/usr |
---|
376 | make |
---|
377 | make install |
---|
378 | </pre></div> |
---|
379 | </div> |
---|
380 | <p>Compile then install Python :</p> |
---|
381 | <div class="highlight-python"><div class="highlight"><pre>wget http://www.python.org/ftp/python/2.6.6/Python-2.6.6.tar.bz2 |
---|
382 | tar xjf Python-2.6.6.tar.bz2 |
---|
383 | cd Python-2.6.6 |
---|
384 | ./configure |
---|
385 | make |
---|
386 | make install |
---|
387 | </pre></div> |
---|
388 | </div> |
---|
389 | <p>Compile then install your own GDAL library :</p> |
---|
390 | <div class="highlight-python"><div class="highlight"><pre>wget http://download.osgeo.org/gdal/gdal-1.7.3.tar.gz |
---|
391 | tar xzf gdal-1.7.3.tar.gz |
---|
392 | cd gdal-1.7.3 |
---|
393 | ./configure # add your options here |
---|
394 | make |
---|
395 | make install |
---|
396 | </pre></div> |
---|
397 | </div> |
---|
398 | <p>Install the Sun JAVA SDK into <code class="docutils literal"><span class="pre">/usr/share</span></code> then use the following command to ensure that the <code class="docutils literal"><span class="pre">libjvm.so</span></code> |
---|
399 | will be found at runtime from any context.</p> |
---|
400 | <div class="highlight-python"><div class="highlight"><pre>echo /usr/share/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/client/ >> /etc/ld.so.conf.d/jvm.conf |
---|
401 | ldconfig |
---|
402 | </pre></div> |
---|
403 | </div> |
---|
404 | </div> |
---|
405 | </div> |
---|
406 | </div> |
---|
407 | |
---|
408 | |
---|
409 | </div> |
---|
410 | <footer> |
---|
411 | |
---|
412 | <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation"> |
---|
413 | |
---|
414 | <a href="install-onwindows.html" class="btn btn-neutral float-right" title="Installation on Windows ™">Next <span class="fa fa-arrow-circle-right"></span></a> |
---|
415 | |
---|
416 | |
---|
417 | <a href="install-confoptions.html" class="btn btn-neutral" title="Configure options"><span class="fa fa-arrow-circle-left"></span> Previous</a> |
---|
418 | |
---|
419 | </div> |
---|
420 | |
---|
421 | |
---|
422 | <hr/> |
---|
423 | <div class="pfoot"> |
---|
424 | <div role="contentinfo"> |
---|
425 | <p> |
---|
426 | © Copyright 2009-2015, ZOO-Project team. |
---|
427 | </p> |
---|
428 | </div> |
---|
429 | Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> inspired by <a href="https://readthedocs.org">Read the Docs</a>. |
---|
430 | </div> |
---|
431 | </footer> |
---|
432 | |
---|
433 | </div> |
---|
434 | </div> |
---|
435 | |
---|
436 | </section> |
---|
437 | |
---|
438 | </div> |
---|
439 | |
---|
440 | |
---|
441 | |
---|
442 | |
---|
443 | |
---|
444 | <script type="text/javascript"> |
---|
445 | var DOCUMENTATION_OPTIONS = { |
---|
446 | URL_ROOT:'../', |
---|
447 | VERSION:'1.4a0', |
---|
448 | COLLAPSE_INDEX:false, |
---|
449 | FILE_SUFFIX:'.html', |
---|
450 | HAS_SOURCE: true |
---|
451 | }; |
---|
452 | </script> |
---|
453 | <script type="text/javascript" src="../_static/jquery.js"></script> |
---|
454 | <script type="text/javascript" src="../_static/underscore.js"></script> |
---|
455 | <script type="text/javascript" src="../_static/doctools.js"></script> |
---|
456 | |
---|
457 | |
---|
458 | |
---|
459 | |
---|
460 | |
---|
461 | <script type="text/javascript" src="../_static/js/theme.js"></script> |
---|
462 | |
---|
463 | |
---|
464 | |
---|
465 | |
---|
466 | <script type="text/javascript"> |
---|
467 | jQuery(function () { |
---|
468 | SphinxRtdTheme.StickyNav.enable(); |
---|
469 | }); |
---|
470 | </script> |
---|
471 | |
---|
472 | |
---|
473 | </body> |
---|
474 | </html> |
---|