Changes between Version 4 and Version 5 of ZooDocumentation/ZOOKernel/MacOSX_installation
- Timestamp:
- Jan 14, 2011, 4:45:40 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ZooDocumentation/ZOOKernel/MacOSX_installation
v4 v5 7 7 == Requirements == 8 8 9 Before you start downloading ZOO-Project source code, you'll need ot install somme tools required to compiel ZOO-Kernel properly. 9 First of all, you'll need [http://developer.apple.com/technologies/tools/xcode.html XCode]. 10 11 Before you start downloading ZOO-Project source code, you'll need ot install somme tools required to compile ZOO-Kernel properly. 10 12 11 13 First of all install PROJ, GEOS and GDAL frameworks from [http://www.kyngchaos.com/software/frameworks here]. 12 14 13 At this step you should get the following directories created:15 At this step, you should get the following directories on your local hard drive : 14 16 15 17 {{{ … … 20 22 }}} 21 23 22 Then, create a srcdirectory and download inside [http://www.gnu.org/software/gettext/#TOCdownloading the gettext source code] and uncompress it.24 Then, create a {{{src}}} directory and download inside [http://www.gnu.org/software/gettext/#TOCdownloading the gettext source code] and uncompress it. 23 25 24 26 Now, compile gettext with the following commands to produce an universal binary : … … 34 36 == Compiling and installing your ZOO-Kernel == 35 37 36 Download source from SVN, then edit the {{{Mak file}}} 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 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 : 37 39 38 40 {{{ … … 43 45 }}} 44 46 45 If you produce the {{{libcgic.a}}} file, you can start run autoconf and then configure. Note that you would comment first line of the configure.ac file to avoid error caused by different version of autoconf.47 If you produce the {{{libcgic.a}}} file, you can start run {{{autoconf}}} and then {{{configure}}} from {{{zoo-kernel}}} directory. 46 48 47 49 {{{ … … 53 55 54 56 Now you need to edit the Makefile to do the following modifications : 55 * on line 6 : add {{{-arch i386 -arch ppc -arch x86_64}}}to the {{{CFLAGS}}} value56 * on line 93 : add {{{-lcrypto -lintl /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation}}}at the end57 * on line 6 : add "{{{-arch i386 -arch ppc -arch x86_64}}}" to the {{{CFLAGS}}} value 58 * on line 93 : add "{{{-lcrypto -lintl /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation}}}" at the end 57 59 58 60 Now, run the following content to compile and then deploy your ZOO-Kernel in your Apache server : … … 79 81 }}} 80 82 81 Obviously you'll then need to create this directory, us ethe following command :83 Obviously you'll then need to create this directory, using the following command : 82 84 83 85 {{{ … … 90 92 === C Version === 91 93 92 To compile the base-vect-ops !ServicesProvider you'll need to edit the {{{Makefile}}} in {{{zoo/zoo-services/ogr/base-vect-ops/}}} directory. Add {{{-I/Library//Frameworks/GEOS.framework/Versions/3/Headers/}}} to the {{{CFLAGS}}} value on the first line. To compile, add GDAL framework to the {{{PATH}}} to ensure that {{{gdal-config}}} tool will be found, run {{{make}}} and then copy {{{cgi-env}}} files in{{{/Library/WebServer/CGI-Executables}}} directory.94 To compile the base-vect-ops !ServicesProvider you'll need to edit the {{{Makefile}}} in {{{zoo/zoo-services/ogr/base-vect-ops/}}} directory. Add "{{{-I/Library//Frameworks/GEOS.framework/Versions/3/Headers/}}}" to the {{{CFLAGS}}} value on the first line. To compile, add GDAL framework to the {{{PATH}}} environmenet variable, to ensure that {{{gdal-config}}} tool will be found, run {{{make}}} and then copy {{{cgi-env}}} files in the {{{/Library/WebServer/CGI-Executables}}} directory. 93 95 94 96 {{{ … … 155 157 == Test using Local Demo Page == 156 158 157 Download using this [/../trac/raw-attachment/wiki/ZooDocumentation/ZOOKernel/MacOSX_installation/zoo-demo.zip zip archive] then uncompress it in your Sites directory. Load your local demo pages using the following urls, replacing !MyUserName by your MacOS user name :159 Download this [/../trac/raw-attachment/wiki/ZooDocumentation/ZOOKernel/MacOSX_installation/zoo-demo.zip zip archive] then uncompress it in your personnal Sites directory (in your home directory). Load your local demo pages using the following urls, replacing !MyUserName by your MacOS user name : 158 160 * http://localhost/~MyUserName/zoo-demo/spatialtools.html 159 161 * http://localhost/~MyUserName/zoo-demo/spatialtools-py.html