Ticket #1731 (closed defect: fixed)
GDAL-GRASS plugin install omission of driver/
| Reported by: | neteler | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | default | Version: | svn-trunk |
| Severity: | normal | Keywords: | grass |
| Cc: | mloskot |
Description
Frank,
using recent MapServer? for displaying GRASS 6 data, it turned out after strace debugging that GDAL (or MapServer?) expect the GRASS drivers in the plugin directory:
[root@localhost cgi-bin]# export REQUEST_METHOD=GET [root@localhost cgi-bin]# export QUERY_STRING="map=/var/www/html/mapfiles/nc_wake.map" [root@localhost cgi-bin]# ./mapserv No such file or directory: Cannot open drivers directory No such file or directory: Cannot open drivers directory Content-type: text/html ...
I had to manually copy the GRASS DB drivers to make the plugin happy:
cp -r /home/neteler/grass63/dist.x86_64-unknown-linux-gnu/driver/db /usr/local/share/gdal/grass/driver/ ls -la /usr/local/share/gdal/grass/ total 4 drwxr-xr-x 4 neteler neteler 1024 Aug 1 10:27 ./ drwxr-xr-x 3 neteler neteler 1024 Jul 11 14:42 ../ drwxr-xr-x 3 root root 1024 Aug 1 10:27 driver/ drwxr-xr-x 2 neteler neteler 1024 Jul 11 18:10 etc/ ls -la /usr/local/share/gdal/grass/driver/ total 3 drwxr-xr-x 3 neteler neteler 1024 Aug 1 10:31 ./ drwxr-xr-x 4 neteler neteler 1024 Aug 1 10:31 ../ drwxr-xr-x 2 neteler neteler 1024 Aug 1 10:31 db/
Patch for gdal/frmts/grass/pkg/Makefile.in attached. Then this works.
Markus
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

