GDAL compiling error
SUBSCRIBE MAPSERVER-USERS Anonymous
l.tom at WEB.DE
Tue Nov 8 12:48:44 PST 2005
Hi list,
i tried to install the UMN-Mapserver on a Suse Linux 9.3 Distribution. So
far, all my efforts were successful. But in the final step the compilation
process of GDAL 1.3.1 Sourcefile aborted with the following error message:
In file included from ogrgeometryfactory.cpp:118:
ogr_geos.h:41:25: geos/geom.h: No such file or directory
ogr_geos.h:42:23: geos/io.h: No such file or directory
ogr_geos.h:43:25: geos/util.h: No such file or directory
ogrgeometryfactory.cpp: In static member function `static OGRGeometry*
OGRGeometryFactory::createFromGEOS(const geos::Geometry*)':
ogrgeometryfactory.cpp:827: error: `WKTWriter' undeclared in namespace `geos'
ogrgeometryfactory.cpp:827: error: syntax error before `;' token
ogrgeometryfactory.cpp:832: error: `oWKTWriter' undeclared (first use this
function)
ogrgeometryfactory.cpp:832: error: (Each undeclared identifier is reported only
once for each function it appears in.)
ogrgeometryfactory.cpp:834: error: syntax error before `*' token
ogrgeometryfactory.cpp:840: error: `e' undeclared (first use this function)
ogrgeometryfactory.cpp: At global scope:
ogrgeometryfactory.cpp:845: error: `oWKT' was not declared in this scope
ogrgeometryfactory.cpp:847: error: syntax error before `if'
ogrgeometryfactory.cpp: In static member function `static
geos::GeometryFactory* OGRGeometryFactory::getGEOSGeometryFactory()':
ogrgeometryfactory.cpp:871: error: invalid use of undefined type `struct
geos::GeometryFactory'
ogr_geometry.h:234: error: forward declaration of `struct geos::GeometryFactory
'
make[1]: *** [ogrgeometryfactory.o] Error 1
make[1]: Leaving directory
`/home/tom/Downloads/Software/GIS/UMN_Mapserver/Recommended_Libraries/Tarballs/gdal-1.3.1/ogr'
make: *** [ogr-target] Error 2
linux:/home/tom/Downloads/Software/GIS/UMN_Mapserver/Recommended_Libraries/Tarballs/gdal-1.3.1
#
I've tested it with different versions of GDAL-Library, always interrupted
by the error message above. Alternatively, i installed the GDAL rpm package
on my system. But in this case i need also to install the corresponding
devel package to get the necessary gdal-config file. This devel package
isn't yet available for version 1.3.1.
Has anyone an idea to solve this problem? I'm really grateful for any
helping hint.
Cheers,
Tom
More information about the MapServer-users
mailing list