Opened 9 years ago

Last modified 9 years ago

#5852 closed defect

GRASS 7.0.0 support — at Version 3

Reported by: Bas Couwenberg Owned by: warmerdam
Priority: normal Milestone: 1.11.3
Component: default Version: svn-trunk
Severity: normal Keywords:
Cc: martinl, Markus Neteler, imincik1

Description (last modified by Bas Couwenberg)

GRASS 7 moved the .table files from @GRASS_GISBASE@/etc to @GRASS_GISBASE@/etc/proj, causing the install target of the plugin to fail.

The configure script for the GRASS plugin only support GRASS 7.0 from SVN, but not the final release.

The attached patch fixes both issue. The .table files are copied conditionally, and a second check for the final GRASS 7.0.0 library is added in case 7.0 SVN was not found.

I've attached an updated version of my patch to only change the Makefile.in to support both paths for the .table files.

Change History (6)

by Bas Couwenberg, 9 years ago

Attachment: grass-7.0.0.patch added

comment:1 by Even Rouault, 9 years ago

Cc: martinl added

comment:2 by martinl, 9 years ago

@sebastic: could you please try attachment:gdal-grass-configure.patch instead of your version?

by martinl, 9 years ago

Attachment: gdal-grass-configure.patch added

by Bas Couwenberg, 9 years ago

Attachment: gdal-grass-makefile.patch added

in reply to:  2 comment:3 by Bas Couwenberg, 9 years ago

Description: modified (diff)

Replying to martinl:

@sebastic: could you please try attachment:gdal-grass-configure.patch instead of your version?

Thanks for your patch, it looks like a much better way to support future GRASS 7 versions.

I've included your patch in the Debian package for the GDAL GRASS plugin and the resulting build with GRASS 7.0.0 looks good.

Note: See TracTickets for help on using tickets.