Changes between Version 3 and Version 4 of OracleSpatialTestSetup


Ignore:
Timestamp:
Feb 12, 2013, 7:11:21 AM (12 years ago)
Author:
Aymeric Augustin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OracleSpatialTestSetup

    v3 v4  
    1111Prerequisities
    1212==============
    13 On host machine:
    14  - Install Oracle client and set it up as documented in https://docs.djangoproject.com/en/1.4/ref/databases/#oracle-notes
    15  - Install GeoDjango requirements as documented in https://docs.djangoproject.com/en/1.4/ref/contrib/gis/install/
     13On the host machine:
     14- Install Oracle client and set it up as documented in https://docs.djangoproject.com/en/1.4/ref/databases/#oracle-notes
     15- Install GeoDjango requirements as documented in https://docs.djangoproject.com/en/1.4/ref/contrib/gis/install/
     16
     17On OS X, the general procedure to install cx_Oracle is:
     18
     19* Download InstantClient from Oracle. You need the "Basic Lite" and "SDK" packages.
     20* Unzip them, merge them, and put the resulting directory in, for instance, `~/dev/oracle`.
     21* Set the following environment variables (you'll need them every time you use cx_Oracle)::
     22
     23    export ORACLE_HOME=~/Documents/dev/oracle/instantclient_10_2
     24    export LD_LIBRARY_PATH=$ORACLE_HOME
     25    export DYLD_LIBRARY_PATH=$ORACLE_HOME
     26
     27* Fix Oracle's package::
     28
     29    ln -s libclntsh.dylib.10.1 $ORACLE_HOME/libclntsh.dylib
     30    ln -s libocci.dylib.10.1 $ORACLE_HOME/libocci.dylib
     31
     32* Install cx_Oracle::
     33
     34    pip install cx_Oracle
     35
     36Adjust paths and versions as needed. There are plenty of more-or-less up-to-date tutorials on the web.
     37
    1638
    1739======================
Back to Top