<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Excellent tip!<div><div><br></div><div>Thanks, Jesper.</div><div><br></div><div>Lloyd<br><br><div id="AppleMailSignature" dir="ltr">Sent from my iPad</div><div dir="ltr"><br>On Nov 26, 2018, at 10:17 AM, Jesper Louis Andersen <<a href="mailto:jesper.louis.andersen@gmail.com">jesper.louis.andersen@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">On Tue, Nov 20, 2018 at 11:37 PM <<a href="mailto:lloyd@writersglen.com">lloyd@writersglen.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font size="2" face="arial"><p style="margin:0;padding:0;font-family:arial;font-size:10pt">   <br></p></font><font size="2" face="arial">

<p style="margin:0;padding:0;font-family:arial;font-size:10pt">2. When I executed $ kerl build 21.1 I again ran into failure-- needed ncurses library. Took 15 minutes to find the right package name, but the solution was:</p>
<p style="margin:0;padding:0;font-family:arial;font-size:10pt"> </p>
<p style="margin:0;padding:0;font-family:arial;font-size:10pt">~$ sudo apt-get install libncurses-dev</p>
<p style="margin:0;padding:0;font-family:arial;font-size:10pt"> </p></font></blockquote></div><div class="gmail_quote"><br></div><div class="gmail_quote"><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">Some times, you can optimize this step:</div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">sudo apt-get build-dep erlang</div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">This will find the necessary build dependencies for the target package and install them. Many package managers have a command which does something to the same effect. This avoids the feedback loop of adding a missing build dependency only to see the build fail with a new missing package. And it also avoids having to figure out the name of the package in the first place. Erlang is a bit finicky because if it cannot find certain packages, it will still build, but without that support. The crypto package is dependent on an (Open)SSL library; often a culprit which leaves your Erlang installation in a limbo state in which no cryptographic code will run[0]</div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">[0] Your bitcoins will be fiiiine though :)<br></div><br></div></div>
</div></blockquote></div></div></body></html>