Issue
The problem is that my project uses old postgres and postgis versions. In 13.04 I just downloaded deb packet and installed it,but it looks like something changed in 14.04 and packet doesn't seem to resolve any of it's dependencies.
Do you have any ideas how it can be fixed?
Solution
Keep in mind that PostGIS 1.5 is supported for PostgreSQL versions 8.3 to 9.2, but the standard install for Ubuntu 14.04 is PostgreSQL 9.3, so you need to install an older version.
I suggest installing PostgreSQL 9.2 from the PGDG APT repo, which is carefully maintained.
After installing an older version of PostgreSQL, you will probably need to build PostGIS 1.5 from source. Here are the perquisites:
sudo apt-get install build-essential libgeos-c1 libproj-dev libjson-c-dev libxml2-dev libxml2-utils xsltproc docbook-xsl docbook-mathml
And the download, configure, build, and install:
wget http://download.osgeo.org/postgis/source/postgis-1.5.8.tar.gz
tar xfvz postgis-1.5.8.tar.gz
cd postgis-1.5.8
./configure
make
sudo make install
sudo ldconfig
Also see these build instructions for an older version of Ubuntu.
Answered By - Mike T Answer Checked By - Dawn Plyler (WPSolving Volunteer)