Packaging PostGIS for F23 / PG95

From: Oskari Saarenmaa <os(at)ohmu(dot)fi>
To: pgsql-pkg-yum(at)postgresql(dot)org
Subject: Packaging PostGIS for F23 / PG95
Date: 2015-11-26 08:24:55
Message-ID: 5656C1D7.8000804@ohmu.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum

Hi,

I noticed PostGIS wasn't available for F23 / PG95 in yum.postgresql.org
and looked into the issues. Apparently SFCGAL 1.2.0 didn't build on F23
due to a change in CGAL, upstream fixed this in release 1.2.2 so I just
downloaded the latest tag from github and updated the spec to match,
attached.

After fixing that I ran into issues building PostGIS on F23 wrt linking
to GDAL. That required adding a -fPIC flag to configure when linking
with GDAL as well as removing the LD_LIBRARY_PATH setting in .spec.
Attached patches for .spec and for PostGIS's configure.

Cheers,
Oskari

Attachment Content-Type Size
postgis22-spec-gdal.patch text/x-patch 1.7 KB
postgis-2.2.0-gdalfpic.patch text/x-patch 324 bytes
sfcgal-spec-122.patch text/x-patch 863 bytes

Responses

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Devrim GÜNDÜZ 2015-11-27 16:49:46 Re: Packaging PostGIS for F23 / PG95
Previous Message Scott Mugnaini 2015-11-22 23:33:38 pgrouting in pg 9.5