Changes between Version 21 and Version 22 of GeoDjangoUbuntuInstall


Ignore:
Timestamp:
09/04/2008 09:41:32 AM (6 years ago)
Author:
jbronn
Comment:

GEOS should be built before GDAL

Legend:

Unmodified
Added
Removed
Modified
  • GeoDjangoUbuntuInstall

    v21 v22  
    2121#Install Apache2, PsycoPg2, PostGreSQL, PostGIS, build-essential [to be able to compile libraries], and Mod_Python
    2222sudo apt-get install apache2 python-psycopg2 postgresql build-essential libapache2-mod-python postgresql-8.3-postgis #Press 'y' to confirm download
    23 wget http://download.osgeo.org/gdal/gdal-1.5.2.tar.gz #The version in the Repositories is currently not new enough for GeoDjango
    24 wget http://download.osgeo.org/geos/geos-3.0.0.tar.bz2  #The version in the Repositories is currently not new enough for GeoDjango
    25 tar xzvf gdal-1.5.2.tar.gz
    26 cd gdal-1.5.2
    27 ./configure --datadir=/usr/local/share/gdal
    28 make
    29 sudo make install
    30 cd ~
    31 bzip2 -dc geos-3.0.0.tar.bz2 | tar -x
     23wget http://download.osgeo.org/geos/geos-3.0.0.tar.bz2  # The version in the Repositories is currently not new enough for GeoDjango
     24wget http://download.osgeo.org/gdal/gdal-1.5.2.tar.gz # The version in the Repositories is currently not new enough for GeoDjango
     25tar xjf geos-3.0.0.tar.bz2
    3226cd geos-3.0.0
    3327./configure
    3428make
    35 sudo make install       
    36 sudo cp /usr/share/gcs.csv /usr/local/share/
     29sudo make install
     30cd ..
     31tar xzf gdal-1.5.2.tar.gz
     32cd gdal-1.5.2
     33./configure
     34make
     35sudo make install
     36cd ..
    3737sudo pico /etc/postgresql/8.3/main/pg_hba.conf #Edit to allow Django Connections, as per the regular Django Docs
    3838sudo pico /etc/apache2/sites-available/default #Edit to Create Django Locations, as per the regular Django Docs
     
    9595Extract gdal-1.5.2.tar.gz and geos-3.0.0 to folders on your Desktop and install::
    9696{{{
    97     #in the gdal-1.5.2 directory
    98     ./configure --datadir=/usr/local/share/gdal
    99     make
    100     sudo make install
    101 
    10297    #in the geos-3.0.0 directory
    10398    ./configure
    10499    make
    105     sudo make install       
     100    sudo make install   
     101
     102    #in the gdal-1.5.2 directory
     103    ./configure
     104    make
     105    sudo make install   
    106106
    107107    sudo cp ~/Desktop/geos-3.0.0/capi/libs/* /usr/lib/
Back to Top