【问题标题】:rebar generate: enotdir errors钢筋生成:enotdir 错误
【发布时间】:2012-04-28 21:03:50
【问题描述】:

我正在尝试为我的 otp 应用程序设置钢筋释放。我遵循了这个指南:https://github.com/basho/rebar/wiki/Getting-started

当我尝试生成一个版本时,我收到很多 enotdir 错误:

~/Projekte/mc-erl/repo $ ./rebar generate
==> rel (generate)
Error reading /home/clonejo/Projekte/mc-erl/repo/rebar/rebar_app_utils.beam's file info: enotdir
Error reading /home/clonejo/Projekte/mc-erl/repo/rebar/rebar_deps.beam's file info: enotdir
Error reading /home/clonejo/Projekte/mc-erl/repo/rebar/rebar_appups.beam's file info: enotdir
[... enotdir errors go on ...]
[... all above enotdir errors are repeated ...]
ERROR: Unable to generate spec: read file info /usr/lib/erlang/man/man1/preunzip.1 failed

这是我的 erlang 版本:

$ erl
Erlang R15B (erts-5.9) [source] [64-bit] [smp:2:2] [async-threads:0] [hipe] [kernel-poll:false]

Eshell V5.9  (abort with ^G)

我在http://cloud.github.com/downloads/basho/rebar/rebar 获得了钢筋(请参阅 GettingStarted wiki 页面)。

更新:详细模式只添加一个警告,这是无关的:

WARN:  'generate' command does not apply to directory /home/clonejo/Projekte/mc-erl/repo/apps/mc_erl

【问题讨论】:

  • 能否以详细 (-v) 模式运行 rebar 并向我们显示日志?
  • verbose 模式只添加一个警告,这是不相关的(见上文)
  • 我可以建议你从源代码构建吗?
  • 我做了,但是输出没有变化(commit: afffb48)

标签: erlang rebar


【解决方案1】:

很可能,您已经以某种方式安装了“重新加载器”模块,也许是通过您的 .erlang?该特定错误消息源自那里。

【讨论】:

    【解决方案2】:

    你能用 -v 运行它吗

    曾经并且可能仍然是一个错误 http://lists.basho.com/pipermail/rebar_lists.basho.com/2011-July/000932.html

    我建议更新 rebar 并运行 rebar -v 以查看更多信息。

    【讨论】:

    • 使用最新版本的钢筋没有区别:rebar version: 2 date: 20120417_234834 vcs: git afffb48
    猜你喜欢
    • 2012-06-26
    • 2012-10-15
    • 1970-01-01
    • 2011-10-14
    • 2014-12-19
    • 2011-11-17
    • 2015-01-26
    • 2016-08-05
    • 2023-04-08
    相关资源
    最近更新 更多