[postgis-devel] Packaging PostGIS 1.4 into custom RPM
Wilkins, Brian
bwilkins at harris.com
Tue Jul 30 05:13:23 PDT 2013
Thanks Peter. I looked at the RPM for the PostGIS source and determined that nothing particularly special was going on, so I was able to use DESTDIR but had to move the files out of /opt/postgis/usr and back to the top level. The important part was that PostGIS was still linked to the right GEOS and Proj at /opt/geos and /opt/proj, which I determined by doing a ldd on the postgis-1.4.so file under lib64.
Brian
From: postgis-devel-bounces at lists.osgeo.org [mailto:postgis-devel-bounces at lists.osgeo.org] On Behalf Of Peter Hopfgartner
Sent: Tuesday, July 30, 2013 4:53 AM
To: postgis-devel at lists.osgeo.org
Subject: Re: [postgis-devel] Packaging PostGIS 1.4 into custom RPM
On 07/24/2013 04:23 PM, Wilkins, Brian wrote:
All,
I maintain several different systems and build custom RPMs for our various pieces of software. What is the preferred method to build a custom PostGIS RPM? Since -prefix is broken for PostGIS 1.4.2, can I just use make install -DESTDIR=<my dest dir> and move the files that end up under the subdirectory usr to my top-level destination directory and build a RPM from my destination directory?
Thanks
Brian
Hi Brian,
if you're using PostgreSQL as provided by the distro, http://wiki.osgeo.org/wiki/Enterprise_Linux_GIS or Fedora src.rpm packages might be a good starting point for repackaging.
If your on RHEL/Fedora and need a more current version of PostgreSQL, have a look at the packages at http://yum.postgresql.org/
Regards,
Peter
_______________________________________________
postgis-devel mailing list
postgis-devel at lists.osgeo.org<mailto:postgis-devel at lists.osgeo.org>
http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel
--
Peter Hopfgartner
web : www.r3-gis.com<http://www.r3-gis.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20130730/ef799b60/attachment.html>
More information about the postgis-devel
mailing list