[postgis-users] Installing PostGIS 2.0.1 at a different location

Sandeep Thakkar sandeep.thakkar at enterprisedb.com
Mon Nov 26 06:12:46 PST 2012


Please find attached the patch. I should actually send the patch to
postgis-devel, but I guess it's okay for this time. :)
------------
--- postgis/Makefile.in.org     2012-11-26 19:29:47.000000000 +0530
+++ postgis/Makefile.in 2012-11-26 19:30:20.000000000 +0530
@@ -108,7 +108,7 @@
         bindir=/bin
         pkglibdir=/lib
         datadir=/share
-        datamoduledir=contrib/postgis
+        datamoduledir=contrib/postgis- at POSTGIS_MAJOR_VERSION
@. at POSTGIS_MINOR_VERSION@
 endif

 # Make all PostGIS objects depend upon liblwgeom, so that if an underlying

--- doc/Makefile.comments.in.org 2012-11-26 19:41:36.000000000 +0530
+++ doc/Makefile.comments.in 2012-11-26 19:41:59.000000000 +0530
@@ -44,6 +44,6 @@
         bindir=/bin
         pkglibdir=/lib
         datadir=/share
-        datamoduledir=contrib/postgis
+        datamoduledir=contrib/postgis- at POSTGIS_MAJOR_VERSION
@. at POSTGIS_MINOR_VERSION@
 endif
------


On Mon, Nov 26, 2012 at 6:40 PM, Sandeep Thakkar <
sandeep.thakkar at enterprisedb.com> wrote:

> Hi,
>
> I got the sources of PostGIS-2.0.1 and I'm building it against PG9.2.
> Using --with-pgconfig option, I specify the location of the pgconfig. The
> installation was fine and I could see the postgis files.
>
> But, when I specify PGSQL_SHAREDIR, PGSQL_DOCDIR and DESTDIR during "make
> install", I see that the share folder now consists of two directories,
> postgis and postgis-2.0.
>
> postgis-2.0 contains only "postgis_restore.pl". All sql files goes into
> 'postgis' folder in share/contrib. Why? How can I fix this?
>
> --
> Sandeep Thakkar
> Senior Software Engineer
> EnterpriseDB Corporation
> The Enterprise Postgres Company
> Phone: +91.20.30589514
>
> Website: www.enterprisedb.com
> EnterpriseDB Blog: http://blogs.enterprisedb.com/
> Follow us on Twitter: http://www.twitter.com/enterprisedb
>
> This e-mail message (and any attachment) is intended for the use of the
> individual or entity to whom it is addressed. This message contains
> information from EnterpriseDB Corporation that may be privileged,
> confidential, or exempt from disclosure under applicable law. If you are
> not the intended recipient or authorized to receive this for the intended
> recipient, any use, dissemination, distribution, retention, archiving, or
> copying of this communication is strictly prohibited. If you have received
> this e-mail in error, please notify the sender immediately by reply e-mail
> and delete this message.
>



-- 
Sandeep Thakkar
Senior Software Engineer
EnterpriseDB Corporation
The Enterprise Postgres Company
Phone: +91.20.30589514

Website: www.enterprisedb.com
EnterpriseDB Blog: http://blogs.enterprisedb.com/
Follow us on Twitter: http://www.twitter.com/enterprisedb

This e-mail message (and any attachment) is intended for the use of the
individual or entity to whom it is addressed. This message contains
information from EnterpriseDB Corporation that may be privileged,
confidential, or exempt from disclosure under applicable law. If you are
not the intended recipient or authorized to receive this for the intended
recipient, any use, dissemination, distribution, retention, archiving, or
copying of this communication is strictly prohibited. If you have received
this e-mail in error, please notify the sender immediately by reply e-mail
and delete this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20121126/ee412587/attachment.html>


More information about the postgis-users mailing list