to include the library path was good but now i get the
following error:
ERROR: Cannot get GIS_LOCK enviroment variable value
ERROR: Cannot get GIS_LOCK enviroment variable value
Problem selecting x1. Will try once more
ERROR: Cannot get GIS_LOCK enviroment variable value
How i can solve this problem, if i'm working in suse
9.0 with grass6.0
Thanks for any help
--- Eric Pante <ericpante@hotmail.com> escribió:
hello miguel,
I actually have to do the same thing with grass... I
took your script and
ran it on my machine; I don't know waht ia the error
message you received,
but mine said that the library libgrass_gis.so could
not be found.I fixed the problem by adding the following lines
after the ETC= and PATH=
.... lines :
LD_LIBRARY_PATH=$GISBASE/lib:$LD_LIBRARY_PATH
DYLD_LIBRARY_PATH=$GISBASE/lib:$DYLD_LIBRARY_PATHthat way grass finds the libraries. next you need to
add LD_LIBRARY and
DYLD_LIBRARY to the export line, as:export GISBASE GISDBASE ETC PATH GISRC
LD_LIBRARY_PATH DYLD_LIBRARY_PATHthis made the script to work on my machine,
hope this help,
eric pante<html><div><DIV align=left>
<DIV align=left>Eric Pante</DIV>
<DIV align=left><FONT size=2>Graduate Student in
Marine Biology</FONT></DIV>
<DIV align=left><FONT size=2>Grice Marine
Laboratory</FONT></DIV>
<DIV align=left><FONT size=2>205 Fort Johnson,
Charleston SC
29412</FONT></DIV>
<DIV> </DIV>
<DIV align=center><EM>On ne force pas la curiosité,
on l'éveille.</EM></DIV>
<DIV align=center>Daniel Pennac</DIV>
<DIV>
<TABLE width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top align=left>
<P align=center><FONT face="Lucida Handwriting,
Cursive"
size=2><STRONG></P></STRONG></FONT>
<P
align=center> </P></TD></TR></TBODY></TABLE></DIV>
<DIV>
<TABLE width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top
align=right></TD></TR></TBODY></TABLE></DIV></DIV></div></html>
>From: "Miguel A. Altamirano del C"
<mgaac@yahoo.com>
>To: grasslist@baylor.edu
>Subject: [GRASSLIST:5552] how run out of grass
>Date: Fri, 28 Jan 2005 11:59:44 -0600 (CST)
>
>I have the sh file "batch-miguel.sh"
and one file with
>grass's command "z-kk", when run it
with:
>"sh batch-miguel.sh grasspru PERMANENT
-file z-kk" in
>the
>grass environment, it run but when i try to run
out of
>the grass environment don't run. I wish to run
my
>grass command in background form.
>Anyone can tell me how can i to run my scripts
in this
>form, without be in grass environment.
>
>
>=====
>LCA Miguel A. Altamirano del C.
>"Los Mexicanos llevamos la fiesta en la
garganta"
>
>Tel. 01(232)32 45208
>
>La belleza de la meteorología radica en saber
>pronosticarla y no simplemente en estudiarla
> (Miguel A. Altamirano 28-5-00)
>
>_________________________________________________________
>Do You Yahoo!?
>Información de Estados Unidos y América Latina,
en Yahoo! Noticias.
>Visítanos en http://noticias.espanol.yahoo.com
><< batch-miguel.sh >>
><< z-kk >>
=====
LCA Miguel A. Altamirano del C.
"Los Mexicanos llevamos la fiesta en la garganta"
Tel. 01(232)32 45208
La belleza de la meteorología radica en saber
pronosticarla y no simplemente en estudiarla
(Miguel A. Altamirano 28-5-00)
_________________________________________________________
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com