Changeset 340 for trunk/docs/kernel
- Timestamp:
- Oct 11, 2011, 4:00:16 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/kernel/install-debian.txt
r320 r340 4 4 =============== 5 5 6 :Authors: Nicolas Bozon, Gérald Fenoy, Jeff McKenna 6 :Authors: Nicolas Bozon, Gérald Fenoy, Jeff McKenna, Luca Delucchi 7 7 :Last Updated: $Date$ 8 8 … … 38 38 cd zoo-project/thirds/cgic206/ 39 39 40 - change the path of installation41 42 ::43 44 nano Makefile45 - LIBS=-L./ -lcgic ../fcgi-2.4.0/libfcgi/.libs/libfcgi.a --> LIBS=/path/to/libfcgi.a46 - cp libcgic.a ../../dist/lib --> cp libcgic.a /usr/lib47 - cp cgic.h ../../dist//include --> cp cgic.h /usr/include48 - @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 50 40 - compile 51 41 … … 74 64 - run configure 75 65 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 package78 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 81 66 :: 82 67 83 68 ./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 :: 84 78 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 91 84 92 85 - compile … … 103 96 sudo cp zoo_loader.cgi /usr/lib/cgi-bin 104 97 105 - Install ZOO ServiceProvider98 - install ZOO ServiceProvider (in this case we try Python service) 106 99 107 100 ::
Note: See TracChangeset
for help on using the changeset viewer.