Re: [Circle] Cygwin and declare not found

From: George Greer (greerga@circlemud.org)
Date: 10/17/01


On Wed, 17 Oct 2001, MrFONZY wrote:

>I believe I have located the problem...
>just read the second line.
>
>> Just running stock circle30bpl19.
>>>>Running on windows 2000,<<< using cygwin.
>> All I did was unzip,  do a ./configure then a make, then an autorun.
>> Am getting this in the cygwin window: *SNIPPED*

The error isn't with Windows 2000.  If I run 'ash' on a Linux machine I get
something similar:

greerga@moving:~/mud/circle30bpl19$ ash autorun
declare: not found
declare: not found
declare: not found
mv: cannot stat `log/syslog.': No such file or directory
[: -lt: argument expected

$ uname
Linux moving.m-l.org 2.2.19 #3 SMP Sat Jun 16 13:27:43 EDT 2001 i586 unknown

It's just using Bash extensions when running under non-Bash.  So it should
probably use 'expr' instead of 'declare'.  ash is a minimalistic POSIX
Bourne shell.

--
George Greer
greerga@circlemud.org

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/06/01 PST