[postgis-devel] 1.3.4SVN Testers Needed

Havard Tveite havard.tveite at umb.no
Wed Oct 15 00:10:56 PDT 2008


geos configure, make and make check are OK now on Solaris 2.7,
sparc, gcc 3.3.2.

Håvard Tveite

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



More information about the postgis-devel mailing list