[postgis-devel] 1, dot, 3 dot 4!
Obe, Regina
robe.dnd at cityofboston.gov
Sun Oct 19 05:44:43 PDT 2008
Paul,
Sounds like a plan.
Regarding the kml failure. I tried to be lazy by
1) copying my Open SUSE 11 vm.
2) downgrade to 1.3.3
3) ran make check and it failed on kml check again. So I assume the kml thing is nothing to worry about.
(But oops wait a minute reads 1.3.3 with GEOS 3.1.0. I assume KML doesn't use GEOS so that wouldn't affect things, but just to be sure, I tried to downgrade to geos 3.0.0 and couldn't because got this error during compile
DoubleBits.cpp: In constructor 'geos::index::quadtree::DoubleBits::DoubleBits(double)':
DoubleBits.cpp:94: error: 'memcpy' was not declared in this scope
make[3]: *** [DoubleBits.lo] Error 1
make[3]: Leaving directory `/projects/geos-3.0.0/source/index/quadtree'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/projects/geos-3.0.0/source/index'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/projects/geos-3.0.0/source'
make: *** [all-recursive] Error 1
4) Okay that didn't work so I went to http://download.osgeo.org/geos/geos-3.0.2.tar.bz2 - still no go
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 DoubleBits.lo -MD -MP -MF .deps/DoubleBits.Tpo -c DoubleBits.cpp -fPIC -DPIC -o .libs/DoubleBits.o
DoubleBits.cpp: In static member function static double geos::index::quadtree::DoubleBits::powerOf2(int):
DoubleBits.cpp:51: error: memcpy was not declared in this scope
DoubleBits.cpp: In constructor geos::index::quadtree::DoubleBits::DoubleBits(double):
DoubleBits.cpp:94: error: memcpy was not declared in this scope
make[3]: *** [DoubleBits.lo] Error 1
make[3]: Leaving directory `/projects/geos-3.0.2/source/index/quadtree'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/projects/geos-3.0.2/source/index'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/projects/geos-3.0.2/source'
make: *** [all-recursive] Error 1
Not quite sure what the above errors mean? Probably that compiling should be left to people who know what they are doing. I think I was able to compile these on my OpenSUSE 10.5, but I'll have to double check. I can only wildly guess this is all due to me using a dev version of gcc.
gcc -v gives this info
Using built-in specs.
Target: i586-suse-linux
Configured with: ../configure --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --with-slibdir=/lib --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --program-suffix=-4.3 --enable-version-specific-runtime-libs --enable-linux-futex --without-system-libunwind --with-cpu=generic --build=i586-suse-linux
Thread model: posix
gcc version 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036] (SUSE Linux)
5) Okay so I then went back redownloaded geos-svn.tar.gz to make sure I could still compile that. That still compiles fine, but does give some deprecation warnings which I'm assuming you are all aware of.
then mv -f ".deps/MarkupSTL.Tpo" ".deps/MarkupSTL.Po"; else rm -f ".deps/MarkupSTL.Tpo"; exit 1; fi
markup/MarkupSTL.cpp: In member function std::string CMarkupSTL::x_TextToDoc(const char*, bool) const:
markup/MarkupSTL.cpp:910: warning: deprecated conversion from string constant to char*
markup/MarkupSTL.cpp:910: warning: deprecated conversion from string constant to char*
markup/MarkupSTL.cpp:910: warning: deprecated conversion from string constant to char*
markup/MarkupSTL.cpp:910: warning: deprecated conversion from string constant to char*
markup/MarkupSTL.cpp:910: warning: deprecated conversion from string constant to char*
markup/MarkupSTL.cpp: In member function std::string CMarkupSTL::x_TextFromDoc(int, int) const:
markup/MarkupSTL.cpp:939: warning: deprecated conversion from string constant to char*
markup/MarkupSTL.cpp:939: warning: deprecated conversion from string constant to char*
markup/MarkupSTL.cpp:939: warning: deprecated conversion from string constant to char*
markup/MarkupSTL.cpp:939: warning: deprecated conversion from string constant to char*
markup/MarkupSTL.cpp:939: warning: deprecated conversion from string constant to char*
markup/MarkupSTL.cpp:941: warning: deprecated conversion from string constant to char*
/bin/sh ../../libtool --tag=CXX --mode=link g++ -g -O2 -DGEOS_INLINE -Wall -ansi -pedantic -Wno-long-long -o XMLTester XMLTester.o MarkupSTL.o ../../source/libgeos.la ../../source/libgeos.la
mkdir .libs
g++ -g -O2 -DGEOS_INLINE -Wall -ansi -pedantic -Wno-long-long -o .libs/XMLTester XMLTester.o MarkupSTL.o ../../source/.libs/libgeos.so
creating XMLTester
if g++ -DHAVE_CONFIG_H -I. -I. -I../../source/headers -I../../source/headers/geos -I../../source/headers -I../../source/io/markup -g -O2 -DGEOS_INLINE -Wall -ansi -pedantic -Wno-long-long -MT SimpleWKTTester.o -MD -MP -MF ".deps/SimpleWKTTester.Tpo" -c -o SimpleWKTTester.o SimpleWKTTester.cpp; \
then mv -f ".deps/SimpleWKTTester.Tpo" ".deps/SimpleWKTTester.Po"; else rm -f ".deps/SimpleWKTTester.Tpo"; exit 1; fi
In file included from SimpleWKTTester.cpp:23:
../../source/headers/geos/io.h:62:2: warning: #warning is a GCC extension
../../source/headers/geos/io.h:62:2: warning: #warning *** DEPRECATED: You are using deprecated header io.h. Please, update your sources according to new layout of GEOS headers and namespaces
In file included from SimpleWKTTester.cpp:24:
../../source/headers/geos/geom.h:145:2: warning: #warning is a GCC extension
../../source/headers/geos/geom.h:145:2: warning: #warning *** DEPRECATED: You are using deprecated header geom.h. Please, update your sources according to new layout of GEOS headers and namespaces
/bin/sh ../../libtool --tag=CXX --mode=link g++ -g -O2 -DGEOS_INLINE -Wall -ansi -pedantic -Wno-long-long -o SimpleWKTTester SimpleWKTTester.o ../../source/libgeos.la ../../source/libgeos.la
g++ -g -O2 -DGEOS_INLINE -Wall -ansi -pedantic -Wno-long-long -o .libs/SimpleWKTTester SimpleWKTTester.o ../../source/.libs/libgeos.so
creating SimpleWKTTester
I guess this is what I get for trying to live on the edge virtually. Good thing I don't try to do these things in real life :)
Thanks,
Regina
-----Original Message-----
From: postgis-devel-bounces at postgis.refractions.net on behalf of Paul Ramsey
Sent: Sat 10/18/2008 1:47 PM
To: PostGIS Development Discussion
Subject: Re: [postgis-devel] 1, dot, 3 dot 4!
All,
I'm going to put out a 1.3.4RC1, ala FrankW's recommendation and see
if we can shake loose a little more testing and then drop the final
1.3.4 mid next week.
Howl in outrage if you disagree, please.
P.
_______________________________________________
postgis-devel mailing list
postgis-devel at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-devel
-----------------------------------------
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20081019/f815bee8/attachment.html>
More information about the postgis-devel
mailing list