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@telsasoft.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-develjson-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