[postgis-devel] WKT Raster: Why having tocompilePostgreSQL&PostGIS first?

Pierre Racine Pierre.Racine at sbf.ulaval.ca
Mon Mar 2 08:40:15 PST 2009


I got GEOS built. Last is PostGIS (and then WKT Raster). I get:

racinep at DESROCHERSA-02 /wktrasterdevel/postgis/trunk
$ ./autogen.sh 
/usr/share/aclocal/autoopts.m4:22: warning: underquoted definition of AG_PATH_AUTOOPTS
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal

Regina already had this problem (http://www.nabble.com/Compile-issues-on-MingW-trunk-td21626492.html) but I don't understand the fix.

Pierre

>-----Original Message-----
>From: postgis-devel-bounces at postgis.refractions.net [mailto:postgis-devel-
>bounces at postgis.refractions.net] On Behalf Of Mateusz Loskot
>Sent: 2 mars 2009 10:40
>To: PostGIS Development Discussion
>Subject: RE: [postgis-devel] WKT Raster: Why having tocompilePostgreSQL&PostGIS first?
>
>Pierre Racine wrote:
>> >> ---------------------------------------------------------------
>> >> make[4]: Entering directory
>> >> `/wktrasterdevel/postgresql-8.3.5/src/backend/access/common' gcc -O2
>> >> -Wall -Wmissing-prototypes -Wpointer-arith -Winline
>> >> -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
>> >> -fwrapv -I../../../../src/include -I./src/include/port/win32
>> >> -DEXEC_BACKEND  "-I../../../../src/include/port/win32" -
>> DBUILDING_DLL
>> >>  -c -o printtup.o printtup.c In file included from
>> >>
>> c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/security.h:38
>> ,
>> >>  from ../../../../src/include/libpq/libpq-be.h:50, from
>> >> ../../../../src/include/libpq/libpq.h:21, from printtup.c:19:
>> >> c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sspi.h:60:
>> >> error: syntax error before "SECURITY_STRING"
>> >
>> >Googling for the error message confirms this is a known bug and small
>> >fix is explained here:
>> >
>> >http://archives.postgresql.org/pgsql-bugs/2009-02/msg00092.php
>>
>> Thanks. However if I can live with a released version of PostgreSQL,
>> I'll be happy.
>>
>> >> So following your suggestion that "There is no need to build
>> >> PostgreSQL" I installed 8.3.6...
>> >>
>> >> Can I compile Geos with gcc? Or I have to use VC?
>> >
>> >GEOS can be build with both. However, I have no idea if you can safely
>> >mix binaries built with MinGW and Visual C++.
>> >
>> >> ./configure doesn't seems to be an option.
>> >
>> >Why?
>>
>> racinep at DESROCHERSA-02 /wktrasterdevel/geos/trunk
>> $ ./configure
>> sh: ./configure: No such file or directory
>>
>> racinep at DESROCHERSA-02 /wktrasterdevel/geos/trunk
>> $ autogen
>>
>> Autogen hang without doing anything...
>
>You can't use autogen.bat script which is dedicated to bootstrapping for Visual C++.
>You need to use autotools-dedicated one:
>
>$ ./autogen.sh
>
>Here it is explained:
>
>http://trac.osgeo.org/geos/#BuildandInstall
>
>Mateusz


More information about the postgis-devel mailing list