<html><head>
    <meta charset="UTF-8">
</head><body><div><div style="font-family: Calibri,sans-serif; font-size: 11pt;">@ Ranjan, <br><br> KERL_ENABLE_PROMPT=Y <br>. ~/kerl/17.1/activate<br>They are two separate commands not one command.<br>Run them one after the other .<br>After that run <br>which erl <br>That command will show you the path to your current activated erlang version . <br><br><br></div></div><div dir="ltr"><hr><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">From: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;"><a href="mailto:abhishek@blacklightsw.com">Abhishek Ranjan</a></span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Sent: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;">‎5/‎3/‎2017 9:46 AM</span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">To: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;"><a href="mailto:himars@gmail.com">Jack Tang</a>; <a href="mailto:erlang-questions@erlang.org">Erlang-Questions Questions</a></span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Subject: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;">Re: [erlang-questions] Erlang/OTP interpreter (erl) not found butrequired</span><br><br></div>home/ec2-user is my home directory or should I say the default directory when I make the ssh connection to server.<br>so i ran : KERL_ENABLE_PROMPT=y . ~/kerl/17.1/activate<br>command when I was in this home directory.<br>I think I missed a trick here as I am not familiar with linux and how to set path in linux and that's why maybe when I go to home/ec2-user/download/ejabberd.17.03/<br>and run ./configure command it is giving me this error.<br>what I understand is the line which you are saying that I missed is the same line as<br>KERL_ENABLE_PROMPT=y . ~/kerl/17.1/activate<br>but may be I gave a wrong path or ran it from wrong place (home/ec2-user).<br>I followed: https://yrsdi.github.io/programming/setup-erlang-with-kerl-mac-osx/<br>Can you gauge where I am going wrong exactly<br><br><blockquote type="cite">
On May 3, 2017 at 3:06 PM Jack Tang <himars@gmail.com> wrote:<br><br><div dir="ltr">You might miss to run `<span style='color: rgb(36, 41, 46); font-family: sfmono-regular,consolas,"liberation mono",menlo,courier,monospace; font-size: 13.6px; background-color: transparent;'>$ . /path/to/install/dir/activate</span>`. <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 3, 2017 at 5:22 PM, Abhishek Ranjan <span><<a href="mailto:abhishek@blacklightsw.com" target="_blank">abhishek@blacklightsw.com</a>></span> wrote:<br><blockquote class="gmail_quote"><u></u>

    
<div><p>I was installing ejabberd 17.03 through source code when I found that I needed to intall Erlang 17.1 for it. I installed erlang /otp 17.1 using kerl inside the /home/ec2-user/kerl/17.1 directory.</p><p>I then used  ./autogen.sh command which ran without any output</p><p>       then:  ./configure which gave this error</p><p>configure: error: Erlang/OTP interpreter (erl) not found but required  </p><p>Can anyone help?</p><p>Regards,</p><p>Abhishek</p></div>
 <br>______________________________<wbr>_________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/<wbr>listinfo/erlang-questions</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Jack Tang<br><br><br><a href="http://www.linkedin.com/in/jacktang" target="_blank">http://www.linkedin.com/in/jacktang</a><br></div>
</div>
_______________________________________________<br>erlang-questions mailing list<br>erlang-questions@erlang.org<br>http://erlang.org/mailman/listinfo/erlang-questions<br></blockquote>
<br> 
 </body></html>