[geos-devel] Compiling challenges with 3.1.0

Obe, Regina robe.dnd at cityofboston.gov
Fri Oct 10 08:25:41 EDT 2008


Is there something different about the way I should be compiling 3.1.0.
I was hoping to test the new changes out on some of my datasets. So I
compiled the same way I did with 3.0.0

Basically download latest svn nightly snapshot from 
http://download.osgeo.org/geos/geos-svn.tar.bz2

Extract
cd geos-3.1.0
./configure
make clean
make

When doing so I get an error
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
make[2]: *** [CLocalizer.lo] Error 1
make[2]: Leaving directory `/home/linux/projects/geos-3.1.0/source/io'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/linux/projects/geos-3.1.0/source'
make: *** [all-recursive] Error 1

This is when trying to compile on OpenSUSE 10.3 VM.  Don't have issues
with compiling the geos-3.0.0 build.

I found a bug report about something similar, but its marked as closed
and seemed to be an issue with compiling with Microsoft VC++

http://trac.osgeo.org/geos/ticket/206


I assume the snapshot is up to date since when I look at the dates on
the extracted files they match the SVN logs 
http://download.osgeo.org/geos/SVN.txt

Thanks,
Regina

 
-----------------------------------------
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.


More information about the geos-devel mailing list