Error when I try to make clone of HN in Windows 7:

2019-07-03 14:53发布

问题:

I have downloaded Arc 3.1 and Racket to my Windows 7 machine. I have solved many errors as instructed in http://www.arclanguage.org/item?id=12397 Now when I enter (nsv) the following error occurs and localhost:8080 comes out blank:

arc> (nsv)
'rm' is not recognized as an internal or external command,
operable program or batch file.
load items:
ranking stories.
user break

=== context ===
C:\arc3.1\ac.scm:1031:20
 gs1259

ready to serve port 8080
user break

=== context ===
C:\arc3.1\ac.scm:1031:20
 gs1259

**open-input-file: cannot open input file: "C:/dev/urandom" (The system cannot fin
d the path specified.; errno=3)**

=== context ===
 rand-string
 new-fnid
 fnid
 flink
zz
zz
zz
 gs2061
 cache
 newspage
 gs2059
 gs1059
 handle-request-thread

回答1:

Sounds like there's something wrong with your cygwin setup. It can't find rm. Should the cygwin binaries be in your path or something?

Also, cygwin should probably be translating /dev/urandom, since C:/dev/urandom doesn't make sense



标签: lisp arc-lisp