【问题标题】:How to install srfi modules in local copy of guile如何在 guile 的本地副本中安装 srfi 模块
【发布时间】:2017-03-28 19:44:20
【问题描述】:

我在共享主机上的 /home/jcubic 中安装了 guile,我没有 root 访问权限,并且当我有这个时:

(use-modules (srfi srfi-1) (srfi srfi-26) (srfi srfi-43) (srfi srfi-60)
             (rnrs bytevectors) (ice-9 binary-ports) (srfi srfi-11))

当我运行脚本时出现错误:

 ERROR: no code for module (srfi srfi-43)

如何将此库安装到本地 guile 实例?

【问题讨论】:

    标签: scheme guile srfi


    【解决方案1】:

    把它放在你喜欢的任何地方,然后将目录添加到你的加载路径中,或者说类似(add-to-load-path mydir),或者设置环境变量GUILE_LOAD_PATH,这可能更方便。

    【讨论】:

      猜你喜欢
      • 2023-03-31
      • 2018-09-12
      • 2013-03-26
      • 2015-05-07
      • 1970-01-01
      • 2019-11-10
      • 2020-08-11
      • 2020-04-21
      • 2015-02-07
      相关资源
      最近更新 更多