<!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.7652.24">
<TITLE>RE: [postgis-devel] 1.3.4SVN Testers Needed</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Thanks for the prompt service :)<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: postgis-devel-bounces@postgis.refractions.net on behalf of Paul Ramsey<BR>
Sent: Mon 10/13/2008 6:47 PM<BR>
To: PostGIS Development Discussion<BR>
Subject: Re: [postgis-devel] 1.3.4SVN Testers Needed<BR>
<BR>
Found it. SVN snapshot should build now. (We use 'make dist' to build<BR>
the tarball, but that requires that every file be declared in the<BR>
build scripts, so they can be packaged up. That new header was not<BR>
declared.)<BR>
<BR>
P.<BR>
<BR>
On Mon, Oct 13, 2008 at 2:25 PM, Havard Tveite <havard.tveite@umb.no> wrote:<BR>
> Errors at the same place here - Solaris 2.7, gcc 3.3.2:<BR>
><BR>
>  g++ -DHAVE_CONFIG_H -I. -I. -I../../source/headers<BR>
> -I../../source/headers/geos<BR>
> -I../../source/headers -g -O2 -DGEOS_INLINE -Wall -ansi -pedantic<BR>
> -Wno-long-long<BR>
>  -MT CLocalizer.lo -MD -MP -MF .deps/CLocalizer.Tpo -c CLocalizer.cpp  -fPIC<BR>
> -DP<BR>
> IC -o .libs/CLocalizer.o<BR>
> CLocalizer.cpp:1:32: geos/io/CLocalizer.h: No such file or directory<BR>
> CLocalizer.cpp:11: error: syntax error before `::' token<BR>
> CLocalizer.cpp:18: error: ISO C++ forbids declaration of `setlocale' with no<BR>
>   type<BR>
> CLocalizer.cpp:18: error: declaration of `setlocale' not in a namespace<BR>
>   surrounding `std'<BR>
> CLocalizer.cpp:18: error: `int std::setlocale' redeclared as different kind<BR>
> of<BR>
>   symbol<BR>
> /usr/include/locale.h:102: error: previous declaration of `char*<BR>
> setlocale(int,<BR>
>   const char*)'<BR>
> CLocalizer.cpp:18: error: initializer list being treated as compound<BR>
> expression<BR>
> CLocalizer.cpp:18: error: invalid conversion from `const char*' to `int'<BR>
> CLocalizer.cpp:21: error: syntax error before `::' token<BR>
> make[2]: *** [CLocalizer.lo] Error 1<BR>
> make[2]: Leaving directory `/data3/usr/local/src/geos/geos-3.1.0/source/io'<BR>
><BR>
> Håvard Tveite<BR>
><BR>
> Dane Springmeyer wrote:<BR>
>><BR>
>> Paul,<BR>
>><BR>
>> Just tried building GEOS from the provided svn download on Mac 10.5.5<BR>
>> and I get this error during make:<BR>
>><BR>
>>        then mv -f ".deps/Unload.Tpo" ".deps/Unload.Plo"; else rm -f<BR>
>> ".deps/<BR>
>> Unload.Tpo"; exit 1; fi<BR>
>>  g++ -DHAVE_CONFIG_H -I. -I. -I../../source/headers -I../../source/<BR>
>> headers/geos -I../../source/headers -g -O2 -DGEOS_INLINE -Wall -ansi -<BR>
>> pedantic -Wno-long-long -MT Unload.lo -MD -MP -MF .deps/Unload.Tpo -c<BR>
>> Unload.cpp  -fno-common -DPIC -o .libs/Unload.o<BR>
>>  g++ -DHAVE_CONFIG_H -I. -I. -I../../source/headers -I../../source/<BR>
>> headers/geos -I../../source/headers -g -O2 -DGEOS_INLINE -Wall -ansi -<BR>
>> pedantic -Wno-long-long -MT Unload.lo -MD -MP -MF .deps/Unload.Tpo -c<BR>
>> Unload.cpp -o Unload.o >/dev/null 2>&1<BR>
>> if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -<BR>
>> I. -I. -I../../source/headers -I../../source/headers/geos -I../../<BR>
>> source/headers     -g -O2 -DGEOS_INLINE -Wall -ansi -pedantic -Wno-<BR>
>> long-long -MT CLocalizer.lo -MD -MP -MF ".deps/CLocalizer.Tpo" -c -o<BR>
>> CLocalizer.lo CLocalizer.cpp; \<BR>
>>        then mv -f ".deps/CLocalizer.Tpo" ".deps/CLocalizer.Plo"; else rm<BR>
>> -f<BR>
>> ".deps/CLocalizer.Tpo"; exit 1; fi<BR>
>>  g++ -DHAVE_CONFIG_H -I. -I. -I../../source/headers -I../../source/<BR>
>> headers/geos -I../../source/headers -g -O2 -DGEOS_INLINE -Wall -ansi -<BR>
>> pedantic -Wno-long-long -MT CLocalizer.lo -MD -MP -MF .deps/<BR>
>> CLocalizer.Tpo -c CLocalizer.cpp  -fno-common -DPIC -o .libs/<BR>
>> CLocalizer.o<BR>
>> CLocalizer.cpp:1:32: error: geos/io/CLocalizer.h: No such file or<BR>
>> directory<BR>
>> CLocalizer.cpp:11: error: 'CLocalizer' has not been declared<BR>
>> CLocalizer.cpp:11: error: ISO C++ forbids declaration of 'CLocalizer'<BR>
>> with no type<BR>
>> CLocalizer.cpp: In function 'int geos::io::CLocalizer()':<BR>
>> CLocalizer.cpp:16: error: 'saved_locale' was not declared in this scope<BR>
>> CLocalizer.cpp: At global scope:<BR>
>> CLocalizer.cpp:21: error: expected constructor, destructor, or type<BR>
>> conversion before '::' token<BR>
>> CLocalizer.cpp: In function 'int geos::io::CLocalizer()':<BR>
>> CLocalizer.cpp:19: warning: control reaches end of non-void function<BR>
>> make[2]: *** [CLocalizer.lo] Error 1<BR>
>> make[1]: *** [all-recursive] Error 1<BR>
>> make: *** [all-recursive] Error 1<BR>
>><BR>
>><BR>
>> I see it must be related to <A HREF="http://trac.osgeo.org/geos/ticket/201">http://trac.osgeo.org/geos/ticket/201</A><BR>
>><BR>
>> Let me know if I'm missing something.<BR>
>><BR>
>> Dane<BR>
>><BR>
>><BR>
>><BR>
>> On Oct 13, 2008, at 11:57 AM, Paul Ramsey wrote:<BR>
>><BR>
>>> 1.3.4 is very close to release, but we can release it faster, with<BR>
>>> less intestinal distress, if we get some solid pre-release testing<BR>
>>> from folks. You can download the current SVN version directly from the<BR>
>>> downloads page, no SVN client required:<BR>
>>><BR>
>>> <A HREF="http://postgis.refractions.net/download/postgis-1.3.4SVN.tar.gz">http://postgis.refractions.net/download/postgis-1.3.4SVN.tar.gz</A><BR>
>>><BR>
>>> If you want to also try the latest preparedgeometry enhancements,<BR>
>>> you'll need to upgrade your GEOS version to the SVN trunk before<BR>
>>> compiling and installing1.3.4SVN,<BR>
>>> <A HREF="http://download.osgeo.org/geos/geos-svn.tar.bz2">http://download.osgeo.org/geos/geos-svn.tar.bz2</A><BR>
>>><BR>
>>> Even if you don't, you should see some performance increases in 1.3.4,<BR>
>>> particularly in point-and-polygon predicate tests, and large joins<BR>
>>> using point-ant-polygon predicates.<BR>
>>><BR>
>>> Let us know how it goes. We are particularly  interested in any<BR>
>>> compilation difficulties or regression failures on less common unix<BR>
>>> variants (Solaris on Sparc, AIX on Power, etc)<BR>
>>><BR>
>>> Paul<BR>
>>> _______________________________________________<BR>
>>> postgis-devel mailing list<BR>
>>> postgis-devel@postgis.refractions.net<BR>
>>> <A HREF="http://postgis.refractions.net/mailman/listinfo/postgis-devel">http://postgis.refractions.net/mailman/listinfo/postgis-devel</A><BR>
>><BR>
>> _______________________________________________<BR>
>> postgis-devel mailing list<BR>
>> postgis-devel@postgis.refractions.net<BR>
>> <A HREF="http://postgis.refractions.net/mailman/listinfo/postgis-devel">http://postgis.refractions.net/mailman/listinfo/postgis-devel</A><BR>
><BR>
> --<BR>
> --<BR>
> Håvard Tveite<BR>
> Department of Mathematical Sciences and Technology<BR>
> Norwegian University of Life Sciences<BR>
> _______________________________________________<BR>
> postgis-devel mailing list<BR>
> postgis-devel@postgis.refractions.net<BR>
> <A HREF="http://postgis.refractions.net/mailman/listinfo/postgis-devel">http://postgis.refractions.net/mailman/listinfo/postgis-devel</A><BR>
><BR>
_______________________________________________<BR>
postgis-devel mailing list<BR>
postgis-devel@postgis.refractions.net<BR>
<A HREF="http://postgis.refractions.net/mailman/listinfo/postgis-devel">http://postgis.refractions.net/mailman/listinfo/postgis-devel</A><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>