Changes between Version 4 and Version 5 of ZooDocumentation/ZOOKernel/MacOSX_installation


Ignore:
Timestamp:
Jan 14, 2011, 4:45:40 PM (13 years ago)
Author:
djay
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ZooDocumentation/ZOOKernel/MacOSX_installation

    v4 v5  
    77== Requirements ==
    88
    9 Before you start downloading ZOO-Project source code, you'll need ot install somme tools required to compiel ZOO-Kernel properly.
     9First of all, you'll need [http://developer.apple.com/technologies/tools/xcode.html XCode].
     10
     11Before you start downloading ZOO-Project source code, you'll need ot install somme tools required to compile ZOO-Kernel properly.
    1012
    1113First of all install PROJ, GEOS and GDAL frameworks from [http://www.kyngchaos.com/software/frameworks here].
    1214
    13 At this step you should get the following directories created :
     15At this step, you should get the following directories on your local hard drive :
    1416
    1517{{{
     
    2022}}}
    2123
    22 Then, create a src directory and download inside [http://www.gnu.org/software/gettext/#TOCdownloading the gettext source code] and uncompress it.
     24Then, create a {{{src}}} directory and download inside [http://www.gnu.org/software/gettext/#TOCdownloading the gettext source code] and uncompress it.
    2325
    2426Now, compile gettext with the following commands to produce an universal binary :
     
    3436== Compiling and installing your ZOO-Kernel ==
    3537
    36 Download source from SVN, then edit the {{{Makfile}}} 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 :
     38Download 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 :
    3739
    3840{{{
     
    4345}}}
    4446
    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.
     47If you produce the {{{libcgic.a}}} file, you can start run {{{autoconf}}} and then {{{configure}}} from {{{zoo-kernel}}} directory.
    4648
    4749{{{
     
    5355
    5456Now 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}}} value
    56  * on line 93 : add {{{-lcrypto -lintl /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation}}} at the end
     57 * 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
    5759
    5860Now, run the following content to compile and then deploy your ZOO-Kernel in your Apache server :
     
    7981}}}
    8082
    81 Obviously you'll then need to create this directory, use the following command :
     83Obviously you'll then need to create this directory, using the following command :
    8284
    8385{{{
     
    9092=== C Version ===
    9193
    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.
     94To 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.
    9395
    9496{{{
     
    155157== Test using Local Demo Page ==
    156158
    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 :
     159Download 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 :
    158160 * http://localhost/~MyUserName/zoo-demo/spatialtools.html
    159161 * http://localhost/~MyUserName/zoo-demo/spatialtools-py.html

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