[Gdal-dev] GDAL + ECW writing doesn't work on PPC Mac OSX tiger (10.4)

William Kyngesburye woklist at kyngchaos.com
Thu Dec 11 22:31:34 EST 2008


On Dec 11, 2008, at 8:43 PM, philippe brosson wrote:

> when i configure GDAL like this:
> ./configure  --prefix=/usr/pkg
> --with-libgrass=/usr/pkg  \
> --with-tiff=internal  \
> --with-gif=internal  \
> --with-png=internal  \
> --with-jpeg=internal  \
> --with-libz=internal  \
> --without-netcdf  \
> --without-jasper  \
> --without-python \
> --with-ecw=/usr/pkg
>
> building GDAL+ECW is OK  but i obtain this:
>
> pmg4:~/Desktop/GDAL_conversion_folder/sample_geotiff pb$ \
> gdal_translate --debug ON   -of ECW -co "TARGET=90" -co  
> "DATUM=WGS84" -co
> "PROJ=NUTM10"  sample_geotiff_bigEndian.tif   sample.ECW
> GDAL: GDALOpen(sample_geotiff_bigEndian.tif, this=0x5a09de0)  
> succeeds as
> GTiff.
> Input file size is 655, 655
> ERROR 1: libgrass: MAPSET is not set
> Abort trap
> pmg4:~/Desktop/GDAL_conversion_folder/sample_geotiff pb$
>
That libgrass option is really old.  The more common way to include  
GRASS support is to build it as a plugin, otherwise you either have to  
deal with the old libgrass (only supports old GRASS rasters, no  
vectors) or with a circular dependency (which is simple, but still a  
hassle).

For a minimal GDAL just to try ECW support, you can skip GRASS  
completely.


-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"We are at war with them. Neither in hatred nor revenge and with no  
particular pleasure I shall kill every ___ I can until the war is  
over. That is my duty."

"Don't you even hate 'em?"

"What good would it do if I did? If all the many millions of people of  
the allied nations devoted an entire year exclusively to hating the  
____ it wouldn't kill one ___ nor shorten the war one day."

<Ha, ha> "And it might give 'em all stomach ulcers."

- Tarzan, on war



More information about the gdal-dev mailing list