<div>Hello,</div><div><br></div><div>Now that I have successfully built a release of my app using rebar, I am stuck at </div><div>deploying the packaged release because the server I want to deploy to has different </div><div>
version of erlang and different architecture from my development machine. <div><br></div><div>Development Env</div><div>-------------------------</div><div>i686 i686 i386 GNU/Linux</div><div>Erlang R14B04</div><div>erts-5.8.5</div>
<div><br></div><div>Remote Server</div><div>----------------------</div><div>x86_64 GNU/Linux</div><div>Erlang R13B03</div><div>erts-5.7.4</div><div><br></div><div>I tried compiling on the server but it's failing with a series of errors such as </div>
<div><br></div><div><div>ERROR: Unable to generate spec: Mandatory application kernel is not included in [{app,crypto,false,undefined,</div><div> "/usr/lib/erlang/lib/crypto-1.6.3",</div>
<div> ["/usr/lib/erlang/lib/crypto-1.6.3"],</div><div> "1.6.3","crypto-1.6.3",</div></div><div>
.....</div><div><br></div><div>I have two questions:</div><div><br></div><div>1. Is this due to the old version of erlang? And considering that I have </div><div>ejabberd and rabbitmq-server running in production on the same server</div>
<div>can I upgrade erlang to R14B04 on it without having to take them down for much</div><div>time?</div><div><br></div><div>2. What is the recommended strategy for developing and deploying erlang code on </div><div>differently configured servers?</div>
<div><br></div><div>Thanks,</div><div>Vineet</div><br><br>
</div>