<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body><div>Yea, since I doubt the OTP team (or anyone) will fix the fact that it installs a broken hipe we've decided to just warn on broken apps during the discovery phase. So it'll only fail if the broken app is also suppose to be part of the release.<br></div>
<div> </div>
<div>Finishing up the relx patch right now.<br></div>
<div> </div>
<div id="sig19305637"><div class="signature">-- <br></div>
<div class="signature"> Tristan Sloughter<br></div>
<div class="signature"> tristan.sloughter@gmail.com<br></div>
<div class="signature"> </div>
</div>
<div> </div>
<div> </div>
<div>On Sat, Sep 28, 2013, at 01:41 PM, Matthew Hegarty wrote:<br></div>
<blockquote type="cite"><div dir="ltr"><div><div><div>Got it to work. I apparently had a few versions of hipe in my Erlang lib dir:<br></div>
<div> </div>
<div>$ /usr/local/lib/erlang/lib $ ll -ld hipe*<br></div>
<div>drwxr-xr-x 9 root root 4096 Feb 11 2013 hipe-3.10/<br></div>
<div>drwxr-xr-x 9 root root 4096 Mar 1 2013 hipe-3.10.1/<br></div>
<div>
drwxr-xr-x 10 root root 4096 Jul 2 11:31 hipe-3.10.2/<br></div>
<div>drwxr-xr-x 10 root root 4096 Sep 21 17:36 hipe-3.10.2.1/<br></div>
<div> </div>
<div>They must have come from previous erlang installations (compilation from source). The solution was to remove the older versions and leave only the latest one. Maybe relx should be able to handle this?<br></div>
<div> </div>
</div>
<div>thanks for the responses<br></div>
</div>
<div> </div>
<div>Matt<br></div>
</div>
<div><div> </div>
<div> </div>
<div><div>On 26 September 2013 21:36, Matthew Hegarty <span dir="ltr"><<a href="mailto:mrhegarty@gmail.com" target="_blank">mrhegarty@gmail.com</a>></span> wrote:<br></div>
<div> </div>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>yes it exists. I believe hipe is enabled by default when I compile.<br></div>
<div> </div>
</div>
<div>
however there is no<br></div>
<div> </div>
<div> /usr/local/lib/erlang/lib/hipe-3.10/ebin/hipe.beam<br></div>
<div> /usr/local/lib/erlang/lib/hipe-3.10.1/ebin/hipe.beam<br></div>
<div> </div>
</div>
<div>which is what relx is apparently looking for.<br></div>
</div>
<div>Do you know where does relx get these paths from?<br></div>
</div>
<div><div><div><div> </div>
<div> </div>
<div><div>On 26 September 2013 20:04, Tristan Sloughter <span dir="ltr"><<a href="mailto:tristan.sloughter@gmail.com" target="_blank">tristan.sloughter@gmail.com</a>></span> wrote:<br></div>
<div> </div>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div><div>Did you enable hipe when you compiled? Does /usr/local/lib/erlang/lib/hipe-3.10.2.1/ebin/hipe.beam exist?<span><span style="color:rgb(136, 136, 136)" class="colour"></span></span><br></div>
<span><span style="color:rgb(136, 136, 136)" class="colour"><div> </div>
<div><div>-- <br></div>
<div> Tristan Sloughter<br></div>
<div> <a href="mailto:tristan.sloughter@gmail.com" target="_blank">tristan.sloughter@gmail.com</a><br></div>
<div> </div>
</div>
</span></span><div><div><div> </div>
<div> </div>
<div>On Thu, Sep 26, 2013, at 12:03 PM, Matthew Hegarty wrote:<br></div>
<blockquote type="cite"><div dir="ltr">hi<br></div>
<div dir="ltr">I compiled Erlang from source (downloaded from <a href="http://erlang.org" target="_blank">erlang.org</a>)<br></div>
<div><div> </div>
<div> </div>
<div><div>On 25 September 2013 17:25, Tristan Sloughter <span dir="ltr"><<a href="mailto:tristan.sloughter@gmail.com" target="_blank">tristan.sloughter@gmail.com</a>></span> wrote:<br></div>
<div> </div>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>I ran into the same thing. I assume you installed Erlang from the Erlang<br></div>
<div>
Solutions repo?<br></div>
<div> </div>
<div>
Install erlang-hipe package. Or remove<br></div>
<div>
/usr/local/lib/erlang/lib/hipe-3.10.2.1 entirely.<br></div>
<div> </div>
<div>
Their packages install a broken hipe app, missing lots of beams, for<br></div>
<div>
some reason. But if you install the hipe package it'll install what is<br></div>
<div>
missing. I told them about this but I haven't heard back.<br></div>
<div> </div>
<div>
--<br></div>
<div>
Tristan Sloughter<br></div>
<div>
<a href="mailto:tsloughter@fastmail.fm" target="_blank">tsloughter@fastmail.fm</a><br></div>
<div> </div>
<div><div> </div>
<div>
On Wed, Sep 25, 2013, at 08:09 AM, Loïc Hoguin wrote:<br></div>
<div>
> Why does it look for hipe at all to begin with?<br></div>
<div>
><br></div>
<div>
> I'll ping tristan about it.<br></div>
<div>
><br></div>
<div>
> On 09/22/2013 10:59 PM, Matthew Hegarty wrote:<br></div>
<div>
> > hi<br></div>
<div>
> > Just starting out so I'm trying to run cowboy's helloworld<br></div>
<div>
> > in cowboy/examples/hello_world, running make fails with:<br></div>
<div>
> ><br></div>
<div>
> > ===> Provider (rlx_prv_discover) failed with: {error,<br></div>
<div>
> > {rlx_app_discovery,<br></div>
<div>
> > [{missing_beam_file,<br></div>
<div>
> > hipe,<br></div>
<div>
> ><br></div>
<div>
> > <<"/usr/local/lib/erlang/lib/hipe-3.10/ebin/hipe.beam">>},<br></div>
<div>
> > {missing_beam_file,<br></div>
<div>
> > hipe,<br></div>
<div>
> ><br></div>
<div>
> > <<"/usr/local/lib/erlang/lib/hipe-3.10.1/ebin/hipe.beam">>}]}}<br></div>
<div>
> ><br></div>
<div>
> > there is no hipe.beam in /usr/local/lib/erlang/lib/hipe-3.10.1/ebin/, it<br></div>
<div>
> > is in /usr/local/lib/erlang/lib/hipe-3.10.2.1/ebin/hipe.beam.<br></div>
<div>
> > I've tried passing the correct dir to relx using --lib-dir but I still<br></div>
<div>
> > get the same error.<br></div>
<div>
> ><br></div>
<div>
> > Any ideas what's going wrong?<br></div>
<div>
> ><br></div>
<div>
> > erl: Erlang R16B02 (erts-5.10.3)<br></div>
<div>
> > relx: 0.0.0+build.275.refca03701<br></div>
<div>
> > rebar: rebar 2.1.0-pre R16B02 20130922_191744 git 2.1.0-pre-46-g78fa8fc<br></div>
<div>
> ><br></div>
<div>
> ><br></div>
<div>
> > On 22 September 2013 21:55, Matthew Hegarty <<a href="mailto:mrhegarty@gmail.com" target="_blank">mrhegarty@gmail.com</a><br></div>
<div>
> > <mailto:<a href="mailto:mrhegarty@gmail.com" target="_blank">mrhegarty@gmail.com</a>>> wrote:<br></div>
<div>
> ><br></div>
<div>
> > hi<br></div>
<div>
> > Just starting out so I've got latest versions of apps.<br></div>
<div>
> > in cowboy/examples/hello_world, running make fails with:<br></div>
<div>
> ><br></div>
<div>
> ><br></div>
<div>
> ><br></div>
<div>
> ><br></div>
<div>
> ><br></div>
<div>
> ><br></div>
<div>
> > _______________________________________________<br></div>
<div>
> > Extend mailing list<br></div>
<div>
> > <a href="mailto:Extend@lists.ninenines.eu" target="_blank">Extend@lists.ninenines.eu</a><br></div>
<div>
> > <a href="http://lists.ninenines.eu:81/listinfo/extend" target="_blank">http://lists.ninenines.eu:81/listinfo/extend</a><br></div>
<div>
> ><br></div>
<div>
><br></div>
<div>
><br></div>
<div>
> --
<br></div>
</div>
<div>> Loïc Hoguin<br></div>
<div> </div>
<div>> Erlang Cowboy<br></div>
<div>
> Nine Nines<br></div>
<div>
> <a href="http://ninenines.eu" target="_blank">http://ninenines.eu</a>
<br></div>
<div><div>> _______________________________________________<br></div>
<div>
> Extend mailing list<br></div>
<div>
> <a href="mailto:Extend@lists.ninenines.eu" target="_blank">Extend@lists.ninenines.eu</a><br></div>
<div>
> <a href="http://lists.ninenines.eu:81/listinfo/extend" target="_blank">http://lists.ninenines.eu:81/listinfo/extend</a><br></div>
<div> </div>
<div> </div>
<div>
--
<br></div>
</div>
<div><span><span style="color:rgb(136, 136, 136)" class="colour"> Tristan Sloughter</span></span><br></div>
<div><span><span style="color:rgb(136, 136, 136)" class="colour">
<a href="mailto:tristan.sloughter@gmail.com" target="_blank">tristan.sloughter@gmail.com</a>
</span></span><br></div>
</blockquote></div>
<div> </div>
</div>
</blockquote></div>
</div>
</div>
</blockquote></div>
<div> </div>
</div>
</div>
</div>
</blockquote></div>
<div> </div>
</div>
</blockquote></body>
</html>