Changeset 340 for trunk/docs


Ignore:
Timestamp:
Oct 11, 2011, 4:00:16 PM (9 years ago)
Author:
lucadelu
Message:

change debian installation documentation to fix ticket 55

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/kernel/install-debian.txt

    r320 r340  
    44===============
    55
    6 :Authors: Nicolas Bozon, Gérald Fenoy, Jeff McKenna
     6:Authors: Nicolas Bozon, Gérald Fenoy, Jeff McKenna, Luca Delucchi
    77:Last Updated: $Date$
    88
     
    3838  cd zoo-project/thirds/cgic206/
    3939
    40 - change the path of installation
    41 
    42 ::
    43 
    44   nano Makefile
    45     - LIBS=-L./ -lcgic ../fcgi-2.4.0/libfcgi/.libs/libfcgi.a --> LIBS=/path/to/libfcgi.a
    46     - cp libcgic.a  ../../dist/lib --> cp libcgic.a /usr/lib
    47     - cp cgic.h  ../../dist//include --> cp cgic.h  /usr/include
    48     - @echo libcgic.a is in  ../../dist/lib and cgic.h is in  ../../dist//include. --> @echo libcgic.a is in  /usr/lib and cgic.h is in /usr/include.
    49 
    5040- compile
    5141
     
    7464- run configure
    7565
    76 .. note::
    77    In Ubuntu 10.04 libmozjs-dev does not exist, so to use JS you can compile `SpiderMonkey <https://developer.mozilla.org/en/SpiderMonkey>`__ or use the xulrunner-dev package
    78    which includes SpiderMonkey. 
    79    For PHP, you must make sure to compile PHP with `--enable-embed <http://www.zoo-project.org/trac/wiki/ZooKernel/Embed/PHP#ConfigureandInstallPHPEmbedlibrary>`__.
    80 
    8166::
    8267
    8368  ./configure --with-java=/path/to/java
     69  ./configure --with-python
     70
     71.. note::
     72   In Ubuntu 10.04 libmozjs-dev does not exist, so to use JS you can compile SpiderMonkey or use the xulrunner-dev package which includes SpiderMonkey.
     73   For PHP, you must make sure to compile PHP with `--enable-embed <http://www.zoo-project.org/trac/wiki/ZooKernel/Embed/PHP#ConfigureandInstallPHPEmbedlibrary>`__.
     74
     75- to use JavaScript with XulRunner SpiderMonkey you have to create a link of libmozjs.so.
     76
     77::
    8478 
    85   to JavaScript with XulRunner SpiderMonkey you have to edit configure file.
    86     - JS_CPPFLAGS="-I$JSHOME/include/js" --> JS_CPPFLAGS="-I$JSHOME/include"
    87     - JS_LDFLAGS="-L$JSHOME/lib -ljs -lm" --> JS_LDFLAGS="-L$JSHOME/lib -lmozjs -lm"
    88     - JS_LIB="js" --> JS_LIB="mozjs"
    89    
    90   ./configure --with-js=/usr/lib/xulrunner-devel.1.9.2.n
     79  ln -s /usr/lib/xulrunner-1.9.2.23/libmozjs.so /usr/lib/
     80 
     81  ./configure --with-js
     82 
     83
    9184
    9285- compile
     
    10396  sudo cp zoo_loader.cgi /usr/lib/cgi-bin
    10497
    105 - Install ZOO ServiceProvider
     98- install ZOO ServiceProvider (in this case we try Python service)
    10699
    107100::
Note: See TracChangeset for help on using the changeset viewer.

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