Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
cd /usr/local/src/TARFILES
wget http://download.osgeo.org/geos/geos-3.3.3.tar.bz2
cd ..
tar xvfj TARFILES/geos-3.3.3.tar.bz2
cd geos-3.3.3
# no python bindings
./configure
make
sudo make install
switch default python versions

python2.5 It is already installed - we want to make it the default version - here's how.
 You won't see this take effect unless you reenter the shell.

Code Block
sudo rm /usr/bin/python
ln -s ./python2.5 python

 

install gdal
Code Block
cd /usr/local/src/TARFILES
wget http://download.osgeo.org/gdal/gdal-1.9.0.tar.gz
cd ../
tar xvfz TARFILES/gdal-1.9.0.tar.gz
cd gdal-1.9.0/
# set your PATH properly so we get the right version of python
export PATH=/usr/local/bin/:$PATH
./configure --with-python
make
sudo PATH=/usr/local/bin/:$PATH make install


 make clean
 1013  history
 1014  ./configure --with-python -classic
 1015  ./configure --with-python --classic
 1016  ./configure --with-python-classic
 1017  make
 1018  sudo make install

 

...