【问题标题】:Chicagoboss make error for lagerChicagoboss 为啤酒犯错误
【发布时间】:2014-12-09 15:17:30
【问题描述】:

我正在将我在 Chicagoboss 中开发的 Web 应用程序从我的 mac 移植到 ubuntu。但是当我在 ubuntu 上运行 make 时出现以下错误:

错误:处理 /home/myname/myapp_priv 时预编译失败:{'EXIT',{undef,[{lager,start,[],[]}, {boss_rebar,编译,4, [{file,"../ChicagoBoss-0.8.12/priv/rebar/boss_rebar.erl"}, {line,97}]}, {boss_plugin,pre_compile,2, [{file,"priv/rebar/boss_plugin.erl"},{line,105}]}, {rebar_core,run_modules,4,[]}, {rebar_core,execute,5,[]}, {rebar_core,process_dir1,6,[]}, {rebar_core,process_commands,2,[]}, {rebar,main,1,[]}]}} make: *** [all] 错误 1

我错过了什么吗?提前谢谢大家。

【问题讨论】:

    标签: chicagoboss lager


    【解决方案1】:

    此错误表明,在编译时不存在较大的解析转换。 Lager 没有直接定义像lager:infolager:error 这样的函数。在编译期间,它会更改那些调用,添加行号和其他有用的东西。

    您的问题通常可以通过在 ./deps/boss/rebar.config 中的任何其他依赖项之前移动 lager 或将其作为依赖项直接添加到 ./rebar.config 中的应用程序来解决。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-08-03
      • 2016-10-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-10-12
      相关资源
      最近更新 更多