source: branches/PublicaMundi_David-devel/docs/_build/html/install/install-confoptions.html @ 659

Last change on this file since 659 was 659, checked in by nbozon, 10 years ago

Massive update of zoo docs

File size: 19.5 KB
Line 
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>Configure options &mdash; 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 Unix/Linux" href="install-installation.html"/>
37        <link rel="prev" title="Download" href="install-download.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 current"><a class="current reference internal" href="">Configure options</a></li>
87<li class="toctree-l2"><a class="reference internal" href="install-installation.html">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      &nbsp;
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> &#8725; &#160;</li>
152     
153          <li><a href="index.html">ZOO-Project installation</a> &#8725; &#160;</li>
154     
155    <li>Configure options</li>
156      <li class="wy-breadcrumbs-aside">
157       
158          <a href="../_sources/install/install-confoptions.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="configure-options">
167<span id="install-configure"></span><h1>Configure options<a class="headerlink" href="#configure-options" title="Permalink to this headline"></a></h1>
168<p>This section provides information on <a class="reference internal" href="../kernel/index.html#kernel-index"><span>ZOO-Kernel</span></a> configure options. It is recommanded to also read the <a class="reference internal" href="../kernel/configuration.html#kernel-config"><span>ZOO-Kernel configuration</span></a> section for configuration technical details.</p>
169<div class="section" id="id1">
170<h2>Configure options<a class="headerlink" href="#id1" title="Permalink to this headline"></a></h2>
171<p>Here is the list of available options as returned by <em>./configure &#8211;help</em> command:</p>
172<div class="highlight-python"><div class="highlight"><pre>--with-PACKAGE[=ARG]    Use PACKAGE [ARG=yes]
173--without-PACKAGE       Do not use PACKAGE (same as --with-PACKAGE=no)
174--with-gdal-config=FILE Specifies an alternative gdal-config file
175--with-xml2config=FILE  Specifies an alternative xml2-config file
176--with-python=PATH      Enables python support or specifies an alternative directory for python installation (disabled by default)
177--with-pyvers=NUM       Uses a specific python version
178--with-php=PATH         Enables php support or specify an alternative directory for php installation, disabled by default
179--with-perl=PATH        Enables perl support or specifies an alternative directory for perl installation, disabled by default
180--with-java=PATH        Enables java support or specifies a JDK_HOME, disabled by default
181--with-js=PATH          Enables javascript support, disabled by default
182--with-mapserver=PATH   Specifies the path for MapServer compiled source tree
183--with-otb=PATH         Enables optional OrfeoToolbox support
184--with-saga=PATH        Enables optional SAGA GIS support
185</pre></div>
186</div>
187<p>All the options are described in more details in the following sections.</p>
188<div class="section" id="gdal-support-required">
189<h3>GDAL Support (Required)<a class="headerlink" href="#gdal-support-required" title="Permalink to this headline"></a></h3>
190<p>If gdal-config program is not found in PATH, a <em>&#8211;with-gdal-config</em> option can be used to specify its location. For instance, if gdal-config lies in <code class="docutils literal"><span class="pre">/usr/local/bin</span></code> which is not in PATH, you may use the following command:</p>
191<div class="highlight-python"><div class="highlight"><pre>$ ./configure --with-gdal-config=/usr/local/bin/gdal-config
192</pre></div>
193</div>
194</div>
195<div class="section" id="xml2-support-required">
196<h3>XML2 Support (Required)<a class="headerlink" href="#xml2-support-required" title="Permalink to this headline"></a></h3>
197<p>If xml2-config program is not found in PATH, a <em>&#8211;with-xml2config</em> option can be used  to specify its location. For instance, if xml2-config is installed in <code class="docutils literal"><span class="pre">/usr/local/bin</span></code> which is not in PATH, you may use the following command:</p>
198<div class="highlight-python"><div class="highlight"><pre>$ ./configure --with-xml2config=/usr/local/bin/xml2-config
199</pre></div>
200</div>
201</div>
202<div class="section" id="python-support-optional">
203<h3>Python Support (Optional)<a class="headerlink" href="#python-support-optional" title="Permalink to this headline"></a></h3>
204<p>The <em>&#8211;with-python</em> option is required to activate the <a class="reference internal" href="../kernel/index.html#kernel-index"><span>ZOO-Kernel</span></a> Python support, using the following command:</p>
205<div class="highlight-python"><div class="highlight"><pre>$ ./configure --with-python
206</pre></div>
207</div>
208<p>This assumes that python-config is found in PATH. If not, then you can specify the Python
209installation directory using the following command (with <code class="docutils literal"><span class="pre">/usr/local</span></code> as example python directory):</p>
210<div class="highlight-python"><div class="highlight"><pre>$ ./configure --with-python=/usr/local
211</pre></div>
212</div>
213</div>
214<div class="section" id="python-version-optional">
215<h3>Python Version (Optional)<a class="headerlink" href="#python-version-optional" title="Permalink to this headline"></a></h3>
216<p>A specific version of Python can be used, with the <em>&#8211;with-pyvers</em> option as shown bellow:</p>
217<div class="highlight-python"><div class="highlight"><pre>$ ./configure --with-pyvers=2.6
218</pre></div>
219</div>
220</div>
221<div class="section" id="php-support-optional">
222<h3>PHP Support (Optional)<a class="headerlink" href="#php-support-optional" title="Permalink to this headline"></a></h3>
223<p>The <em>&#8211;with-php</em> option is required to activate the <a class="reference internal" href="../kernel/index.html#kernel-index"><span>ZOO-Kernel</span></a> PHP support, using the following command:</p>
224<div class="highlight-python"><div class="highlight"><pre>$ ./configure --with-php
225</pre></div>
226</div>
227<p>This assumes that php-config is found in PATH. If not, then you can specify the PHP installation  directory, using the following command (with <code class="docutils literal"><span class="pre">/usr/local</span></code> as example PHP directory)</p>
228<div class="highlight-python"><div class="highlight"><pre>$ ./configure --with-php=/usr/local
229</pre></div>
230</div>
231<div class="admonition warning">
232<p class="first admonition-title">Warning</p>
233<p class="last">ZOO-Kernel optional PHP support requires a local PHP Embedded installation. Read more <a class="reference external" href="http://zoo-project.org/trac/wiki/ZooKernel/Embed/PHP">here</a>.</p>
234</div>
235</div>
236<div class="section" id="perl-support-optional">
237<h3>Perl Support (Optional)<a class="headerlink" href="#perl-support-optional" title="Permalink to this headline"></a></h3>
238<p>The <em>&#8211;with-perl</em> option can be used for activating the ZOO-Kernel Perl support, as follow:</p>
239<div class="highlight-python"><div class="highlight"><pre>$ ./configure --with-perl
240</pre></div>
241</div>
242<p>This assumes that perl is found in PATH. For instance, if Perl is installed in /usr/local and /usr/local/bin which is not found in PATH,
243then the following command can be used (this assumes that /usr/local/bin/perl exists):</p>
244<div class="highlight-python"><div class="highlight"><pre>$ ./configure --with-perl=/usr/local
245</pre></div>
246</div>
247</div>
248<div class="section" id="java-support-optional">
249<h3>Java Support (Optional)<a class="headerlink" href="#java-support-optional" title="Permalink to this headline"></a></h3>
250<p>In irder to activate the Java support for ZOO Kernel, you have to use the <em>&#8211;with-java</em> configure option and to set the installation path of your Java SDK. For instance,
251if Java SDK is installed in the <code class="docutils literal"><span class="pre">/usr/lib/jvm/java-6-sun-1.6.0.22/</span></code> directory,  then the following command can be used:</p>
252<div class="highlight-python"><div class="highlight"><pre>$ ./configure --with-java=/usr/lib/jvm/java-6-sun-1.6.0.22/
253</pre></div>
254</div>
255<p>This assumes that the `` include/linux `` and `` jre/lib/i386/client/`` subdirectories exist in <code class="docutils literal"><span class="pre">/usr/lib/jvm/java-6-sun-1.6.0.22/</span></code>, that the `` include/linux `` directory contains the jni.h headers file and that the `` jre/lib/i386/client/`` directory contains the libjvm.so file.</p>
256<div class="admonition note">
257<p class="first admonition-title">Note</p>
258<p>With Mac OS X you only have to set <em>macos</em> as the value for the <em>&#8211;with-java</em> option
259to activate Java support. For example:</p>
260<div class="last highlight-python"><div class="highlight"><pre>$ ./configure --with-java=macos
261</pre></div>
262</div>
263</div>
264</div>
265<div class="section" id="javascript-support-optional">
266<span id="js-support"></span><h3>JavaScript Support (Optional)<a class="headerlink" href="#javascript-support-optional" title="Permalink to this headline"></a></h3>
267<p>In order to activate the JavaScript support for ZOO Kernel then you will have to use
268the <em>&#8211;with-js</em> configure option. If you are using a &#8220;Debian-like&#8221; GNU/Linux distribution then
269dpkg will be used to detect if the required packages are installed and you don&#8217;t have to
270specify anything here. The following command is only needed (assuming that js_api.h and libmozjs.so are found in default directories):</p>
271<div class="highlight-python"><div class="highlight"><pre>$ ./configure --with-js
272</pre></div>
273</div>
274<p>.</p>
275<p>If youwant to use a custom installation of <a class="reference external" href="https://developer.mozilla.org/en/SpiderMonkey">SpiderMonkey</a> ,or if you are not using a Debian packaging
276system, then you&#8217;ll have to specify the directory where it is installed. For  instance, if SpiderMonkey is in /usr, then the following command must be used:</p>
277<div class="highlight-python"><div class="highlight"><pre>$ ./configure --with-js=/usr
278</pre></div>
279</div>
280</div>
281<div class="section" id="mapserver-support-optional">
282<h3>MapServer Support (Optional)<a class="headerlink" href="#mapserver-support-optional" title="Permalink to this headline"></a></h3>
283<p>In order to activate the WMS, WFS and WCS output support using MapServer, the <em>&#8211;with-mapserver</em> option must be used. You must also set the path to <code class="docutils literal"><span class="pre">mapserver-config</span></code> which is located in the source code of MapServer as following command:</p>
284<div class="highlight-python"><div class="highlight"><pre>$ ./configure --with-mapserver=/path/to/your/mapserver_config/
285</pre></div>
286</div>
287<p>Read more abour the <a class="reference internal" href="../kernel/mapserver.html#kernel-mapserver"><span>Optional MapServer support</span></a>.</p>
288</div>
289<div class="section" id="orfeo-toolbox-support-optional">
290<h3>Orfeo Toolbox Support (Optional)<a class="headerlink" href="#orfeo-toolbox-support-optional" title="Permalink to this headline"></a></h3>
291<p>In order to activate the optional Orfeo Toolbox support, the <em>&#8211;with-otb</em> option must be used, using the following command:</p>
292<div class="highlight-python"><div class="highlight"><pre>$ ./configure --with-otb=/path/to/your/otb/
293</pre></div>
294</div>
295<p>Read more about the <a class="reference internal" href="../kernel/orfeotoolbox.html#kernel-orfeotoolbox"><span>Optional Orfeo Toolbox support</span></a>.</p>
296</div>
297<div class="section" id="saga-gis-support-optional">
298<h3>SAGA GIS Support (Optional)<a class="headerlink" href="#saga-gis-support-optional" title="Permalink to this headline"></a></h3>
299<p>In order to activate the optional SAGA GIS support, the <em>&#8211;with-saga</em> option must be used, using the following command:</p>
300<div class="highlight-python"><div class="highlight"><pre>$ ./configure --with-saga=/path/to/your/saga/
301</pre></div>
302</div>
303<p>Read more about the <a class="reference internal" href="../kernel/sagagis.html#kernel-sagagis"><span>Optional SAGA GIS support</span></a>.</p>
304</div>
305</div>
306</div>
307
308
309          </div>
310          <footer>
311 
312    <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
313     
314        <a href="install-installation.html" class="btn btn-neutral float-right" title="Installation on Unix/Linux">Next <span class="fa fa-arrow-circle-right"></span></a>
315     
316     
317        <a href="install-download.html" class="btn btn-neutral" title="Download"><span class="fa fa-arrow-circle-left"></span> Previous</a>
318     
319    </div>
320 
321
322  <hr/>
323  <div class="pfoot">
324  <div role="contentinfo">
325    <p>
326        &copy; Copyright 2009-2015, ZOO-Project team.
327    </p>
328  </div>
329  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>.
330</div>
331</footer>
332
333        </div>
334      </div>
335
336    </section>
337
338  </div>
339 
340
341
342 
343
344    <script type="text/javascript">
345        var DOCUMENTATION_OPTIONS = {
346            URL_ROOT:'../',
347            VERSION:'1.4a0',
348            COLLAPSE_INDEX:false,
349            FILE_SUFFIX:'.html',
350            HAS_SOURCE:  true
351        };
352    </script>
353      <script type="text/javascript" src="../_static/jquery.js"></script>
354      <script type="text/javascript" src="../_static/underscore.js"></script>
355      <script type="text/javascript" src="../_static/doctools.js"></script>
356
357 
358
359 
360 
361    <script type="text/javascript" src="../_static/js/theme.js"></script>
362 
363
364 
365 
366  <script type="text/javascript">
367      jQuery(function () {
368          SphinxRtdTheme.StickyNav.enable();
369      });
370  </script>
371   
372
373</body>
374</html>
Note: See TracBrowser for help on using the repository browser.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png