Changes between Version 10 and Version 11 of ZooDocumentation/ZOOKernel/MacOSX_installation
- Timestamp:
- Jan 16, 2011, 12:40:52 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ZooDocumentation/ZOOKernel/MacOSX_installation
v10 v11 36 36 == Compiling and installing your ZOO-Kernel == 37 37 38 Download source from SVN, then edit the {{{Makefile}}} in {{{zoo/thirds/cgic206/}}} directory to add on line 5 {{{-arch i386 -arch ppc -arch x86_64}}} to the {{{LIB}}} value. Then,use the following command to compile libcgic :38 Download source from SVN, then use the following command to compile libcgic : 39 39 40 40 {{{ … … 45 45 }}} 46 46 47 If you produce the {{{libcgic.a}}} file, you can start run {{{autoconf}}} and then {{{configure}}} from {{{zoo-kernel}}} directory.47 If you produced the {{{libcgic.a}}} file, you can start run {{{autoconf}}} and then {{{configure}}} from {{{zoo-kernel}}} directory. 48 48 49 49 {{{ … … 51 51 cd zoo/zoo-kernel 52 52 autoconf 53 ./configure --with-gdal-config=/Library//Frameworks/GDAL.framework/Versions/1.7/Programs/gdal-config --with-python 53 ./configure --with-python --with-java=macos \ 54 --with-gdal-config=/Library/Frameworks/GDAL.framework/Versions/1.7/Programs/gdal-config 54 55 }}} 55 56 56 Now you need to edit the Makefile to do the following modifications : 57 * on line 6 : add "{{{-arch i386 -arch ppc -arch x86_64}}}" to the {{{CFLAGS}}} value 58 * on line 93 : add "{{{-lintl -framework SystemConfiguration -framework CoreFoundation}}}" at the end 57 Obviously, if you don't need Python or Java support then you should remove the corresponding configure option. 59 58 60 Now, run the following content to compile and then deploy your ZOO-Kernel in your Apache server : 59 Note that we used {{{--with-java=macos}}} configure option. Due to the generic location on all MacOS X platform of the JDK, you don't have to provide here its full path. 60 61 Now, run the following commands to compile and deploy your ZOO-Kernel on your Apache server : 61 62 {{{ 62 63 #!sh