Re: [GENERAL] Error During PostGIS Build From Source on Linux - Mailing list pgsql-general

From Rob Sargent
Subject Re: [GENERAL] Error During PostGIS Build From Source on Linux
Date
Msg-id d6d8a0a9-de5e-c433-0cf9-c0d835bbd40d@gmail.com
Whole thread Raw
In response to Re: [GENERAL] Error During PostGIS Build From Source on Linux  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Re: [GENERAL] Error During PostGIS Build From Source on Linux  (Adrian Klaver <adrian.klaver@aklaver.com>)
List pgsql-general

On 04/12/2017 12:01 PM, Adrian Klaver wrote:
> 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/
>
Been  years since I did this but you could (re)build GDAL with OGR as
requested in the error message.
rjs


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: [GENERAL] Error During PostGIS Build From Source on Linux
Next
From: Adrian Klaver
Date:
Subject: Re: [GENERAL] Error During PostGIS Build From Source on Linux