【发布时间】:2020-08-17 17:32:00
【问题描述】:
这是我的机器
Software:
System Software Overview:
System Version: macOS 10.14.6 (18G103)
Kernel Version: Darwin 18.7.0
我正在关注this guide 安装 Idris2。
到目前为止我所做的是
-
brew install idris使用idris命令验证 -
brew install chezscheme使用petite命令验证 -
brew install gmp未验证 git clone https://github.com/edwinb/Idris2.git-
回购中的
make install
输入检查花了一些时间,然后它开始使用 Chez Scheme 做一些事情,直到遇到错误。这是错误前的最后几行输出
Found Chez Scheme at /usr/local/bin/chez
chez/chez001: success
chez/chez002: success
chez/chez003: success
chez/chez004: success
chez/chez005: success
chez/chez006: success
chez/chez007: success
chez/chez008: success
chez/chez009: success
chez/chez010: success
chez/chez011: success
chez/chez012: success
chez/chez013: success
chez/chez014: success
chez/chez015: success
./run: line 2: realpath: command not found
./run: line 6: : command not found
chez/chez016: FAILURE
Golden value differs from actual value.
Accept actual value as new golden value? [yn]
y
chez/reg001: success
218/219 tests successful
make[1]: *** [test] Error 1
make: *** [test] Error 2
现在当我运行idris2 命令时,我得到以下信息:
$ idris2
zsh: permission denied: idris2
$ sudo idris2
Password:
sudo: idris2: command not found
分辨率更新
确保将~/.idris2/bin 添加到您的$PATH 环境变量中
【问题讨论】:
标签: macos idris chez-scheme