【问题标题】:Rebar include ext libs error钢筋包括 ext 库错误
【发布时间】:2011-10-14 18:51:03
【问题描述】:

钢筋配置:

{deps, [
  {ibrowse, ".*",
   {git, "git://github.com/cmullaparthi/ibrowse.git", "master"}}
]}.

制作时:

Uncaught error in rebar_core: {'EXIT',
                              {badarg,
                                  [{re,run,[git,[],[{capture,none}]]},
                                   {rebar_deps,is_app_available,3},
                                   {rebar_deps,find_deps,3},
                                   {rebar_deps,preprocess,2},
                                   {rebar_core,acc_modules,5},
                                   {rebar_core,process_dir,4},
                                   {rebar_core,process_commands,1},
                                   {rebar,main,1}]}}

make: * [all] 错误 1

为什么?

【问题讨论】:

    标签: erlang rebar


    【解决方案1】:

    您的配置文件对我有用,所以我建议您执行以下操作:

    1. 确保已安装 git
    2. 将最新版本的rebar 放入您的项目目录中
    3. 使用像我描述的那样的 Makefile here
    4. 删除现有的 deps 目录
    5. 运行make

    如果你想直接使用 rebar 而不是 make 你可以这样做:

    $ ./rebar get-deps
    $ ./rebar compile
    

    【讨论】:

      【解决方案2】:

      我昨天遇到了同样的错误,这是因为我使用的是旧版本的钢筋,或者可能是因为我使用的是在不同系统上编译的钢筋版本。尝试使用最新版本的 erlang 和 rebar 重新编译 rebar。

      【讨论】:

        猜你喜欢
        • 2012-06-26
        • 2012-10-15
        • 2012-04-28
        • 2014-12-19
        • 2011-07-27
        • 2016-08-05
        • 2017-03-17
        • 2016-08-28
        • 2013-09-16
        相关资源
        最近更新 更多