[GRASS-dev] GDAL's GRASS plugin

Hamish hamish_nospam at yahoo.com
Tue Jul 18 23:46:06 EDT 2006


Hi,

just compiled latest GDAL from CVS + GRASS plugin 1.3.1.2.

two issues:

1) probably just README needs updating or I need to read it better?

cd gdal/frmts/grass/pkg
./configure ...

make: *** No rule to make target `grass57dataset.o', needed by `gdal_GRASS.so'.  Stop.

(I assume this needs re./configure --with-grass= after GRASS is built)


[build GRASS with new GDAL libs]



2) gdal installs a broken & unwanted symlink:

downloaded GRASS plugin 1.3.1.2,

./configure
make
[ok]

# make install

install -d /usr/local/lib/gdalplugins
install: cannot create directory `/usr/local/lib/gdalplugins': File exists
make: *** [install] Error 1

# ls /usr/local/lib/gdalplugins -l
lrwxrwxrwx  1 root staff 20 2005-10-24 16:17 /usr/local/lib/gdalplugins -> /usr/lib/gdalplugins

(/usr/lib/gdalplugins doesn't exist)

if I do:

# rm /usr/local/lib/gdalplugins
# mkdir /usr/local/lib/gdalplugins

then 

# make install

it works, 
$ gdalinfo --formats | grep GRASS
  GRASS (ro): GRASS Database Rasters (5.7+)
$ ogrinfo --formats | grep GRASS
  -> "GRASS" (readonly)


Hamish




More information about the grass-dev mailing list