[GRASSLIST:3906] Re: building gdal for grass57

Kirk R. Wythers kwythers at umn.edu
Wed Jul 14 11:14:55 EDT 2004


On Jul 13, 2004, at 6:33 PM, Hamish wrote:
>
>
> No.
>
> You should only configure gdal with --with-grass if you need GDAL to be
> able to export GRASS maps without GRASS being installed.

not an issue.

> It is not
> needed, and can cause r.in.gdal to break if it is used. Leave it off.
> [this may be out of date/fixed now, but is how things used to be]
>
>
> Was grass57 built with --with-gdal=/usr/local/bin/gdal-config or the  
> like?

yes, exactly. And gdal is working fine in grass53.

> Did the 5.7 ./configure summary say it will use GDAL?

yes


> can you cd raster/r.in.gdal and run make?

No. I get the errror:

truffula:~/grass5_dev/grass57_exp_2004_05_16/raster/r.in.gdal kirkw$  
make
gcc -prebind  -L/usr/X11R6/lib -L/sw/lib  
-L/Users/kirkw/grass5_dev/grass57_exp_2004_05_16/dist.powerpc-apple- 
darwin7.4.0/lib -L/sw/lib/postgresql       -DPACKAGE=\""grassmods"\" -o  
/Users/kirkw/grass5_dev/grass57_exp_2004_05_16/dist.powerpc-apple- 
darwin7.4.0/etc/bin/cmd/r.in.gdal  
OBJ.powerpc-apple-darwin7.4.0/gbgetsymbol.o  
OBJ.powerpc-apple-darwin7.4.0/gdalbridge.o  
OBJ.powerpc-apple-darwin7.4.0/main.o -lgrass_gproj -lproj   
-L/usr/local/lib -lgdal -lgrass_gis -lgrass_datetime -lz    -lgrass_I  
-lgrass_vask -lncurses  -L/usr/local/lib -lgdal -lgrass_gmath -lfftw     
  -lz
ld: warning prebinding disabled because dependent library:  
/Users/kirkw/grass5_dev/grass57_exp_2004_05_16/dist.powerpc-apple- 
darwin7.4.0/lib/libgrass_gproj.dylib is not prebound
ld: Undefined symbols:
_GBGetSymbol
make: ***  
[/Users/kirkw/grass5_dev/grass57_exp_2004_05_16/dist.powerpc-apple- 
darwin7.4.0/etc/bin/cmd/r.in.gdal] Error 1
truffula:~/grass5_dev/grass57_exp_2004_05_16/raster/r.in.gdal kirkw$

>
>
>
> Hamish
>
------------------------------------------------------------------------
Kirk R. Wythers	                                    tel: 612.625.2261
Dept. of Forest Resources                fax: 612.625.5212
University of Minnesota     email: kwythers at umn.edu
------------------------------------------------------------------------




More information about the grass-user mailing list