<html><head></head><body bgcolor="#FFFFFF"><div>Is it '{lib_dirs, ["deps"]}.' in rebar.config or something similar passed to erl_opts? The issue is that the compiler needs to know where code:lib_dir(lager) resides iirc.<br><br><br></div><div><br>On 1 May 2012, at 19:12, Marc Worrell <<a href="mailto:marc@worrell.nl">marc@worrell.nl</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>Hi,<div><br></div><div>I am trying to setup some continuous integration with <a href="http://Travis-CI.org">Travis-CI.org</a> for Zotonic.</div><div><br></div><div>I am running into this error:</div><div><br></div><div><a href="http://travis-ci.org/#!/zotonic/zotonic/jobs/1220673">http://travis-ci.org/#!/zotonic/zotonic/jobs/1220673</a></div><div><span class="Apple-style-span" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 19px; white-space: nowrap; "><pre class="log" style="background-image: none; background-attachment: scroll; background-origin: initial; background-clip: initial; background-color: rgb(51, 51, 51); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; font-family: monospace; font-size: 12px; line-height: 16px; margin-top: 25px; overflow-x: scroll; padding-top: 15px; padding-right: 0px; padding-bottom: 15px; padding-left: 0px; clear: left; white-space: pre-wrap; word-wrap: break-word; color: white; background-position: 0px 0px; background-repeat: repeat repeat; "><div style="position: relative; padding-top: 0px; padding-right: 15px; padding-bottom: 0px; padding-left: 50px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 16px; ">erlc -o src/erlydtl src/erlydtl/erlydtl_parser.yrl</div><div style="position: relative; padding-top: 0px; padding-right: 15px; padding-bottom: 0px; padding-left: 50px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 16px; "><a href="http://travis-ci.org/#!/zotonic/zotonic/jobs/1220673/L202" id="!/zotonic/zotonic/jobs/1220673/L202" name="L202" style="color: rgb(102, 102, 102); text-decoration: underline; position: absolute; margin-left: -40px; cursor: pointer; ">202</a>Recompile: src/zotonic_sup</div><div style="position: relative; padding-top: 0px; padding-right: 15px; padding-bottom: 0px; padding-left: 50px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 16px; "><a href="http://travis-ci.org/#!/zotonic/zotonic/jobs/1220673/L203" id="!/zotonic/zotonic/jobs/1220673/L203" name="L203" style="color: rgb(102, 102, 102); text-decoration: underline; position: absolute; margin-left: -40px; cursor: pointer; ">203</a>src/zotonic_sup.erl:none: error in parse transform 'lager_transform': {undef,</div><div style="position: relative; padding-top: 0px; padding-right: 15px; padding-bottom: 0px; padding-left: 50px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 16px; "><a href="http://travis-ci.org/#!/zotonic/zotonic/jobs/1220673/L204" id="!/zotonic/zotonic/jobs/1220673/L204" name="L204" style="color: rgb(102, 102, 102); text-decoration: underline; position: absolute; margin-left: -40px; cursor: pointer; ">204</a> [{lager_transform,</div></pre></span><div>With the following travis definition:</div></div><div><br></div><div><div><font class="Apple-style-span" face="'Courier New'">language: erlang</font></div><div><font class="Apple-style-span" face="'Courier New'">otp_release:</font></div><div><font class="Apple-style-span" face="'Courier New'"> - R15B01</font></div><div><font class="Apple-style-span" face="'Courier New'"> - R14B04</font></div><div><font class="Apple-style-span" face="'Courier New'"> - R14B03</font></div><div><font class="Apple-style-span" face="'Courier New'">script: make</font></div><div><font class="Apple-style-span" face="'Courier New'">before_install: git submodule update --init --recursive</font></div><div><font class="Apple-style-span" face="'Courier New'">env:</font></div><div><font class="Apple-style-span" face="'Courier New'"> - DB=postgres</font></div><div><font class="Apple-style-span" face="'Courier New'">branches:</font></div><div><font class="Apple-style-span" face="'Courier New'"> only:</font></div><div><font class="Apple-style-span" face="'Courier New'"> - master</font></div></div><div><br></div><div>Does anyone have any idea how to set the correct paths so that the compiler can find the lager_transform in deps/lager?</div><div><br></div><div>- Marc</div><div><br></div></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>erlang-questions mailing list</span><br><span><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a></span><br><span><a href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a></span><br></div></blockquote></body></html>