[postgis-devel] Controlling socket path for make check

Sandro Santilli strk at keybit.net
Thu Apr 10 22:52:31 PDT 2014


On Fri, Apr 11, 2014 at 03:48:01AM +0200, Karl-Philipp Richter wrote:
> Hi together,
> I'm pretty new to PostGIS and find it difficult to understand how to
> control the socket path for make check. Currently I'm trying to run make
> check for git tag 2.1.2. The installation guide at
> http://postgis.net/docs/postgis_installation.html gives information
> about how to change binaries and port to be used for the test, but the
> socket defaults to /var/run/... on Ubtunu 13.10 which I can't access
> without root privileges. I guess it's possible to test without such!?
> I'd like to set the socket directory to /tmp or $HOME/tmp or something
> similar. How can I proceed and test without privileges?

You can use the PGHOST environment variable to specify the socket dir.
It's a libpq feature.

--strk;



More information about the postgis-devel mailing list