Re: Errors while installing PostGIS by an unusual method

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ankit Sablok <ankitsab(at)buffalo(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Errors while installing PostGIS by an unusual method
Date: 2016-10-24 12:37:55
Message-ID: 20599.1477312675@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ankit Sablok <ankitsab(at)buffalo(dot)edu> writes:
> I am trying to install PostGIS on a RHEL_5 system and failing at it
> miserably. The way I am trying to install it is as follows. I copy over all
> the artifacts of postgresql server as in the bin, lib, share directories of
> postgresql server in a directory called pgql and I place it in the root
> directory i.e /pgsql is the directory which contains things like pg_config
> and all the other libs and bins that one gets by installing postgresql
> using the standard installation.

(1) did you remember the include directory?

(2) I think this process will not work unless /pgsql was also the install
directory on the source machine. You can check that by running pg_config
by hand and seeing what it prints for INCLUDEDIR, but it looks to me like
it just parrots what PG's configure expected the installation path to be.

(This is assuming that PostGIS's configure even pays attention to what
pg_config says for INCLUDEDIR. I've not checked.)

Is there a good reason why you're not building Postgres on the same
machine where you're building PostGIS? It seems like a recipe for
trouble, with little to be gained.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message fredrik 2016-10-24 13:10:41 Re: out-of-order XID insertion in KnownAssignedXids
Previous Message Deven Phillips 2016-10-24 12:34:26 Re: json-patch support?