[GRASS-user] grass63 command fails after cvs update

Hello,

after a cvs update which worked fine for the last few times (make clean; make
distclean; cvs update -dP
grass6; ./configure --with-tcltk-includes=/usr/include/tcl8.4 --with-postgres-includes=/usr/include/postgresql --with-gdal=/usr/local/bin/gdal-config --enable-largefile
make; make install)

I get this error when I try to start GRASS with grass63:

baliola@wpf063:/usr/local/bin$ grass63
/usr/local/bin/grass63: line
27: /usr/local/bin/NONE/grass-6.3.cvs/etc/Init.sh: No such file or directory
/usr/local/bin/grass63: line 27:
exec: /usr/local/bin/NONE/grass-6.3.cvs/etc/Init.sh: cannot execute: No such
file or directory

baliola@wpf063:/usr/local/bin$ ls
epsg_tr.py gdaladdo gdalimport.py gdaltindex gem6
ogrinfo
gcps2vec.py gdalchksum.py gdalinfo gdal_translate grass63
ogrtindex
gcps2wld.py gdal-config gdal_merge.py gdalwarp grass63.bat
pct2rgb.py
gdal2xyz.py gdal_contour gdal_rasterize gem ogr2ogr
rgb2pct.py

I searched the web for keywords from the error message but did not find any
relevant pages, any hints for pages and solutions are welcome.

BTW: OS: Debian unstable

regards, Martin

to check if my update routine produced an error, I changed the directory and
did a fresh cvs download but same error occurs:

grass63

/usr/local/bin/grass63: line
27: /home/baliola/software/grass/grass63/grass6/NONE/grass-6.3.cvs/etc/Init.sh:
No such file or directory
/usr/local/bin/grass63: line 27:
exec: /home/baliola/software/grass/grass63/grass6/NONE/grass-6.3.cvs/etc/Init.sh:
cannot execute: No such file or directory

why is GRASS looking in my temporary software installation directory? It
should be /usr/local/..., shouldn't it?

any idea what I did wrong? Martin

On Wednesday 14 March 2007 10:46, Martin Wegmann wrote:

Hello,

after a cvs update which worked fine for the last few times (make clean;
make distclean; cvs update -dP
grass6; ./configure --with-tcltk-includes=/usr/include/tcl8.4
--with-postgres-includes=/usr/include/postgresql
--with-gdal=/usr/local/bin/gdal-config --enable-largefile make; make
install)

I get this error when I try to start GRASS with grass63:

baliola@wpf063:/usr/local/bin$ grass63
/usr/local/bin/grass63: line
27: /usr/local/bin/NONE/grass-6.3.cvs/etc/Init.sh: No such file or
directory /usr/local/bin/grass63: line 27:
exec: /usr/local/bin/NONE/grass-6.3.cvs/etc/Init.sh: cannot execute: No
such file or directory

baliola@wpf063:/usr/local/bin$ ls
epsg_tr.py gdaladdo gdalimport.py gdaltindex gem6
ogrinfo
gcps2vec.py gdalchksum.py gdalinfo gdal_translate grass63
ogrtindex
gcps2wld.py gdal-config gdal_merge.py gdalwarp grass63.bat
pct2rgb.py
gdal2xyz.py gdal_contour gdal_rasterize gem ogr2ogr
rgb2pct.py

I searched the web for keywords from the error message but did not find any
relevant pages, any hints for pages and solutions are welcome.

BTW: OS: Debian unstable

regards, Martin

_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser

Martin Wegmann wrote:

to check if my update routine produced an error, I changed the directory and
did a fresh cvs download but same error occurs:

>grass63
/usr/local/bin/grass63: line
27: /home/baliola/software/grass/grass63/grass6/NONE/grass-6.3.cvs/etc/Init.sh:
No such file or directory
/usr/local/bin/grass63: line 27:
exec: /home/baliola/software/grass/grass63/grass6/NONE/grass-6.3.cvs/etc/Init.sh:
cannot execute: No such file or directory

why is GRASS looking in my temporary software installation directory? It
should be /usr/local/..., shouldn't it?

any idea what I did wrong? Martin

I made a mistake in a recent change to the configure script. It has
since been fixed in CVS, or you can use --prefix=/usr/local to avoid
the problem (if you don't specify a --prefix option, ${prefix}
defaults to NONE; configure changes this to the default setting of
/usr/local, but not until *after* it has already been used to define
INST_DIR).

You should be able to just fix the INST_DIR setting in
include/Make/Platform.make then re-run "make install".

--
Glynn Clements <glynn@gclements.plus.com>

thanks, now it works again, Martin

On Wednesday 14 March 2007 14:13, Glynn Clements wrote:

Martin Wegmann wrote:
> to check if my update routine produced an error, I changed the directory
> and
>
> did a fresh cvs download but same error occurs:
> >grass63
>
> /usr/local/bin/grass63: line
> 27:
> /home/baliola/software/grass/grass63/grass6/NONE/grass-6.3.cvs/etc/Init.s
>h: No such file or directory
> /usr/local/bin/grass63: line 27:
> exec:
> /home/baliola/software/grass/grass63/grass6/NONE/grass-6.3.cvs/etc/Init.s
>h: cannot execute: No such file or directory
>
> why is GRASS looking in my temporary software installation directory? It
> should be /usr/local/..., shouldn't it?
>
> any idea what I did wrong? Martin

I made a mistake in a recent change to the configure script. It has
since been fixed in CVS, or you can use --prefix=/usr/local to avoid
the problem (if you don't specify a --prefix option, ${prefix}
defaults to NONE; configure changes this to the default setting of
/usr/local, but not until *after* it has already been used to define
INST_DIR).

You should be able to just fix the INST_DIR setting in
include/Make/Platform.make then re-run "make install".