这是我的机器
Software:
System Software Overview:
System Version: macOS 10.14.6 (18G103)
Kernel Version: Darwin 18.7.0
我正在按照本指南安装 Idris2。
到目前为止我所做的是
brew install idris用idris命令验证brew install chezscheme用petite命令验证brew install gmp未验证git clone https://github.com/edwinb/Idris2.gitmake 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环境变量
