[postgis-devel] Building the extension on Solaris/amd64

Sandro Santilli strk at keybit.net
Thu May 16 09:02:12 PDT 2013


On Thu, May 16, 2013 at 04:37:55PM +0100, Mark Cave-Ayland wrote:
> On 16/05/13 15:07, Sandro Santilli wrote:
> 
> Hi strk,
> 
> >>It fails after building liblwgeom during the postgis build part with
> >>the following:
> >>
> >>gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith
> >>-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
> >>-fwrapv -g -fpic -I/home/pg90/rel/include -I/home/pg90/rel/include
> >>-I/usr/include/libxml2 -I../liblwgeom -I../libpgcommon -I. -I.
> >>-I/home/pg90/rel-9.0.7/include/postgresql/server
> >>-I/home/pg90/rel-9.0.7/include/postgresql/internal -D_GNU_SOURCE
> >>-c -o lwgeom_export.o lwgeom_export.c
> >>lwgeom_export.c: In function ‘LWGEOM_asGML’:
> >>lwgeom_export.c:174:18: error: ‘OUT_MAX_DOUBLE_PRECISION’ undeclared
> >
> >Is liblwgeom.h under any of the directories passed to -I
> >in the above call ?
> 
> Yes - it would have been installed in /home/pg90/rel/include by the
> previous "make install" from when I built PostGIS 2.0.

Does putting -I../liblwgeom before -I/home/pg90/rel/include fixes the build?

--strk;



More information about the postgis-devel mailing list