[winGRASS] Re: [GRASS-user] Re: Cygwin winGRASS 6.2 Errors!

Glynn Clements glynn at gclements.plus.com
Wed Feb 14 22:17:05 EST 2007


Hamish wrote:

> > I have encountered the following error when I first time invoked
> > the Cygwin  winGRASS 6.2 after I have successfully installed it. 
> > I am using both native  binary and the new cygwin 6.2 winGRASS.  I
> > have copy and past my GRASSDATA  dir into cygwin directory so that
> > I can access the same data using cygwin  winGRASS.  But when I
> > have selected the correct directory and mapset, the  following
> > error occured on the xwindow:
> >
> > GRASS 6.2.1 (L_UK):~ > child process exited abnormally, by using
> > gis.m on the xwin will give the same error.
> 
> 
> I have just tried installing the 6.2.1 Cygwin package in Windows XP,
> I get the same error.  (I also just updated the install instructions)
> 
> A number of important modules are not built properly. (e.g. g.region)
> 
> xganim did build ok, so you can try that out if you want Casey.
> 
> 
> Before I get into that, any objections to adding the following extra
> dependencies to setup.ini?
>   (used in various scripts/; need Markus's help as it isn't in CVS)
> netpbm
> bc
> wget
> util-linux   # for more.exe; used as the pager for g.list.

If you allow for all of the programs which scripts (or even compiled
programs) might use, the requires: line is going to get rather long.

Adding more (or less) is probably a good idea, as it's basically
necessary with the default setup (although I just use
GRASS_PAGER=cat). I wouldn't add anything which you can easily do
without, though.

> gritty details of the broken Cygwin package:
> 
> at the Cywgin prompt:
> $ startx
> in the new xterm:
> $ grass62 
> 
> # ... TclTk startup screen, select data dir and mapset, [Enter GRASS] ...
> 
> Starting GRASS ...
> //usr/local/share/grassdata/spearfish60/user1/.gislock: No such host or network path
> ERROR: /usr/local/grass-6.2.1/etc/lock:
> Admin is currently running GRASS in selected mapset. Concurrent use not allowed.
> 
> I guess it doesn't like /usr/local/share/grassdata/. Pity, as this is a
> multi-user machine in the student lab.

No, it doesn't like the double slash, which indicates a network path
(//usr/local = SMB share named "local" on host "usr").

> $ cp -r /usr/local/share/grassdata/ ~
> 
> $ grass62
> # GUI Startup
> # select spearfish
> # gis.m starts up but then crashes:
> ...
> GRASS 6.2.1 (spearfish60):~ > child process exited abnormally
> 
> 
> GRASS 6.2.1 (spearfish60):~ > g.proj -p
> GRASS 6.2.1 (spearfish60):~ > g.region -p    
> GRASS 6.2.1 (spearfish60):~ > g.region --help

How up-to-date is your Cygwin? I updated everything prior to building
that package.

The above behaviour (program does nothing) used to occur when building
with DLLs.

Unfortunately, it works on my system, so I probably can't be of much
help in tracking down the problem.

FWIW; here is the output from "env | sort":

!::=::\
!C:=C:\Cygwin\bin
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\glynn\Application Data
COMMONPROGRAMFILES=C:\Program Files\Common Files
COMPUTERNAME=WXP
COMSPEC=C:\WINDOWS\system32\cmd.exe
CVS_RSH=/usr/bin/ssh
CYGWIN=CYGWIN_NT-5.1
DISPLAY=:0.0
FP_NO_HOST_CHECK=NO
GISBASE=/usr/local/grass-6.2.1
GISRC=/tmp/grass6-glynn-2124/gisrc
GIS_LOCK=2124
GRASS_GNUPLOT=gnuplot -persist
GRASS_HTML_BROWSER=C:/Program Files/Internet Explorer/iexplore.exe
GRASS_LD_LIBRARY_PATH=/usr/local/grass-6.2.1/lib:/usr/local/grass-6.2.1/bin:/usr/local/grass-6.2.1/scripts:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem
GRASS_PAGER=less
GRASS_PERL=/usr/bin/perl
GRASS_TCLSH=tclsh
GRASS_VERSION=6.2.1
GRASS_WISH=wish
HOME=/home/glynn
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\glynn
HOSTNAME=WXP
INFOPATH=/usr/local/info:/usr/share/info:/usr/info:
LOGNAME=glynn
LOGONSERVER=\\WXP
MAKE_MODE=unix
MANPATH=/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man
NUMBER_OF_PROCESSORS=2
OS=Windows_NT
OSTYPE=cygwin
PATH=/usr/local/grass-6.2.1/lib:/usr/local/grass-6.2.1/bin:/usr/local/grass-6.2.1/scripts:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PRINTER=
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 3, GenuineIntel
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0403
PROGRAMFILES=C:\Program Files
PROMPT=$P$G
PWD=/home/glynn
SESSIONNAME=Console
SHELL=/usr/bin/bash.exe
SHLVL=4
SYSTEMDRIVE=C:
SYSTEMROOT=C:\WINDOWS
TEMP=/cygdrive/c/DOCUME~1/glynn/LOCALS~1/Temp
TERM=xterm
TERMCAP=xterm-r6|xterm|xterm X11R6 version:am:km:mi:ms:xn:co#80:it#8:li#24:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:im=\E[4h:is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[m:up=\E[A:us=\E[4m:kb=\010:
TEXDOCVIEW_dvi=cygstart %s
TEXDOCVIEW_html=cygstart %s
TEXDOCVIEW_pdf=cygstart %s
TEXDOCVIEW_ps=cygstart %s
TEXDOCVIEW_txt=cygstart %s
TMP=/cygdrive/c/DOCUME~1/glynn/LOCALS~1/Temp
TVDUMPFLAGS=8
USER=glynn
USERDOMAIN=WXP
USERNAME=glynn
USERPROFILE=C:\Documents and Settings\glynn
WINDIR=C:\WINDOWS
WINDOWID=10485774
XTERM_SHELL=/bin/bash
XTERM_VERSION=Cygwin 6.8.2.0(202)
_=/usr/bin/env
__COMPAT_LAYER=EnableNXShowUI 

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




More information about the grass-windows mailing list