<br><br><div class="gmail_quote">On Wed, Jul 27, 2011 at 5:34 PM, Paragon Corporation <span dir="ltr"><<a href="mailto:lr@pcorp.us">lr@pcorp.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">





<u></u>
<u></u>
<u></u>





<div link="blue" vlink="blue" lang="EN-US"><div>

<font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">That error usually happens for a couple of
reasons</span></font>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"><u></u> <u></u></span></font></p>

<p class="MsoNormal" style="margin-left:.5in"><u></u><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"><span>a)<font size="1" face="Times New Roman"><span style="font:7.0pt "Times New Roman"">       </span></font></span></span></font><u></u><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Account doesn’t have rights to install (but since you got as
far as creating a db, that is probably not the issue)</span></font></p></div></div></blockquote><div><br>Bingo.<br><br>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<br>
<br>To be clear: I'm NOT installing this in the system directory. I'm running "make check" before "make install".<br><br>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? <br>
<br>I'll play with this more later...Thanks for the pointers!<br><br>Bryce<br><br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div link="blue" vlink="blue" lang="EN-US"><div><p class="MsoNormal" style="margin-left: 0.5in;"><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"><u></u><u></u></span></font></p>


<p class="MsoNormal" style="margin-left:.5in"><u></u><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"><span>b)<font size="1" face="Times New Roman"><span style="font:7.0pt "Times New Roman"">      </span></font></span></span></font><u></u><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">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.<u></u><u></u></span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"><u></u> <u></u></span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">     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.<u></u><u></u></span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"><u></u> <u></u></span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Hope that helps,<u></u><u></u></span></font></p>

<p class="MsoNormal"><u></u><u></u><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Regina</span></font><u></u><u></u><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"><u></u><u></u></span></font></p>


<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"><u></u> <u></u></span></font></p>

<div>

<div class="MsoNormal" style="text-align:center" align="center"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">

<hr size="2" width="100%" align="center">

</span></font></div>

<p class="MsoNormal"><b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma;font-weight:bold">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma">
<a href="mailto:postgis-devel-bounces@postgis.refractions.net" target="_blank">postgis-devel-bounces@postgis.refractions.net</a>
[mailto:<a href="mailto:postgis-devel-bounces@postgis.refractions.net" target="_blank">postgis-devel-bounces@postgis.refractions.net</a>] <b><span style="font-weight:bold">On Behalf Of </span></b>Bryce L Nordgren<br>
<b><span style="font-weight:bold">Sent:</span></b> Wednesday, July 27, 2011
11:52 AM<br>
<b><span style="font-weight:bold">To:</span></b> <u></u>PostGIS
 Development Discussion<u></u><br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [postgis-devel] make
check question</span></font><u></u><u></u></p>

</div><div><div></div><div class="h5">

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>

<p class="MsoNormal" style="margin-bottom:12.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">On Wed, Jul 27, 2011 at 5:17 AM, Paragon Corporation <<a href="mailto:lr@pcorp.us" target="_blank">lr@pcorp.us</a>> wrote:<u></u><u></u></span></font></p>


<div link="blue" vlink="purple">

<div>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">To do the non C-Unit checks, you need a
running PostgreSQL server period.</span></font> <u></u><u></u></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">export PGPORT=5434</span></font><u></u><u></u></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">export PG_VER=84</span></font><u></u><u></u></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">export PGUSER=postgres</span></font><u></u><u></u></p>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>

</div>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><br>
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...<br>
 <u></u><u></u></span></font></p>

</div>

</div>

</div></div></div>

</div>


<br>_______________________________________________<br>
postgis-devel mailing list<br>
<a href="mailto:postgis-devel@postgis.refractions.net">postgis-devel@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-devel" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-devel</a><br>
<br></blockquote></div><br>