[postgis-devel] PostGIS 2.3.0 RC1 coming in a couple of days and Help with FreeBSD

Regina Obe lr at pcorp.us
Thu Sep 22 23:08:42 PDT 2016


> From: Greg Troxel > Date: Mon, Sep 19, 2016 at 8:42 AM
> Subject: Re: [postgis-devel] PostGIS 2.3.0 RC1 coming in a couple of days and Help with FreeBSD

> "Regina Obe" writes:

>> Just an FYI I'm hoping to have PostGIS 2.3.0 RC1 out in 2 to 3 days. Then
>> hopefully final a week or 2 after.

> I just built 2.3.0RC1 (from the tag in svn) on netbsd-7 amd64 with pgsql
> 9.3.14, and it built and passed regression tests.

 

 

Greg,

 

Did you by chance try building from the tar ball.  Are you building using extensions?

 

I'm having this problem on my FreeBSD box, probably something stupid I'm doing because of my lack of familiarity with *BSD env.

(I did figure out that I have the same issue building from svn if I have xsltproc installed, so the packaging is not the issue)

 

https://trac.osgeo.org/postgis/ticket/3639

 

I picked a bad day to learn new tricks.

 

While you are at it, if not too much to ask, were you ever able to build from PostGIS 2.2.2 tag or tar ball.  I ran into this issue try to do so on FreeBSD using the tar ball.

Note at end of ticket - https://trac.osgeo.org/postgis/ticket/2985   (I think one of the patches you or Bas provided fixed this so I don't see it in trunk or 2.2 branch)

 

rtpg_geometry.c:105:42: error: too many arguments to function call, expected 2, have 3

        gser = gserialized_from_lwgeom(geom, 0, &gser_size);

               ~~~~~~~~~~~~~~~~~~~~~~~          ^~~~~~~~~~

/usr/local/include/liblwgeom.h:1957:1: note: 'gserialized_from_lwgeom' declared here

extern GSERIALIZED* gserialized_from_lwgeom(LWGEOM *geom, size_t *size);

^

rtpg_geometry.c:184:42: error: too many arguments to function call, expected 2, have 3

        gser = gserialized_from_lwgeom(geom, 0, &gser_size);

               ~~~~~~~~~~~~~~~~~~~~~~~          ^~~~~~~~~~

/usr/local/include/liblwgeom.h:1957:1: note: 'gserialized_from_lwgeom' declared here

extern GSERIALIZED* gserialized_from_lwgeom(LWGEOM *geom, size_t *size);

^

rtpg_geometry.c:326:81: error: too many arguments to function call, expected 2, have 3

                gser = gserialized_from_lwgeom(lwpoly_as_lwgeom(geomval2[call_cntr].geom), 0, &gser_size);

                       ~~~~~~~~~~~~~~~~~~~~~~~                                                ^~~~~~~~~~

/usr/local/include/liblwgeom.h:1957:1: note: 'gserialized_from_lwgeom' declared here

extern GSERIALIZED* gserialized_from_lwgeom(LWGEOM *geom, size_t *size);

^

rtpg_geometry.c:628:59: error: too many arguments to function call, expected 2, have 3

                gser = gserialized_from_lwgeom(pix2[call_cntr].geom, 0, &gser_size);

                       ~~~~~~~~~~~~~~~~~~~~~~~                          ^~~~~~~~~~

/usr/local/include/liblwgeom.h:1957:1: note: 'gserialized_from_lwgeom' declared here

extern GSERIALIZED* gserialized_from_lwgeom(LWGEOM *geom, size_t *size);

^

4 errors generated.

gmake[3]: *** [<builtin>: rtpg_geometry.o] Error 1

gmake[3]: Leaving directory '/usr/home/robe/sources/postgis-2.2.2/raster/rt_pg'

gmake[2]: *** [Makefile:28: pglib] Error 2

gmake[2]: Leaving directory '/usr/home/robe/sources/postgis-2.2.2/raster'

gmake[1]: *** [GNUmakefile:16: all] Error 1

gmake[1]: Leaving directory '/usr/home/robe/sources/postgis-2.2.2'

*** Error code 2

 

 

 

Thanks,

Regina

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20160923/2676b367/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 84 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20160923/2676b367/attachment.sig>


More information about the postgis-devel mailing list