[Gdal-dev] building gdal on solaris

Peter.Rushforth at statcan.ca Peter.Rushforth at statcan.ca
Fri Apr 21 13:50:34 EDT 2006


Hi Frank and list,

Looks good so far - I got through the build and installation
with 1.3.2b , but I didn't build xerces in.

I will have a go at that now!

Thanks for your help up to now.


bilbo{rushpet}24: ogr2ogr -a_srs WGS84 -f "MapInfo File" peter2.tab gfrr011r05g_f.gml
ERROR 1: Unable to create Xerces C++ based GML reader, Xerces support
not configured into GDAL/OGR.
ERROR 1: File gfrr011r05g_f.gml appears to be GML but the GML reader can't
be instantiated, likely because Xerces support wasn't
configured in.
FAILURE:
Unable to open datasource `gfrr011r05g_f.gml' with the following drivers.
  -> ESRI Shapefile
  -> MapInfo File
  -> UK .NTF
  -> SDTS
  -> TIGER
  -> S57
  -> DGN
  -> VRT
  -> AVCBin
  -> REC
  -> Memory
  -> CSV
  -> GML

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 21, 2006 11:03 AM
> To: Peter.Rushforth at statcan.ca
> Cc: gdal-dev at lists.maptools.org; lists at b-open-solutions.it
> Subject: Re: [Gdal-dev] building gdal on solaris
> 
> 
> Peter.Rushforth at statcan.ca wrote:
> > Hi Frank,
> > 
> > I did previously try with 1.3.2b1, here's what I get:
> > 
> > bilbo{rushpet}53: pwd
> > /bilbo05/rushpet/gdal/gdal-1.3.2b1
> > bilbo{rushpet}54: make
> > (cd port; make)
> > make[1]: Entering directory 
> `/bilbo05/rushpet/gdal/gdal-1.3.2b1/port'
> > g++ -Wall -fPIC -O2   -DOGR_ENABLED 
> -I/bilbo05/rushpet/gdal/gdal-1.3.2b1/port  -c -o cpl_strtod.o 
> cpl_strtod.cpp
> > cpl_strtod.cpp: In function `float CPLStrtofDelim(const 
> char*, char**, 
> > char)':
> > cpl_strtod.cpp:719: error: `copysignf' undeclared (first 
> use this function)
> > cpl_strtod.cpp:719: error: (Each undeclared identifier is 
> reported only once for each function it appears in.)
> > make[1]: *** [cpl_strtod.o] Error 1
> > make[1]: Leaving directory `/bilbo05/rushpet/gdal/gdal-1.3.2b1/port'
> > make: *** [port-target] Error 2
> > 
> > I'm still determined to get it running - it seems others 
> have done so!
> 
> Peter,
> 
> If you edit cpl_strtod.cpp to change copysignf to copysign it 
> should work. We will fix this for the next beta.
> 
> 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
> 
> 




More information about the Gdal-dev mailing list