Subject: Re: [GRASS5] compiling beta10 on IRIX and CYGWIN/WIN32

Andreas Lange Andreas.Lange at Rhein-Main.de
Thu Dec 14 18:33:41 EST 2000


Malcolm Blue wrote:
> > Does this mean that CYGWIN does not have a sh program but a bash one
> > instead? Should we put "if CYGWIN copy /bin/bash.exe to /bin/sh.exe"
> > code in the Makefile or somewhere? Just an idea.
> >
> 
> It might be better to test which shell is being used and tell the user
> that Init.sh (and grass5) won't run with the ash shell - which I think
> is what is used for the default sh.exe program in the cygwin setup. This
> information should also be added to the INSTALL file and to the Cygwin
> instructions.  A lot of people prefer the borne shell anyway.  Since
> other shells may be available (csh, ksh, etc.) now or in the future it
> is probably best to avoid making changes to a users setup.
> 
> With bash linked to, or copied to, /bin/sh , "sh --version" returns:
> 
> GNU bash, version 2.04.0(8)-release (i686-pc-cygwin)
> Copyright 1999 Free Software Foundation, Inc.
> 
> Ash doesn't recognize this option and returns "Illegal option --".  I
> don't know how to get version information from it.
> 
> Hope this helps,

Hi Malcolm, Hi Justin,

thanks for the hints. I'll test for this later. But what is changed
internally to Init.sh that it does no longer work on CYGWIN. The CVS
Version before beta9 worked flawlessly with standard CYGWIN setup.

You'll have to tweak so many things with CYGWIN to get grass running
that i fear introducing more changes will deter users.

cu,

Andreas

-- 
Andreas Lange, 65187 Wiesbaden, Germany, Tel. +49 611 807850
Andreas.Lange at Rhein-Main.de - A.C.Lange at GMX.net



---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list