[Gdal-dev] building gdal on solaris

Peter.Rushforth at statcan.ca Peter.Rushforth at statcan.ca
Thu Apr 20 21:38:47 EDT 2006


Hi Frank,

That seemed the fix for that issue, now another:

make[2]: Leaving directory `/bilbo05/rushpet/gdal/gdal-1.3.1/ogr/ogrsf_frmts'
/bin/sh ../libtool --mode=compile g++ -Wall  -O2   -Iogrsf_frmts -I. -I../port -I../gcore -I../alg -I../ogr -I../ogr/ogrsf_frmts   -DHAVE_GEOS=1 -I/usr3/pkg4/OpenEV_FW_Tree/FWTools/include -I../port  -c -o ogrgeometryfactory.o ogrgeometryfactory.cpp
mkdir .libs
 g++ -Wall -O2 -Iogrsf_frmts -I. -I../port -I../gcore -I../alg -I../ogr -I../ogr/ogrsf_frmts -DHAVE_GEOS=1 -I/usr3/pkg4/OpenEV_FW_Tree/FWTools/include -I../port -c ogrgeometryfactory.cpp  -fPIC -DPIC -o .libs/ogrgeometryfactory.o
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' is not a member of `geos'
ogrgeometryfactory.cpp:827: error: expected `;' before "oWKTWriter"
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: `geos::GEOSException' has not been declared
ogrgeometryfactory.cpp:834: error: invalid catch parameter
ogrgeometryfactory.cpp:838: error: `e' undeclared (first use this function)
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 `/bilbo05/rushpet/gdal/gdal-1.3.1/ogr'
make: *** [ogr-target] Error 2

Thanks for any help,


Peter Rushforth
Geography Division
Statistics Canada
Ottawa Ontario
K1A 0T6


> -----Original Message-----
> From: Frank Warmerdam [mailto:fwarmerdam at gmail.com] On Behalf 
> Of Frank Warmerdam
> Sent: April 20, 2006 3:33 PM
> To: Peter.Rushforth at statcan.ca
> Cc: gdal-dev at lists.maptools.org
> Subject: Re: [Gdal-dev] building gdal on solaris
> 
> 
> Peter.Rushforth at statcan.ca wrote:
> > Hi,
> > 
> > Newbie in need of help!
> > 
> > I could only find a linux and windows binary version, so I
> > am trying to build gdal on solaris.
> > 
> > All I really need is the ogr2ogr utility.  I started the build
> > process ok, it ran for a while, but it seems the oci.h file is
> > not found, terminating the build process.  Question is, how to
> > get this train back on the rails?
> 
> Peter,
> 
> Try configuring "--without-oci".
> 
> It seems configure discovered you had oracle, but at build 
> time it can't find some required stuff.
> 
> If you need oracle then you may need to fiddle include paths 
> in GDALmake.opt.
> 
> Best regards,
> -- 
> ---------------------------------------+----------------------
> ----------
> ---------------------------------------+------
> I set the clouds in motion - turn up   | Frank Warmerdam, 
> warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | President OSGF, 
> http://osgeo.org
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Peter Rushforth (Peter.Rushforth at statcan.ca).vcf
Type: text/x-vcard
Size: 517 bytes
Desc: Peter Rushforth (Peter.Rushforth at statcan.ca).vcf
Url : http://lists.osgeo.org/pipermail/gdal-dev/attachments/20060420/de0b0bbb/PeterRushforthPeter.Rushforthstatcan.ca.vcf


More information about the Gdal-dev mailing list