【问题标题】:Error when I try to make clone of HN in Windows 7: 'rm' is not recognized当我尝试在 Windows 7 中克隆 HN 时出错:无法识别“rm”
【发布时间】:2012-03-20 00:46:37
【问题描述】:

我已将 Arc 3.1 和 Racket 下载到我的 Windows 7 机器上。 我已经按照http://www.arclanguage.org/item?id=12397 中的说明解决了许多错误 现在当我输入(nsv) 时会出现以下错误,localhost:8080 出现空白:

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

【问题讨论】:

    标签: lisp arc-lisp


    【解决方案1】:

    听起来您的 cygwin 设置有问题。找不到rm。 cygwin 二进制文件应该在你的路径中还是什么?

    另外,cygwin 应该翻译/dev/urandom,因为C:/dev/urandom 没有意义

    【讨论】:

    • 我会尝试安装 cygwin,这可能会解决你的问题
    • 我遇到了这个arclanguage.org/item?id=12400,但实际上不知道如何解决。
    • 使用 cygwin 解决了上述问题。但是,现在当我运行 mzscheme -f as.scm 时,它永远不会返回提示符(如循环)。当我使用 mzscheme -m -f as.scm 它显示“main: 顶层环境中没有定义或要求”消息
    • 很高兴你解决了第一部分,但恐怕我不知道接下来该建议什么。可能最好开始一个新问题。
    猜你喜欢
    • 1970-01-01
    • 2014-12-21
    • 2021-07-09
    • 1970-01-01
    • 2011-02-17
    • 2022-11-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多