<div dir="ltr"><div><span style="font-size:13px;font-family:Arial,Helvetica,sans-serif">Hello List,</span></div><span style="font-size:13px;font-family:Arial,Helvetica,sans-serif"><div><span style="font-size:13px;font-family:Arial,Helvetica,sans-serif"><br>
</span></div>I am attempting to build a valgrind-enabled erlang runtime per: </span><a href="http://www.erlang.org/doc/installation_guide/INSTALL.html#id72660" target="_blank" style="color:rgb(102,17,204);font-size:13px;margin:0px;padding:0px;border:0px;vertical-align:baseline;text-decoration:none;font-family:Arial,Helvetica,sans-serif">http://www.erlang.org/doc/installation_guide/INSTALL.html#id72660</a><div style="font-size:13px;margin:0px;padding:0px;border:0px;vertical-align:baseline;font-family:Arial,Helvetica,sans-serif">
<br></div><div style="font-size:13px;margin:0px;padding:0px;border:0px;vertical-align:baseline;font-family:Arial,Helvetica,sans-serif">My platform is an amazon linux machine image on ec2 on which I have already installed an erlang disribution from source.</div>
<div style="font-size:13px;margin:0px;padding:0px;border:0px;vertical-align:baseline;font-family:Arial,Helvetica,sans-serif"><br></div><div style="font-size:13px;margin:0px;padding:0px;border:0px;vertical-align:baseline;font-family:Arial,Helvetica,sans-serif">
<div style="margin:0px;padding:0px;border:0px;vertical-align:baseline">I entered the following at the command prompt:</div><div style="margin:0px;padding:0px;border:0px;vertical-align:baseline"><br></div><div style="margin:0px;padding:0px;border:0px;vertical-align:baseline">
<div style="margin:0px;padding:0px;border:0px;vertical-align:baseline">[ec2-user@ip-10-185-52-110 emulator]$ env ERL_TOP=/home/ec2-user/otp_src_R16B02 FLAVOR=smp make valgrind FLAVOR=$FLAVOR</div><div style="margin:0px;padding:0px;border:0px;vertical-align:baseline">
<br></div><div style="margin:0px;padding:0px;border:0px;vertical-align:baseline">The following was returned:</div><div style="margin:0px;padding:0px;border:0px;vertical-align:baseline"><br></div><div style="margin:0px;padding:0px;border:0px;vertical-align:baseline">
make -f x86_64-unknown-linux-gnu/Makefile TYPE=valgrind</div><div style="margin:0px;padding:0px;border:0px;vertical-align:baseline">can't open x86_64-unknown-linux-gnu/valgrind/plain/erl_compile_flags.h for writing at utils/make_compiler_flags line 65.</div>
<div style="margin:0px;padding:0px;border:0px;vertical-align:baseline">make[1]: Entering directory `/home/ec2-user/otp_src_R16B02/erts/emulator'</div><div style="margin:0px;padding:0px;border:0px;vertical-align:baseline">
if utils/gen_git_version x86_64-unknown-linux-gnu/<a href="http://gen_git_version.mk/" target="_blank" style="color:rgb(102,17,204);margin:0px;padding:0px;border:0px;vertical-align:baseline;text-decoration:none">gen_git_version.mk</a>; then touch beam/erl_bif_info.c; fi</div>
<div style="margin:0px;padding:0px;border:0px;vertical-align:baseline">*** valgrind emulator disabled by configure - omitted target all</div><div style="margin:0px;padding:0px;border:0px;vertical-align:baseline">make[1]: Leaving directory `/home/ec2-user/otp_src_R16B02/erts/emulator'</div>
<div style="margin:0px;padding:0px;border:0px;vertical-align:baseline"><br></div></div></div><div style="font-size:13px;margin:0px;padding:0px;border:0px;vertical-align:baseline;font-family:Arial,Helvetica,sans-serif"><br>
</div><div style="font-size:13px;margin:0px;padding:0px;border:0px;vertical-align:baseline;font-family:Arial,Helvetica,sans-serif">What have I done wrong here? Do I have to run "configure" with special arguments before building valgrind-enabled runtime?<br>
</div><div style="font-size:13px;margin:0px;padding:0px;border:0px;vertical-align:baseline;font-family:Arial,Helvetica,sans-serif"><br></div><div style="font-size:13px;margin:0px;padding:0px;border:0px;vertical-align:baseline;font-family:Arial,Helvetica,sans-serif">
Any help would be much appreciated!</div><div class="" style="font-family:arial,sans-serif;font-size:13px"><div id=":11s" class="" tabindex="0"><img class="" src="https://mail.google.com/mail/u/0/images/cleardot.gif"></div>
</div><span class="" style="font-family:arial,sans-serif;font-size:13px"><font color="#888888"><div style="margin:0px;padding:0px;border:0px;vertical-align:baseline;font-family:Arial,Helvetica,sans-serif">Kris</div></font></span></div>