<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" data-hsystem="true"></head>
<body><style>p{margin: 0;padding: 0;}

</style>
<p>presto-change-o</p>
<p> </p>
<p>CFLAGS='-g' ./configure --with-python --with-pgport=5433 \</p>
<p>--enable-debug --enable-cassert \</p>
<p>--prefix=/usr/local/pg95 \</p>
<p>--with-libxml \</p>
<p>--enable-nls \</p>
<p>--with-openssl </p>
<p> </p>
<p>   refrain from guesses as to why.. but that works..</p>
<p> </p>
<p>*Next item*.. even specifying a devel pg_config in PostGIS make,</p>
<p>apparently libs go into common areas [1] ?</p>
<p> </p>
<p> the idea is that I want both a 'stock' install of pg94 and this dev 95.</p>
<p>Do I want to add something else to the postgis config, or, is it a
non-issue</p>
<p>since the lwgeom into /usr/local/lib is the same for both pg9.4 and
pg9.5dev</p>
<p> </p>
<p>  hints appreciated  --Brian</p>
<p> </p>
<p>....</p>
<p>[1]</p>
<p>.... (other `make install` stuff omitted)</p>
<p>done;</p>
<p>---- Making install in liblwgeom</p>
<p>make[1]: Entering directory
'/home/shared/srcs_db8/postgis_22_git/liblwgeom'</p>
<p>/bin/bash ../libtool --mode=install /bin/bash ../install-sh liblwgeom.la
"/usr/local/lib/liblwgeom.la"</p>
<p>libtool: install: /bin/bash ../install-sh .libs/liblwgeom-2.2.0dev.so
/usr/local/lib/liblwgeom-2.2.0dev.so</p>
<p>cp: cannot create regular file '/usr/local/lib/_inst.3212_': Permission
denied</p>
<p>Makefile:133: recipe for target 'install-liblwgeom' failed</p>
<p>make[1]: *** [install-liblwgeom] Error 1</p>
<p>make[1]: Leaving directory
'/home/shared/srcs_db8/postgis_22_git/liblwgeom'</p>
<p>GNUmakefile:14: recipe for target 'install' failed</p>
<p>make: *** [install] Error 1</p>
<p> </p>
<p>--</p>
<p> </p>
<p> </p>
<p><br>On Fri, 5 Jun 2015 10:17:22 -0700, Paul Ramsey
<pramsey@cleverelephant.ca> wrote:</p>
<blockquote style="border-left: 2px solid #000000; padding-right: 0px;
padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div id="html-message">
<div id="bloop_customfont" style="font-family: Helvetica,Arial; font-size: 13px;
color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">I dunno Brian, I’m
running off git tip too, and my pgxs file is right where it’s supposed to
be</div>
<div id="bloop_customfont" style="font-family: Helvetica,Arial; font-size: 13px;
color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"> </div>
<div id="bloop_customfont" style="margin: 0px;">
<div id="bloop_customfont" style="margin: 0px;"> 
/opt/pgsql/9.5/lib/pgxs/src/makefiles/pgxs.mk</div>
<div style="color: #000000; font-family: Helvetica, Arial; font-size:
13px;"> </div>
<div style="color: #000000; font-family: Helvetica, Arial; font-size:
13px;">Seems like your pg_config is looking in the right place, but it’s not
there… my configure is just this..</div>
<div style="color: #000000; font-family: Helvetica, Arial; font-size:
13px;"> </div>
<div>
<div>CFLAGS="-O0 -g" \</div>
<div>./configure \</div>
<div>--enable-debug \</div>
<div>--enable-cassert \</div>
<div>--prefix=/opt/pgsql/${VERSION}/ \</div>
<div>--with-libxml \</div>
<div>--enable-nls \</div>
<div>--with-openssl \</div>
<div>--with-libraries=/opt/local/lib \</div>
<div>--with-includes=/opt/local/include</div>
<div style="color: #000000; font-family: Helvetica, Arial; font-size:
13px;"> </div>
</div>
<div style="color: #000000; font-family: Helvetica, Arial; font-size:
13px;"> </div>
</div>
<div id="bloop_sign_1433524569378355968" class="bloop_sign"><title></title>
<div> </div>
-- <br> Paul Ramsey<br> http://cleverelephant.ca
<div>http://postgis.net</div>
<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "em",
  "name": "John Doe",
  "jobTitle": "Graduate research assistant",
  "affiliation": "University of Dreams",
  "additionalName": "Johnny",
  "url": "http://www.example.com",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "1234 Peach Drive",
    "addressLocality": "Wonderland",
    "addressRegion": "Georgia"
  }
}
</script>
</div>
<br><p style="color: #000;">On June 5, 2015 at 10:14:22 AM, Brian M Hamlin (<a href="mailto:maplabs@light42.com" target="">maplabs@light42.com</a>) wrote:</p>
<blockquote class="clean_bq">
<div>
<div> </div>
<div>Hi - <br>  I built postgres 9.5 trunk and am running it, alongside the
postgis dev setup on debian 8 VM<br><br>  * configure  <br><br>CFLAGS='-g'
./configure --with-python --with-pgport=5433 --enable-debug --enable-cassert
--disable-rpath --prefix=/usr/local/pg95<br><br>  * init the db as an ordinary
user<br>  * set shell variables PGPORT and PGHOST  (must specify
localhost)<br>  * connect with either psql or psql 9.5dev<br>works
fine<br><br>  however,  when I went to rebuild postgis using the 9.5
pg_config<br><br>user@debian8:/home/shared/srcs_db8/postgis_22_git $<br> 
CFLAGS='-g' ./configure --with-pgconfig=/usr/local/pg95/bin/pg_config
--enable-profile<br><br>I get a configure error msg .. <br>.. <br>. <br>Using
user-specified pg_config file: /usr/local/pg95/bin/pg_config<br>configure:
error: the PGXS Makefile /usr/local/pg95/lib/pgxs/src/makefiles/pgxs.mk cannot
be found. Please install the PostgreSQL server development packages and re-run
configure. <br>.. <br><br>  I built from postgres git trunk.. what else do I
need to do ?<br><br>--<br>Brian M Hamlin<br>OSGeo California
Chapter<br>blog.light42.com<br><br>_______________________________________________<br>postgis-devel
mailing
list<br>postgis-devel@lists.osgeo.org<br>http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel</div>
</div>
</blockquote>
</div>
<br><hr>
<br> _______________________________________________<br> postgis-devel mailing
list<br> postgis-devel@lists.osgeo.org<br><a href="../hwebmail/services/go.php?url=http%3A%2F%2Flists.osgeo.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fpostgis-devel" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel</a>
</blockquote>
<p><br><br></p>
<p><br> --<br>Brian M Hamlin<br> OSGeo California Chapter<br>
blog.light42.com<br></p>
<p> </p>

</body>
</html>