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

GRASS GIS trac at osgeo.org
Sun Oct 10 04:51:35 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                      
---------------------------+------------------------------------------------
Changes (by hellik):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 Replying to [comment:6 hamish]:

 maybe related?

 tested with r43842 in the osgeo4w-build-environment.

 compilation ok, but installing isn't

 {{{
 ----------------------------------------------------------------------
 GRASS GIS compilation log
 -------------------------
 Started compilation: Sun Oct 10 06:57:40 GMT 2010
 --
 Errors in:
 No errors detected.
 --
 Finished compilation: Sun Oct 10 08:35:57 GMT 2010
 Sun Oct 10 08:35:57 GMT 2010: STARTING make install
 include/Make/Doxygen.make:13: warning: overriding commands for target
 `htmldocs -single'
 include/Make/Docs.make:11: warning: ignoring old commands for target
 `htmldocs- single'
 include/Make/Doxygen.make:19: warning: overriding commands for target
 `htmldocs '
 include/Make/Docs.make:38: warning: ignoring old commands for target
 `htmldocs'
 include/Make/Doxygen.make:39: warning: overriding commands for target
 `pdfdocs'
 include/Make/Docs.make:49: warning: ignoring old commands for target
 `pdfdocs'
 include/Make/Doxygen.make:51: warning: overriding commands for target
 `cleandoc s'
 include/Make/Docs.make:55: warning: ignoring old commands for target
 `cleandocs '
 echo /c/osgeo4w/usr/src/grass6_devel/bin.i686-pc-mingw32/grass65
 /c/osgeo4w/usr/src/grass6_devel/bin.i686-pc-mingw32/grass65
 make[1]: Entering directory `/c/osgeo4w/usr/src/grass6_devel'
 include/Make/Doxygen.make:13: warning: overriding commands for target
 `htmldocs -single'
 include/Make/Docs.make:11: warning: ignoring old commands for target
 `htmldocs- single'
 include/Make/Doxygen.make:19: warning: overriding commands for target
 `htmldocs '
 include/Make/Docs.make:38: warning: ignoring old commands for target
 `htmldocs'
 include/Make/Doxygen.make:39: warning: overriding commands for target
 `pdfdocs'
 include/Make/Docs.make:49: warning: ignoring old commands for target
 `pdfdocs'
 include/Make/Doxygen.make:51: warning: overriding commands for target
 `cleandoc s'
 include/Make/Docs.make:55: warning: ignoring old commands for target
 `cleandocs '
 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/u sr/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/osg eo4w/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
 cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf -
 AUTHORS COP YING CHANGES REQUIREMENTS.html GPL.TXT contributors.csv
 translators.csv | (cd / c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - )
 2>/dev/null
 cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - bin |
 (cd / c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
 cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf -
 bwidget | ( cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - )
 2>/dev/null
 cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - docs |
 (cd  /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
 cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - driver
 | (c d /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
 cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - etc |
 (cd / c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
 cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - fonts
 | (cd  /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
 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
 cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf -
 scripts | ( cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - )
 2>/dev/null
 cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - tools
 | (cd  /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
 if [ 1 -eq 1 ] ; then cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
 mingw32 ;  tar cBf - locale | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ;
 tar xBf - ) 2>/de v/null ; fi
 cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf -
 include | ( cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - )
 2>/dev/null
 sed -i -e "s#^\(GRASS_HOME.[^=]*\).*#\1=
 /c/OSGeo4W/apps/grass/grass-6.5.svn#"  -e "s#^\(RUN_GISBASE.[^=]*\).*#\1=
 /c/OSGeo4W/apps/grass/grass-6.5.svn#" /c/OSG
 eo4W/apps/grass/grass-6.5.svn/include/Make/Platform.make
 sed: invalid option -- i
 Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...

   -n, --quiet, --silent
                  suppress automatic printing of pattern space
   -e script, --expression=script
                  add the script to the commands to be executed
   -f script-file, --file=script-file
                  add the contents of script-file to the commands to be
 executed
   -c  --nocr     turn off \r$ translation; must be first switch on command
 line
       --help     display this help and exit
   -V, --version  output version information and exit

 If no -e, --expression, -f, or --file option is given, then the first
 non-option argument is taken as the sed script to interpret.  All
 remaining arguments are names of input files; if no input files are
 specified, then the standard input is read.

 E-mail bug reports to: bug-gnu-utils at gnu.org .
 Be sure to include the word ``sed'' somewhere in the ``Subject:'' field.
 make[1]: [real-install] Error 4 (ignored)
 sed -i -e 's#/tools/g.html2man/g.html2man#/tools/g.html2man#'
 /c/OSGeo4W/apps/g rass/grass-6.5.svn/include/Make/Man.make
 sed: invalid option -- i
 Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...

   -n, --quiet, --silent
                  suppress automatic printing of pattern space
   -e script, --expression=script
                  add the script to the commands to be executed
   -f script-file, --file=script-file
                  add the contents of script-file to the commands to be
 executed
   -c  --nocr     turn off \r$ translation; must be first switch on command
 line
       --help     display this help and exit
   -V, --version  output version information and exit

 If no -e, --expression, -f, or --file option is given, then the first
 non-option argument is taken as the sed script to interpret.  All
 remaining arguments are names of input files; if no input files are
 specified, then the standard input is read.

 E-mail bug reports to: bug-gnu-utils at gnu.org .
 Be sure to include the word ``sed'' somewhere in the ``Subject:'' field.
 make[1]: [real-install] Error 4 (ignored)
 cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - lib |
 (cd / c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
 sed 's#'/c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
 mingw32'#'/c/OSGeo4W/apps/ grass/grass-6.5.svn'#g'
 /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/et c/monitorcap >
 /c/OSGeo4W/apps/grass/grass-6.5.svn/etc/monitorcap
 sed 's#'/c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
 mingw32'#'/c/OSGeo4W/apps/ grass/grass-6.5.svn'#g'
 /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/et c/fontcap >
 /c/OSGeo4W/apps/grass/grass-6.5.svn/etc/fontcap
 chmod -R a+rX /c/OSGeo4W/apps/grass/grass-6.5.svn 2>/dev/null
 tar cBf - gem/skeleton | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn/etc ; tar
 xBf  - ) 2>/dev/null
 tar: gem/skeleton/.svn/text-base: file changed as we read it
 tar: gem/skeleton/.svn/tmp: file changed as we read it
 tar: gem/skeleton/.svn: file changed as we read it
 tar: gem/skeleton: file changed as we read it
 /bin/install -c  gem/gem65 /c/OSGeo4W/bin/bin 2>/dev/null
 make[1]: [real-install] Error 1 (ignored)
 make[1]: Leaving directory `/c/osgeo4w/usr/src/grass6_devel'
 Sun Oct 10 08:37:41 GMT 2010: STARTING cleanup
 sed: can't read /c/OSGeo4W/apps/grass/bin/grass65: No such file or
 directory
 }}}

 there seems to be all files in C:\OSGeo4W\apps\grass\grass-6.5.svn, but
 in C:\OSGeo4W\apps\grass\bin there is only grass65.tmpl

 Helmut

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



More information about the grass-dev mailing list