Re: postgis30 / RH6

From: Justin Pryzby <pryzby(at)telsasoft(dot)com>
To: Devrim Gündüz <devrim(at)gunduz(dot)org>
Cc: Paul Ramsey <pramsey(at)cleverelephant(dot)ca>, pgsql-pkg-yum(at)postgresql(dot)org
Subject: Re: postgis30 / RH6
Date: 2019-10-31 00:02:29
Message-ID: 20191031000229.GE23808@telsasoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum

On Wed, Oct 30, 2019 at 11:53:29PM +0000, Devrim Gündüz wrote:
> Hi,
>
> On Wed, 2019-10-30 at 18:47 -0500, Justin Pryzby wrote:
> > Please don't waste time on it if it's not trivial, but..
> >
> > .. you mentioned that it's impossible to build its dependencies, a
>
> You mean you built GeOS38, Proj62, OGDI41, GDAL30 ? If so, please send me the
> patches, I am really willing to apply them and build the RPMs.

No; for customers not ready to migrate to centos7, I've been compiling
postgis30 for pg11 and pg12 using the versions of dependencies already
available for centos6.

On Oct 7, 2019, at 8:24 AM, Justin Pryzby <pryzby(at)telsasoft(dot)com> wrote:
> $ rpm -q geos36-devel proj49-devel json-c-devel gdal-devel hdf5-devel
> geos36-devel-3.6.3-1.rhel6.1.x86_64
> proj49-devel-4.9.3-3.rhel6.1.x86_64
> json-c-devel-0.11-13.el6.x86_64
> gdal-devel-1.9.2-9.rhel6.x86_64
> hdf5-devel-1.8.5.patch1-10.el6.x86_64

sudo yum -y install geos36-devel proj49-devel json-c12-devel gdal-devel hdf5-devel postgresql11-devel postgresql12-devel json-c-devel # hdf5-devel-1.8.5.patch1-10.el6.x86_64
mkdir ~/src ; cd ~/src ; wget https://download.osgeo.org/postgis/source/postgis-3.0.0.tar.gz && tar xf postgis-3.0.0.tar.gz && cd postgis-3.0.0
time for ver in 11 12; do ./configure --with-pgconfig=/usr/pgsql-$ver/bin/pg_config --with-geosconfig=/usr/geos36/bin/geos-config --with-projdir=/usr/proj49 --with-gdalconfig=/usr/bin/gdal-config && make && sudo make install; done

In response to

Responses

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Devrim Gündüz 2019-10-31 00:19:04 Re: PostGIS 3 and PostgreSQL 12
Previous Message Devrim Gündüz 2019-10-30 23:53:29 Re: postgis30 / RH6