<div dir="ltr"><div dir="ltr">Well, the current behavior is to build with SFCGAL if it's found, and silently build without it if it's not. It might be advantageous to set a rigid default (either SFCGAL on or off; I'd lean towards off) that can be overridden with `--with-sfcgal` or `--without-sfcgal`. Greg Troxel summarized the downsides of the current approach a while ago.<div><br></div><div><a href="https://lists.osgeo.org/pipermail/postgis-devel/2015-December/025490.html">https://lists.osgeo.org/pipermail/postgis-devel/2015-December/025490.html</a><br></div><div><br></div><div>Dan</div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Nov 12, 2018 at 7:05 AM Sandro Santilli <<a href="mailto:strk@kbt.io">strk@kbt.io</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, Nov 12, 2018 at 12:38:36PM +0100, Bas Couwenberg wrote:<br>
> On 2018-11-12 12:35, Sandro Santilli wrote:<br>
> > On Mon, Nov 12, 2018 at 07:56:35AM +0100, Sebastiaan Couwenberg wrote:<br>
> > > On 11/12/18 7:38 AM, Darafei "Komяpa" Praliaskouski wrote:<br>
> > <br>
> > > > I propose changing PostGIS build so that it requires SFCGAL, but that<br>
> > > > dependency can be switched off by --without-sfcgal, much like it is already<br>
> > > > with raster, so that this story doesn't repeat, or at least there is some<br>
> > > > more visibility of the issue on the packaging side.<br>
> > > ><br>
> > > > Any objections? :)<br>
> > > <br>
> > > Yes!<br>
> > > <br>
> > > SFCGAL is too fragile to be a mandatory dependency of PostGIS. It also<br>
> > > lacks upstream development.<br>
> > <br>
> > Despite the wording used by Darafei ("mandatory"), his suggestion is<br>
> > not really making the dependency mandatory, in that it allows<br>
> > disabling it with a configure switch (--without-sfcgal).<br>
> <br>
> It doesn't solve anything.<br>
> <br>
> When SFCGAL breaks again, packagers will just add --without-sfcgal to their<br>
> postgis builds, instead of dropping --with-sfcgal.<br>
<br>
I think what Darafei is saying is that right now configuring<br>
with neither `--with-sfcgal` nor `--without-sfcgal` results<br>
in sfcgal defaulting to off instead of on. But I'll leave this<br>
to Darafai. I'll just state I've no objection with it being<br>
on by default.<br>
<br>
--strk;<br>
_______________________________________________<br>
postgis-devel mailing list<br>
<a href="mailto:postgis-devel@lists.osgeo.org" target="_blank">postgis-devel@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-devel" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-devel</a></blockquote></div></div>