[GRASS-dev] Re: [GRASS GIS] #1191: make install gives sed error in
r43810
GRASS GIS
trac at osgeo.org
Mon Oct 11 13:29:43 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 hellik):
Replying to [comment:8 hamish]:
> Replying to [comment:7 hellik]:
> > maybe related?
> >
> > tested with r43842 in the osgeo4w-build-environment.
> >
> > compilation ok, but installing isn't
>
> yes, it's related. 'sed -i' isn't present in MSys. Pity, as it's really
very handy. FWIW it isn't strictly part of the standard but MacOSX does
have it. MSys is using's GNU's version of it, I guess they removed it
because Windows is much more picky about what you can do with an open
file. ?
>
> hopefully fixed in r43854.
>
not really
{{{
GRASS GIS compilation log
-------------------------
Started compilation: Mon Oct 11 15:36:04 GMT 2010
--
Errors in:
No errors detected.
--
Finished compilation: Mon Oct 11 17:11:23 GMT 2010
Mon Oct 11 17:11:23 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
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'make[1]:
Entering directory `/c/osgeo4w/usr/src/grass6_devel'
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 -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/osgeo4
w/usr/src/grass6_devel/dist.i686-pc-mingw32/include/Make/Platform.make >
/c/OSG
eo4W/apps/grass/grass-6.5.svn/include/Make/Platform.make
sed -e 's#/tools/g.html2man/g.html2man#/tools/g.html2man#'
/c/osgeo4w/usr/src/g
rass6_devel/dist.i686-pc-mingw32/include/Make/Man.make >
/c/OSGeo4W/apps/grass/
grass-6.5.svn/include/Make/Man.make
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'
Mon Oct 11 17:12:54 GMT 2010: STARTING cleanup
sed: can't read /c/OSGeo4W/apps/grass/bin/grass65: No such file or
directory
}}}
in C:\OSGeo4W\usr\src\grass6_devel\bin.i686-pc-mingw32 there are shell-
script and bat-file, but in C:\OSGeo4W\apps\grass\bin there is again only
grass65.tmpl
best regards
Helmut
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1191#comment:9>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list