【问题标题】:rebar release is not starting with strange errors钢筋释放不是以奇怪的错误开始的
【发布时间】:2012-11-03 17:32:50
【问题描述】:

在 MacOS 下执行“rebar generate”时,运行良好。在 linux (gentoo) 下执行相同操作时,启动发布失败,出现与 asn1_db 相关的错误。这是否意味着主机系统上的 erlang 安装在某种意义上被破坏了?

Exec: /home/apis/smsapi/rel/smsapi/erts-5.9/bin/erlexec -boot /home/apis/smsapi/rel/smsapi/releases/1/smsapi -mode embedded -config /home/apis/smsapi/rel/smsapi/releases/1/sys.config -args_file /home/apis/smsapi/rel/smsapi/releases/1/vm.args -- console 
Root: /home/apis/smsapi/rel/smsapi
{"init terminating in do_boot",{'cannot load',asn1_db,get_file}}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()

【问题讨论】:

    标签: erlang release erlang-otp rebar


    【解决方案1】:

    Rebar 找不到asn1_db 模块,它是asn1 Erlang 应用程序的一部分。一些发行版为此应用程序有一个单独的包,名为erlang-asn1。也许 Gentoo 就是这种情况?

    您可以尝试将以下内容添加到您的reltool.config

    {app, asn1, [{incl_cond, exclude}]}
    

    这将从发布中排除应用程序。

    【讨论】:

      猜你喜欢
      • 2012-10-15
      • 2012-06-26
      • 1970-01-01
      • 2012-04-28
      • 1970-01-01
      • 2014-12-17
      • 2011-10-14
      • 2023-04-06
      • 2014-12-19
      相关资源
      最近更新 更多