Re: Error During PostGIS Build From Source on Linux

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Osahon Oduware <osahon(dot)gis(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Error During PostGIS Build From Source on Linux
Date: 2017-04-12 18:01:41
Message-ID: df13d61b-7ae6-2110-bbe2-de20cd32778e@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 04/12/2017 10:14 AM, Osahon Oduware wrote:
> Hi All,
>
> I am working on a Linux OS (Centos 6.5). I built GDAL successfully from
> source as below:
> ./configure --prefix=/path/to/gdal
> make
> make install
>
> Next I built PostgreSQL successfully from source as below:
> ./configure --prefix=/path/to/pgsql
> make
> make install
>
> I attempted to configure PostGIS from source as below:
> ./configure --with-pgconfig=/home/path/to/
> pg_config --with-gdalconfig=/path/to/gdal
> --with-geosconfig=/path/to/geos-config
> --with-xml2config=/path/to/xml2-config --with-projdir=/path/to/proj
> --with-gui --with-raster --with-topology
>
> but I get the following error:
> configure: error: PostGIS raster requires OGR to be enabled in GDAL. Use
> --without-raster to build without raster support.
>
> I sure need the raster support to be enabled in PostGIS. Could anyone
> help me out with this.

Use the Postgres YUM repos:

https://www.postgresql.org/download/linux/redhat/

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rob Sargent 2017-04-12 18:11:19 Re: Error During PostGIS Build From Source on Linux
Previous Message Osahon Oduware 2017-04-12 17:14:19 Error During PostGIS Build From Source on Linux