我正在尝试为我的 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