SynoCommunity / spksrc

Cross compilation framework to create native packages for the Synology's NAS
https://synocommunity.com
Other
3.02k stars 1.23k forks source link

[Package Request] PostGIS [$15] #2237

Open ericjarvies opened 8 years ago

ericjarvies commented 8 years ago

Description: PostgreSQL Extension Website: http://postgis.net Documentation: http://postgis.net/documentation/ Build/Installation documentation: http://trac.osgeo.org/postgis/wiki/UsersWikiInstall Source Code: http://postgis.net/source/ License: GNU General Public License (GPLv2)

There is a $15 open bounty on this issue. Add to the bounty at Bountysource.

ericjarvies commented 8 years ago

A simple package in the package center named "PostGIS Extension" that -upon installation- PostGIS enables the existing /bin/psql instance of PostgreSQL (9.3.6).

Alternatively, create a package named "PostgreSQL Extensions" that installs multiple (the most popular) PostgreSQL extensions.

Lastly, could create a new package named "PostGIS enabled PostgreSQL" that installs the latest PostgreSQL 9.5.2 _along with the latest _PostGIS 2.2.2.

If anyone is interested in this, please advise/open a dialogue with me, and I will provide whatever assistance possible.

Thanks,

Eric

DavidKi commented 8 years ago

Hello Eric,

this sounds pretty nice! I have been looking already for a possibility to use postgis on my NAS (ds112j with dsm 6.0). Tried to build it on my own, but haven't been succesful. Are there already some results for such a package?

Best, David

GuillaumeSmaha commented 8 years ago

Hi,

I am trying to build it but it is not an easy case. I can build Geos, Proj4.j, Postgresql easily but I have an issue with GDAL and PostGis.

A big problem for GDAL and Postgis is the call to pg_config during configure which is not a script file but a binary file.

It's possible to bypass it with a native build ...