<html><head></head><body bgcolor="#FFFFFF"><div>Hello,</div><div><br></div><div>Try to avoid erlang compilation on production servers. You can use systools to make a self contained tarball with your application at dev node  .<br>
<br>Best Regards,<div>Dmitry >-|-|-*></div><div><br></div></div><div><br>On 12.4.2012, at 16.15, Mike Kimber <<a href="mailto:mkimber@kana.com">mkimber@kana.com</a>> wrote:<br><br></div><div><span></span></div>
<blockquote type="cite"><div>


<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>





<div class="Section1">

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">I’m trying to build Erlang R15B01 on Centos 5.8. I
have done this twice before as a root user on two other servers with out issue.
However on this production server I have to use sudo and when I run sudo make I
get the following error:</span></font></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">=== Entering application hipe</span></font></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">make[3]: Entering directory
`/home/kana/Downloads/otp_src_R15B01/lib/hipe/rtl'</span></font></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">(cd ../main && make hipe.hrl)</span></font></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">make[4]: Entering directory
`/home/kana/Downloads/otp_src_R15B01/lib/hipe/main'</span></font></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">sed -e "s;%VSN%;3.9.1;"
../../hipe/main/hipe.hrl.src > ../../hipe/main/hipe.hrl</span></font></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">make[4]: Leaving directory
`/home/kana/Downloads/otp_src_R15B01/lib/hipe/main'</span></font></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">erlc -W  +debug_info +inline -o../ebin hipe_rtl.erl</span></font></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">pthread/ethr_event.c:98: Fatal error in wait__(): Function
not implemented (38)</span></font></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">make[3]: *** [../ebin/hipe_rtl.beam] Aborted</span></font></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">make[3]: Leaving directory
`/home/kana/Downloads/otp_src_R15B01/lib/hipe/rtl'</span></font></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">make[2]: *** [opt] Error 2</span></font></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">make[2]: Leaving directory
`/home/kana/Downloads/otp_src_R15B01/lib/hipe'</span></font></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">make[1]: *** [opt] Error 2</span></font></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">make[1]: Leaving directory
`/home/kana/Downloads/otp_src_R15B01/lib'</span></font></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">make: *** [secondary_bootstrap_build] Error 2</span></font></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">Any one have any ideas of why I’m getting the above? I’ve
googled and the main work around’s seem to be trying different released of
Erlang, which as I have already proved it cane b installed on Centos 5.8 I’d
rather not have to go back and downgrade my other servers.</span></font></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">Thanks</span></font></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">Mike </span></font></p>

</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>