[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgis-users
Subject:    Re: [postgis-users] PostGIS 2.2 Debian package based on Postgresql 9.5 for trusty ( ubuntu 14.04)
From:       Pieter du Plooy <pjduplooy () zpanelcp ! com>
Date:       2016-02-18 16:14:51
Message-ID: CAMDQVi40fhMNLPVN93ciZ934+9E11+5gf5LkcSv3hQJxz5AtBg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Pallavi

I used a Postgres 9.5 from the postgres pgdg repository, and compiled
everything else from scratch (Trusty).

I used Vincent Picavet's pggis dockerfile as a guide:

https://raw.githubusercontent.com/vpicavet/docker-pggis/master/Dockerfile

He used cgal 4.3 and sfcgal from git

It worked a charm for me.

Pieter

On Thu, Feb 18, 2016 at 8:05 AM, Pallavi Sontakke <
pallavi.sontakke@2ndquadrant.com> wrote:

> Hi All,
>
> Thanks for the debian packages for trusty for PostGIS.
>
> As in my current work I am looking to use PostGIS with a custom-built
> Postgresql (with some changes on top of Postgresql 9.5.0), I am required to
> build PostGIS 2.2.1 from source.
>
> As a first step, am trying to build PostGIS from source for Postgresql
> 9.5.0
>
> In line, I downloaded postgis-2.2.1.tar.gz from http://postgis.net/source/
> However, during './configure' am getting this error:
>
> checking for geos_c.h... yes
> checking for initGEOS in -lgeos_c... yes
> checking for sfcgal-config... /usr/local/bin/sfcgal-config
> configure: error: PostGIS requires SFCGAL >= 1.1.0 (found 1.0.0)
>
> On trusty by default version 1.0.0 of SFCGAL is available. Also in my
> previous PostGIS source-build attempt, build of SFCGAL 1.2.1 required CGAL
> 4.7 and still SFCGAL did not get installed properly. Also I noticed that in
> Debian trusty PostGIS packages you uploaded, postgis_sfcgal was missing.
>
> I don't need postgis_sfcgal specifically as such, so ran configure with
> option --without-sfcgal.
>
> However, due to it, address_standardizer has also got disabled (It was
> available in trusty package you had created). Could you please show me a
> way, that address_standardizer can be enabled, even if postgis_sfcgal is
> not there?
>
> Thanks,
>  Pallavi
>
> On 11 February 2016 at 16:07, Pallavi Sontakke <
> pallavi.sontakke@2ndquadrant.com> wrote:
>
>> Hi All,
>>
>> I was looking to install PostGIS 2.2  to work with Postgresql 9.5 on my
>> trusty system. As I did not find any available debian packages for trusty,
>> I was trying to build from PostGIS source. However, even after getting many
>> other binaries, could not get all modules of PostGIS working (especially
>> postgis_sfcgal and address_standardizer).
>>
>> Could you please point me to trusty packages if available? Also, if not,
>> could you please let me know when would they be available?
>>
>> Thanks,
>> Pallavi
>>
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/postgis-users
>

[Attachment #5 (text/html)]

<div dir="ltr"><div><div>Hi Pallavi<br><br></div>I used a Postgres 9.5 from the \
postgres pgdg repository, and compiled everything else from scratch \
(Trusty).<br><br></div>I used Vincent Picavet&#39;s pggis dockerfile as a \
guide:<br><br><a href="https://raw.githubusercontent.com/vpicavet/docker-pggis/master/ \
Dockerfile">https://raw.githubusercontent.com/vpicavet/docker-pggis/master/Dockerfile</a><br><div \
class="gmail_extra"><br></div><div class="gmail_extra">He used cgal 4.3 and sfcgal \
from git<br><br></div><div class="gmail_extra">It worked a charm for \
me.<br><br></div><div class="gmail_extra">Pieter<br><br></div><div \
class="gmail_extra"><div class="gmail_quote">On Thu, Feb 18, 2016 at 8:05 AM, Pallavi \
Sontakke <span dir="ltr">&lt;<a href="mailto:pallavi.sontakke@2ndquadrant.com" \
target="_blank">pallavi.sontakke@2ndquadrant.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hi \
All,<br><br></div>Thanks for the debian packages for trusty for \
PostGIS.<br></div><br></div>As in my current work I am looking to use PostGIS with a \
custom-built Postgresql (with some changes on top of Postgresql 9.5.0), I am required \
to build PostGIS 2.2.1 from source.<br></div><div><br></div><div>As a first step, am \
trying to build PostGIS from source for Postgresql 9.5.0<br></div><div><br></div>In \
line, I downloaded postgis-2.2.1.tar.gz from <a href="http://postgis.net/source/" \
target="_blank">http://postgis.net/source/</a><br></div>However, during \
&#39;./configure&#39; am getting this error:<br><br><div><div><div><div><div>checking \
for geos_c.h... yes<br>checking for initGEOS in -lgeos_c... yes<br>checking for \
sfcgal-config... /usr/local/bin/sfcgal-config<br>configure: error: PostGIS requires \
SFCGAL &gt;= 1.1.0 (found 1.0.0)<br><br></div><div>On trusty by default version 1.0.0 \
of SFCGAL is available. Also in my previous PostGIS source-build attempt, build of \
SFCGAL 1.2.1 required CGAL 4.7 and still SFCGAL did not get installed properly. Also \
I noticed that in Debian trusty PostGIS packages you uploaded, postgis_sfcgal was \
missing. <br><br></div><div>I don&#39;t need postgis_sfcgal specifically as such, so \
ran configure with option --without-sfcgal.<br><br></div><div>However, due to it, \
address_standardizer has also got disabled (It was available in trusty package you \
had created). Could you please show me a way, that address_standardizer can be \
enabled, even if postgis_sfcgal is not there?<br><br></div><div>Thanks,<br>  \
Pallavi<br></div></div></div></div></div></div><div class="HOEnZb"><div \
class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 11 February 2016 \
at 16:07, Pallavi Sontakke <span dir="ltr">&lt;<a \
href="mailto:pallavi.sontakke@2ndquadrant.com" \
target="_blank">pallavi.sontakke@2ndquadrant.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi All,<br><br></div>I was \
looking to install PostGIS 2.2   to work with Postgresql 9.5 on my trusty system. As \
I did not find any available debian packages for trusty, I was trying to build from \
PostGIS source. However, even after getting many other binaries, could not get all \
modules of PostGIS working (especially postgis_sfcgal and \
address_standardizer).<br><br></div>Could you please point me to trusty packages if \
available? Also, if not, could you please let me know when would they be \
available?<br><br></div>Thanks,<br></div>Pallavi<br></div> \
</blockquote></div><br></div> \
</div></div><br>_______________________________________________<br> postgis-users \
mailing list<br> <a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a><br>
 <a href="http://lists.osgeo.org/mailman/listinfo/postgis-users" rel="noreferrer" \
target="_blank">http://lists.osgeo.org/mailman/listinfo/postgis-users</a><br></blockquote></div><br></div></div>



[Attachment #6 (text/plain)]

_______________________________________________
postgis-users mailing list
postgis-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/postgis-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic