<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7653.38">
<TITLE>RE: [postgis-devel] WKT Raster: Why havingtocompilePostgreSQL&PostGIS first?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Pierre,<BR>
<BR>
I cheated on that part as Mark said. I used my OpenSUSE VM downloaded from <A HREF="http://www.go-mono.com/mono-downloads/download.html">http://www.go-mono.com/mono-downloads/download.html</A> (which I use for .NET testing on Linux and just happened to come in handy for postgis development as well)<BR>
<BR>
below to do the autogen stuff and then sftp to my windows desktop with filezilla (though I suppose I could have used a file share, but seemed just as easy to use sftp).<BR>
<BR>
Alternatively for just compiling postgis you can download from the daily svn snapshot and pull out the configure stuff. <BR>
<BR>
Are we going to have an svn snapshot for WKT Raster? Would be nice if we did.<BR>
<BR>
Hope that helps,<BR>
Regina<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: postgis-devel-bounces@postgis.refractions.net on behalf of Pierre Racine<BR>
Sent: Mon 3/2/2009 11:40 AM<BR>
To: PostGIS Development Discussion<BR>
Subject: RE: [postgis-devel] WKT Raster: Why havingtocompilePostgreSQL&PostGIS first?<BR>
<BR>
I got GEOS built. Last is PostGIS (and then WKT Raster). I get:<BR>
<BR>
racinep@DESROCHERSA-02 /wktrasterdevel/postgis/trunk<BR>
$ ./autogen.sh<BR>
/usr/share/aclocal/autoopts.m4:22: warning: underquoted definition of AG_PATH_AUTOOPTS<BR>
run info '(automake)Extending aclocal'<BR>
or see <A HREF="http://sources.redhat.com/automake/automake.html#Extending%20aclocal">http://sources.redhat.com/automake/automake.html#Extending%20aclocal</A><BR>
<BR>
Regina already had this problem (<A HREF="http://www.nabble.com/Compile-issues-on-MingW-trunk-td21626492.html">http://www.nabble.com/Compile-issues-on-MingW-trunk-td21626492.html</A>) but I don't understand the fix.<BR>
<BR>
Pierre<BR>
<BR>
>-----Original Message-----<BR>
>From: postgis-devel-bounces@postgis.refractions.net [<A HREF="mailto:postgis-devel-">mailto:postgis-devel-</A><BR>
>bounces@postgis.refractions.net] On Behalf Of Mateusz Loskot<BR>
>Sent: 2 mars 2009 10:40<BR>
>To: PostGIS Development Discussion<BR>
>Subject: RE: [postgis-devel] WKT Raster: Why having tocompilePostgreSQL&PostGIS first?<BR>
><BR>
>Pierre Racine wrote:<BR>
>> >> ---------------------------------------------------------------<BR>
>> >> make[4]: Entering directory<BR>
>> >> `/wktrasterdevel/postgresql-8.3.5/src/backend/access/common' gcc -O2<BR>
>> >> -Wall -Wmissing-prototypes -Wpointer-arith -Winline<BR>
>> >> -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing<BR>
>> >> -fwrapv -I../../../../src/include -I./src/include/port/win32<BR>
>> >> -DEXEC_BACKEND "-I../../../../src/include/port/win32" -<BR>
>> DBUILDING_DLL<BR>
>> >> -c -o printtup.o printtup.c In file included from<BR>
>> >><BR>
>> c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/security.h:38<BR>
>> ,<BR>
>> >> from ../../../../src/include/libpq/libpq-be.h:50, from<BR>
>> >> ../../../../src/include/libpq/libpq.h:21, from printtup.c:19:<BR>
>> >> c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sspi.h:60:<BR>
>> >> error: syntax error before "SECURITY_STRING"<BR>
>> ><BR>
>> >Googling for the error message confirms this is a known bug and small<BR>
>> >fix is explained here:<BR>
>> ><BR>
>> ><A HREF="http://archives.postgresql.org/pgsql-bugs/2009-02/msg00092.php">http://archives.postgresql.org/pgsql-bugs/2009-02/msg00092.php</A><BR>
>><BR>
>> Thanks. However if I can live with a released version of PostgreSQL,<BR>
>> I'll be happy.<BR>
>><BR>
>> >> So following your suggestion that "There is no need to build<BR>
>> >> PostgreSQL" I installed 8.3.6...<BR>
>> >><BR>
>> >> Can I compile Geos with gcc? Or I have to use VC?<BR>
>> ><BR>
>> >GEOS can be build with both. However, I have no idea if you can safely<BR>
>> >mix binaries built with MinGW and Visual C++.<BR>
>> ><BR>
>> >> ./configure doesn't seems to be an option.<BR>
>> ><BR>
>> >Why?<BR>
>><BR>
>> racinep@DESROCHERSA-02 /wktrasterdevel/geos/trunk<BR>
>> $ ./configure<BR>
>> sh: ./configure: No such file or directory<BR>
>><BR>
>> racinep@DESROCHERSA-02 /wktrasterdevel/geos/trunk<BR>
>> $ autogen<BR>
>><BR>
>> Autogen hang without doing anything...<BR>
><BR>
>You can't use autogen.bat script which is dedicated to bootstrapping for Visual C++.<BR>
>You need to use autotools-dedicated one:<BR>
><BR>
>$ ./autogen.sh<BR>
><BR>
>Here it is explained:<BR>
><BR>
><A HREF="http://trac.osgeo.org/geos/#BuildandInstall">http://trac.osgeo.org/geos/#BuildandInstall</A><BR>
><BR>
>Mateusz<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>
<HTML><BODY><P><hr size=1></P>
<P><STRONG>
The substance of this message, including any attachments, may be confidential, legally privileged and/or exempt from disclosure pursuant to Massachusetts law. It is intended solely for the addressee. If you received this in error, please contact the sender and delete the material from any computer.
</STRONG></P></BODY></HTML>
<P><hr size=1></P>
<P><STRONG><font size="2" color="339900"> Help make the earth a greener place. If at all possible resist printing this email and join us in saving paper. </p> <p> </font></STRONG></P>