我正在把我用Chicagoboss开发的web应用程序从我的mac移植到ubuntu上。但是当我在ubuntu上运行make时,我得到了以下错误:
错误:处理/home/myname/myapp_priv时编译失败:{'EXIT',{undef,[{lager,start,[],[]},{boss_rebar,compile,4,{file,"../ChicagoBoss-0.8.12/priv/rebar/boss_rebar.erl"},{行,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,[]}生成:*所有错误1
我是不是遗漏了什么?提前感谢所有人。
发布于 2014-10-15 07:20:47
此错误表示编译时不存在较大的解析转换。Lager没有直接定义像lager:info或lager:error这样的函数。在编译期间,它会更改这些调用,添加行号和其他有用的东西。
你的问题通常可以通过在./deps/boss/rebar.config中将lager移到任何其他依赖项之前或者在./rebar.config中将其作为依赖项直接添加到您的应用程序中来解决。
https://stackoverflow.com/questions/26367420
复制相似问题