[GRASS-dev] Re: [GRASS GIS] #595: WinGRASS g.version -c fails

GRASS GIS trac at osgeo.org
Wed Dec 16 13:04:40 EST 2009


#595: WinGRASS g.version -c fails
---------------------------+------------------------------------------------
  Reporter:  hamish        |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect        |      Status:  new                      
  Priority:  blocker       |   Milestone:  6.4.0                    
 Component:  License       |     Version:  6.4.0 RCs                
Resolution:                |    Keywords:  wingrass gpl             
  Platform:  MSWindows XP  |         Cpu:  x86-32                   
---------------------------+------------------------------------------------
Comment (by martinl):

 Replying to [comment:10 martinl]:
 > Replying to [comment:9 glynn]:
 >
 > > The necessary changes for 6.x should be similar, but this probably
 can't be back-ported directly to 6.x due to Makefile differences.
 >
 > Backported to devbr6 in r39844. After some testing could be backported
 to relbr64.

 Done r39921, anyway compilation fails on my computer. The following patch
 helped me

 {{{
 Index: general/g.version/Makefile
 ===================================================================
 --- general/g.version/Makefile  (revision 40022)
 +++ general/g.version/Makefile  (working copy)
 @@ -22,8 +22,8 @@

  default: cmd

 -$(OBJDIR)/copying.h: $(MODULE_TOPDIR)/COPYING | $(OBJDIR)
 +$(OBJDIR)/copying.h: $(MODULE_TOPDIR)/COPYING $(OBJDIR)
         sed -e 's/^\(.*\)$$/"\1\\n"/' $< > $@

 -$(OBJDIR)/confparms.h: $(MODULE_TOPDIR)/config.status | $(OBJDIR)
 +$(OBJDIR)/confparms.h: $(MODULE_TOPDIR)/config.status $(OBJDIR)
         sed -n '7s/^#\(.*\)$$/"\1"/p' $< > $@
 }}}

 Could someone review this patch? Thanks. Martin

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/595#comment:11>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list