[GRASS-dev] Re: [GRASS GIS] #1191: make install gives sed error in r43810

GRASS GIS trac at osgeo.org
Mon Oct 11 17:56:33 EDT 2010


#1191: make install gives sed error in r43810
---------------------------+------------------------------------------------
  Reporter:  cgsbob        |       Owner:  grass-dev@…              
      Type:  defect        |      Status:  reopened                 
  Priority:  normal        |   Milestone:  6.5.0                    
 Component:  Installation  |     Version:  svn-develbranch6         
Resolution:                |    Keywords:  Makefile                 
  Platform:  All           |         Cpu:  All                      
---------------------------+------------------------------------------------

Comment(by hamish):

 It did fix the 'sed -i' error, the errors you are seeing are unrelated.

 this seems to be the first error seen:

 {{{
 cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - man |
 \
   (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
 tar: man: Cannot stat: No such file or directory
 tar: Error exit delayed from previous errors
 }}}

 are no man pages on WinGrass a known feature or a bug?


 {{{
 ...
 test -d /c/OSGeo4W/apps/grass/grass-6.5.svn || \
    mkdir -p -m 755 /c/OSGeo4W/apps/grass/grass-6.5.svn

 test -d /c/OSGeo4W/bin/bin || mkdir -p -m 755 /c/OSGeo4W/bin/bin

 sed -e "s#^GISBASE.*#GISBASE=/c/OSGeo4W/apps/grass/grass-6.5.svn#" \
    /c/osgeo4w/usr/src/grass6_devel/bin.i686-pc-mingw32/grass65 \
    > /c/OSGeo4W/bin/bin/grass65

 chmod a+x /c/OSGeo4W/bin/bin/grass65

 sed -e "s#WINGISBASE=.*#WINGISBASE=/c/OSGeo4W/apps/grass/grass-6.5.svn#" \
    /c/osgeo4w/usr/src/grass6_devel/bin.i686-pc-mingw32/grass65.bat \
    > /c/OSGeo4W/bin/bin/grass65.bat

 chmod a+x /c/OSGeo4W/bin/bin/grass65.bat
 ...
 }}}

 is /c/OSGeo4W/bin/bin/ correct ?


 Hamish

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



More information about the grass-dev mailing list