[postgis-devel] make check question

Bryce L Nordgren bnordgren at gmail.com
Wed Jul 27 11:04:58 PDT 2011


On Wed, Jul 27, 2011 at 5:34 PM, Paragon Corporation <lr at pcorp.us> wrote:

> ** ** **
> That error usually happens for a couple of reasons
>
> ** **
>
> **a)       **Account doesn’t have rights to install (but since you got as
> far as creating a db, that is probably not the issue)
>

Bingo.

psql:/home/bnordgren/src/postgis-geos/regress/postgis.sql:65: ERROR:  could
not access file
"/home/bnordgren/src/postgis-geos-build/regress/00-regress-install/lib/postgis-2.0":
Permission denied

To be clear: I'm NOT installing this in the system directory. I'm running
"make check" before "make install".

It appears that the system's postgresql instance (running as user postgres)
does not have permission to access the non-installed .so files in my
directory (owned by me). Wouldn't it make sense to have "make check" create
a directory structure with world read/execute permissions if it's planning
on setting up this kind of situation?

I'll play with this more later...Thanks for the pointers!

Bryce



> ****
>
> **b)      **You are missing a dependency, like it can’t find geos, proj,
> libi-conv2, or gdal – those are usually the prime suspects.  I usually just
> copy those to my postgresql bin before hand since fiddling with the paths
> never seems to work for me.****
>
> ** **
>
>      c) You compiled for the wrong platform of postgres ((this happens to
> me sometimes if I mix up my ports and the version of postgres I think is
> running on a particular port is not the version I compiled for.****
>
> ** **
>
> Hope that helps,****
>
> ****Regina********
>
> ** **
>  ------------------------------
>
> *From:* postgis-devel-bounces at postgis.refractions.net [mailto:
> postgis-devel-bounces at postgis.refractions.net] *On Behalf Of *Bryce L
> Nordgren
> *Sent:* Wednesday, July 27, 2011 11:52 AM
> *To:* **PostGIS Development Discussion**
> *Subject:* Re: [postgis-devel] make check question****
>
> ** **
>
> ** **
>
> On Wed, Jul 27, 2011 at 5:17 AM, Paragon Corporation <lr at pcorp.us> wrote:*
> ***
>
> To do the non C-Unit checks, you need a running PostgreSQL server period.
> ****
>
> export PGPORT=5434****
>
> export PG_VER=84****
>
> export PGUSER=postgres****
>
> ** **
>
>
> I have a different error now, having to do with the fact that the plpgsql
> language comes pre-installed on Postgresql 9.0 databases. So: spatial
> functions never get added and the very first test fails...
>  ****
>
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20110727/4dffb04e/attachment.html>


More information about the postgis-devel mailing list