Changeset 714
- Timestamp:
- Jun 30, 2015, 6:09:43 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PublicaMundi_David-devel/docs/install/installation.rst
r713 r714 32 32 platform for building and your fcgi library is not located in ``/usr/lib64``. 33 33 34 Install theZOO-Kernel35 ------------------ ----34 Install ZOO-Kernel 35 ------------------ 36 36 37 37 … … 62 62 ................. 63 63 64 This section provides information on :ref:`kernel_index` configure options. It is recommanded to also read the :ref:`kernel_config` section for configuration technical details. 65 66 67 Here is the list of available options in the same order as returned by 68 ``./configure --help`` command: 69 64 70 .. contents:: 65 71 :local: 66 72 :depth: 2 67 73 :backlinks: top 68 69 This section provides information on :ref:`kernel_index` configure options. It is recommanded to also read the :ref:`kernel_config` section for configuration technical details.70 71 72 Here is the list of available options as returned by ``./configure --help`` command:73 74 75 .. list-table:: Configure Options76 :header-rows: 177 78 * - Option79 - Description80 * - ``--with-cgi-dir=PATH``81 - Specifies an alternative cgi directory path (default:82 /usr/lib/cgi-bin)83 * - ``--with-db-backend``84 - Relies on a database for storing status messages and response85 files86 * - ``--with-yaml=PATH``87 - Specifies an alternative location for the yaml library88 * - ``--with-fastcgi=PATH``89 - Specifies an alternative location for the fastcgi library90 * - ``--with-gdal-config=FILE``91 - Specifies an alternative gdal-config file92 * - ``--with-xml2config=FILE``93 - Specifies an alternative xml2-config file94 * - ``--with-python=PATH``95 - Enables python support or specifies an alternative directory96 for python installation (disabled by default)97 * - ``--with-pyvers=NUM``98 - Uses a specific python version99 * - ``--with-js=PATH``100 - Enables javascript support, disabled by default101 * - ``--with-php=PATH``102 - Enables php support or specify an alternative directory for php103 installation, disabled by default104 * - ``--with-java=PATH``105 - Enables java support or specifies a JDK_HOME, disabled by106 default107 * - ``--with-ruby=PATH``108 - To enable ruby support or specify an alternative directory for109 ruby installation, disabled by default110 * - ``--with-rvers=NUM``111 - To use a specific ruby version112 * - ``--with-perl=PATH``113 - Enables perl support or specifies an alternative directory for114 perl installation, disabled by default115 * - ``--with-mapserver=PATH``116 - Specifies the path for MapServer compiled source tree117 * - ``--with-itk=PATH``118 - Specifies an alternative location for the ITK library119 * - ``--with-itk-version=VERSION``120 - Specifies an alternative version for the ITK library121 * - ``--with-otb=PATH``122 - Enables optional OrfeoToolbox support123 * - ``--with-wx-config=PATH``124 - Specifies an alternative path for the wx-config tool125 * - ``--with-saga=PATH``126 - Enables optional SAGA GIS support127 128 129 .. code ::130 131 --with-cgi-dir=PATH Specifies an alternative cgi directory path (132 default: /usr/lib/cgi-bin)133 --with-db-backend Relies on a database for storing status messages and134 response files135 --with-yaml=PATH Specifies an alternative location for the yaml136 library137 --with-fastcgi=PATH Specifies an alternative location for the fastcgi138 library139 --with-xml2config=FILE Specifies an alternative xml2-config file140 --with-xsltconfig=FILE Specifies an alternative xslt-config file141 --with-gdal-config=FILE Specifies an alternative gdal-config file142 --with-proj=PATH Specifies an alternative location for PROJ4 setup143 --with-geosconfig=FILE Specifies an alternative geos-config file144 --with-cgal=PATH Specifies an alternative location for CGAL setup145 --with-mapserver=PATH Specifies the path for MapServer compiled source146 tree147 --with-python=PATH To enable python support or Specifies an alternative148 directory for python installation, disabled by149 default150 --with-pyvers=NUM To use a specific python version151 --with-js=PATH Specifies --with-js=path-to-js to enable js support,152 specify --with-js on linux debian like, js support153 is disabled by default154 --with-php=PATH To enable php support or specify an alternative155 directory for php installation, disabled by default156 --with-java=PATH To enable java support, specify a JDK_HOME, disabled157 by default158 --with-ruby=PATH To enable ruby support or specify an alternative159 directory for ruby installation, disabled by default160 --with-rvers=NUM To use a specific ruby version161 --with-perl=PATH To enable perl support or specify an alternative162 directory for perl installation, disabled by default163 --with-itk=PATH Specifies an alternative location for the itk164 library165 --with-itk-version=VERSION166 Specifies an alternative version for the itk library167 --with-otb=PATH Specifies an alternative location for the otb168 library169 --with-wx-config=PATH Specifies an alternative path for the wx-config tool170 --with-saga=PATH Specifies an alternative location for the SAGA-GIS171 library172 173 174 175 176 ::177 178 --with-cgi-dir=PATH Specifies an alternative cgi directory path (default: /usr/lib/cgi-bin)179 --with-db-backend Relies on a database for storing status messages and response files180 --with-yaml=PATH Specifies an alternative location for the yaml library181 --with-fastcgi=PATH Specifies an alternative location for the fastcgi library182 --with-gdal-config=FILE Specifies an alternative gdal-config file183 --with-xml2config=FILE Specifies an alternative xml2-config file184 --with-python=PATH Enables python support or specifies an alternative directory for python installation (disabled by default)185 --with-pyvers=NUM Uses a specific python version186 --with-js=PATH Enables javascript support, disabled by default187 --with-php=PATH Enables php support or specify an alternative directory for php installation, disabled by default188 --with-java=PATH Enables java support or specifies a JDK_HOME, disabled by default189 --with-ruby=PATH To enable ruby support or specify an alternative directory for ruby installation, disabled by default190 --with-rvers=NUM To use a specific ruby version191 --with-perl=PATH Enables perl support or specifies an alternative directory for perl installation, disabled by default192 --with-mapserver=PATH Specifies the path for MapServer compiled source tree193 --with-itk=PATH Specifies an alternative location for the ITK library194 --with-itk-version=VERSION Specifies an alternative version for the ITK library195 --with-otb=PATH Enables optional OrfeoToolbox support196 --with-wx-config=PATH Specifies an alternative path for the wx-config tool197 --with-saga=PATH Enables optional SAGA GIS support198 199 All the options are described in more details in the following sections.200 74 201 75 Specific CGI Directory … … 236 110 linked files. 237 111 112 YAML Support (Optional) 113 ************************ 114 115 If ``yaml.h`` file is not found in your ``/usr/include`` directory and 116 ``libyaml.so`` is not found in ``/usr/lib``, a ``--with-yaml`` option 117 can be used to specify its location. For instance, if the headeer file 118 lies in ``/usr/local/include`` and the shared library is located in 119 ``/usr/local/lib``, you may use the following command: 120 121 :: 122 123 $ ./configure --with-yaml=/usr/local 124 125 126 FastCGI Support (Required) 127 *************************** 128 129 If your FastCGI library is not available in the default search path, a 130 ``--with-fastcgi`` option can be used to specify its location. For 131 instance, if ``libfcgi.so`` lies in ``/usr/local/lib`` which is not in 132 your ``LD_SEARCH_PATH``, you may use the following command: 133 134 :: 135 136 $ ./configure --with-fastcgi=/usr/local 238 137 239 138 … … 245 144 ``--with-gdal-config`` option can be used to specify its location. For 246 145 instance, if ``gdal-config`` lies in ``/usr/local/bin`` which is not in 247 your PATH, you may use the following command:146 your ``PATH``, you may use the following command: 248 147 249 148 :: 250 149 251 150 $ ./configure --with-gdal-config=/usr/local/bin/gdal-config 151 152 153 GEOS Support (Optional) 154 ************************ 155 156 If ``geos-config`` program is not found in your ``PATH``, a 157 ``--with-geosconfig`` option can be used to specify its location. For 158 instance, if ``geos-config`` lies in ``/usr/local/bin`` which is not in 159 your ``PATH``, you may use the following command: 160 161 :: 162 163 $ ./configure --with-geosconfig=/usr/local/bin/geos-config 164 165 166 CGAL Support (Optional) 167 ************************ 168 169 If ``CGAL/Delaunay_triangulation_2.h`` program is not found in your 170 ``/usr/include`` directory, a ``--with-cgal`` option can be used to 171 specify its location. For instance, if the file lies in 172 ``/usr/local/include`` which is not in your PATH, you may use the 173 following command: 174 175 :: 176 177 $ ./configure --with-cgal=/usr/local 178 179 180 181 MapServer Support (Optional) 182 ***************************** 183 184 185 In order to activate the WMS, WFS and WCS output support using 186 MapServer, the ``--with-mapserver`` option must be used. The path to 187 ``mapserver-config`` which is located in the source code of MapServer 188 must also be set, using the following command: 189 190 :: 191 192 $ ./configure --with-mapserver=/path/to/your/mapserver_config/ 193 194 195 Read more about the :ref:`kernel-mapserver`. 252 196 253 197 XML2 Support (Required) … … 290 234 $ ./configure --with-pyvers=2.7 291 235 292 293 PHP Support (Optional)294 ***********************295 296 The ``--with-php=yes`` option is required to activate the297 :ref:`kernel_index` PHP support`, using the following command:298 299 ::300 301 $ ./configure --with-php=yes302 303 This assumes that ``php-config`` can be found in the ``<PATH>/bin``304 directory . So, supposing the your ``php-config`` can be found in305 ``/usr/local/bin``, then use the following command:306 307 ::308 309 $ ./configure --with-php=/usr/local310 311 .. warning::312 ZOO-Kernel optional PHP support requires a local PHP Embedded installation. Read more `here <http://zoo-project.org/trac/wiki/ZooKernel/Embed/PHP>`__.313 314 315 Perl Support (Optional)316 ************************317 318 The ``--with-perl=yes`` option can be used for activating the319 ZOO-Kernel Perl support, as follow:320 321 ::322 323 $ ./configure --with-perl=yes324 325 This assumes that perl is found in your PATH. For instance, if Perl is326 installed in ``/usr/local`` and ``/usr/local/bin`` is not found in327 your ``PATH``, then the following command can be used (this assumes328 that ``/usr/local/bin/perl`` exists):329 330 ::331 332 $ ./configure --with-perl=/usr/local333 334 335 Java Support (Optional)336 ************************337 338 In order to activate the Java support for ZOO-Kernel, the339 `--with-java` configure option must be specified and sets the340 installation path of your Java SDK. For instance, if Java SDK is341 installed in the ``/usr/lib/jvm/java-6-sun-1.6.0.22/`` directory,342 then the following command can be used:343 344 ::345 346 $ ./configure --with-java=/usr/lib/jvm/java-6-sun-1.6.0.22/347 348 This assumes that the ``include/linux`` and ``jre/lib/i386/client/``349 subdirectories exist in ``/usr/lib/jvm/java-6-sun-1.6.0.22/``, and350 that the ``include/linux`` directory contains the ``jni.h`` headers file351 and that the ``jre/lib/i386/client/`` directory contains the ``libjvm.so``352 file.353 354 355 .. note::356 With Mac OS X you only have to set *macos* as the value for the357 ``--with-java`` option to activate Java support. For example:358 359 ::360 361 $ ./configure --with-java=macos362 236 363 237 .. _js-support: … … 389 263 390 264 391 MapServer Support (Optional) 392 ***************************** 393 394 395 In order to activate the WMS, WFS and WCS output support using 396 MapServer, the ``--with-mapserver`` option must be used. The path to 397 ``mapserver-config`` which is located in the source code of MapServer 398 must also be set, using the following command: 399 400 :: 401 402 $ ./configure --with-mapserver=/path/to/your/mapserver_config/ 403 404 405 Read more about the :ref:`kernel-mapserver`. 265 PHP Support (Optional) 266 *********************** 267 268 The ``--with-php=yes`` option is required to activate the 269 :ref:`kernel_index` PHP support`, using the following command: 270 271 :: 272 273 $ ./configure --with-php=yes 274 275 This assumes that ``php-config`` can be found in the ``<PATH>/bin`` 276 directory . So, supposing the your ``php-config`` can be found in 277 ``/usr/local/bin``, then use the following command: 278 279 :: 280 281 $ ./configure --with-php=/usr/local 282 283 .. warning:: 284 ZOO-Kernel optional PHP support requires a local PHP Embedded installation. Read more `here <http://zoo-project.org/trac/wiki/ZooKernel/Embed/PHP>`__. 285 286 287 Java Support (Optional) 288 ************************ 289 290 In order to activate the Java support for ZOO-Kernel, the 291 `--with-java` configure option must be specified and sets the 292 installation path of your Java SDK. For instance, if Java SDK is 293 installed in the ``/usr/lib/jvm/java-6-sun-1.6.0.22/`` directory, 294 then the following command can be used: 295 296 :: 297 298 $ ./configure --with-java=/usr/lib/jvm/java-6-sun-1.6.0.22/ 299 300 This assumes that the ``include/linux`` and ``jre/lib/i386/client/`` 301 subdirectories exist in ``/usr/lib/jvm/java-6-sun-1.6.0.22/``, and 302 that the ``include/linux`` directory contains the ``jni.h`` headers file 303 and that the ``jre/lib/i386/client/`` directory contains the ``libjvm.so`` 304 file. 305 306 307 .. note:: 308 With Mac OS X you only have to set *macos* as the value for the 309 ``--with-java`` option to activate Java support. For example: 310 311 :: 312 313 $ ./configure --with-java=macos 314 315 316 Perl Support (Optional) 317 ************************ 318 319 The ``--with-perl=yes`` option can be used for activating the 320 ZOO-Kernel Perl support, as follow: 321 322 :: 323 324 $ ./configure --with-perl=yes 325 326 This assumes that perl is found in your PATH. For instance, if Perl is 327 installed in ``/usr/local`` and ``/usr/local/bin`` is not found in 328 your ``PATH``, then the following command can be used (this assumes 329 that ``/usr/local/bin/perl`` exists): 330 331 :: 332 333 $ ./configure --with-perl=/usr/local 406 334 407 335
Note: See TracChangeset
for help on using the changeset viewer.