summaryrefslogblamecommitdiffstats
path: root/_build/static/archives/extend/2013-September/000252.html
blob: 68aa9a1aaf92ff4bf388ec48f13596d03e78ac51 (plain) (tree)



























































































































































































                                                                                                                                                                                                                                                                            
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
 <HEAD>
   <TITLE> [99s-extend] Cowboy helloworld make fails with	missing_beam_file (hipe)
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20helloworld%20make%20fails%20with%0A%09missing_beam_file%20%28hipe%29&In-Reply-To=%3CCAAcKVn%3DwMD6crYFEHXB%3DBcO8HhOJHK5Rhk7LAAzJVBNDU1%2BtYw%40mail.gmail.com%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <style type="text/css">
       pre {
           white-space: pre-wrap;       /* css-2.1, curent FF, Opera, Safari */
           }
   </style>
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="000251.html">
   <LINK REL="Next"  HREF="000253.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[99s-extend] Cowboy helloworld make fails with	missing_beam_file (hipe)</H1>
    <B>Matthew Hegarty</B> 
    <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20helloworld%20make%20fails%20with%0A%09missing_beam_file%20%28hipe%29&In-Reply-To=%3CCAAcKVn%3DwMD6crYFEHXB%3DBcO8HhOJHK5Rhk7LAAzJVBNDU1%2BtYw%40mail.gmail.com%3E"
       TITLE="[99s-extend] Cowboy helloworld make fails with	missing_beam_file (hipe)">mrhegarty at gmail.com
       </A><BR>
    <I>Thu Sep 26 22:36:03 CEST 2013</I>
    <P><UL>
        <LI>Previous message: <A HREF="000251.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe)
</A></li>
        <LI>Next message: <A HREF="000253.html">[99s-extend] Cowboy helloworld make fails with	missing_beam_file (hipe)
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#252">[ date ]</a>
              <a href="thread.html#252">[ thread ]</a>
              <a href="subject.html#252">[ subject ]</a>
              <a href="author.html#252">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>yes it exists.  I believe hipe is enabled by default when I compile.

however there is no

 /usr/local/lib/erlang/lib/hipe-3.10/ebin/hipe.beam
 /usr/local/lib/erlang/lib/hipe-3.10.1/ebin/hipe.beam

which is what relx is apparently looking for.
Do you know where does relx get these paths from?


On 26 September 2013 20:04, Tristan Sloughter
&lt;<A HREF="https://lists.ninenines.eu/listinfo/extend">tristan.sloughter at gmail.com</A>&gt;wrote:

&gt;<i> **
</I>&gt;<i> Did you enable hipe when you compiled? Does
</I>&gt;<i> /usr/local/lib/erlang/lib/hipe-3.10.2.1/ebin/hipe.beam exist?
</I>&gt;<i>
</I>&gt;<i> --
</I>&gt;<i>  Tristan Sloughter
</I>&gt;<i>  <A HREF="https://lists.ninenines.eu/listinfo/extend">tristan.sloughter at gmail.com</A>
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i> On Thu, Sep 26, 2013, at 12:03 PM, Matthew Hegarty wrote:
</I>&gt;<i>
</I>&gt;<i> hi
</I>&gt;<i> I compiled Erlang from source (downloaded from erlang.org)
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i> On 25 September 2013 17:25, Tristan Sloughter &lt;<A HREF="https://lists.ninenines.eu/listinfo/extend">tristan.sloughter at gmail.com</A>
</I>&gt;<i> &gt; wrote:
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i> I ran into the same thing. I assume you installed Erlang from the Erlang
</I>&gt;<i>  Solutions repo?
</I>&gt;<i>
</I>&gt;<i>  Install erlang-hipe package. Or remove
</I>&gt;<i>  /usr/local/lib/erlang/lib/hipe-3.10.2.1 entirely.
</I>&gt;<i>
</I>&gt;<i>  Their packages install a broken hipe app, missing lots of beams, for
</I>&gt;<i>  some reason. But if you install the hipe package it'll install what is
</I>&gt;<i>  missing. I told them about this but I haven't heard back.
</I>&gt;<i>
</I>&gt;<i>  --
</I>&gt;<i>    Tristan Sloughter
</I>&gt;<i>    <A HREF="https://lists.ninenines.eu/listinfo/extend">tsloughter at fastmail.fm</A>
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i>  On Wed, Sep 25, 2013, at 08:09 AM, Lo&#239;c Hoguin wrote:
</I>&gt;<i>  &gt; Why does it look for hipe at all to begin with?
</I>&gt;<i>  &gt;
</I>&gt;<i>  &gt; I'll ping tristan about it.
</I>&gt;<i>  &gt;
</I>&gt;<i>  &gt; On 09/22/2013 10:59 PM, Matthew Hegarty wrote:
</I>&gt;<i>  &gt; &gt; hi
</I>&gt;<i>  &gt; &gt; Just starting out so I'm trying to run cowboy's helloworld
</I>&gt;<i>  &gt; &gt; in cowboy/examples/hello_world, running make fails with:
</I>&gt;<i>  &gt; &gt;
</I>&gt;<i>  &gt; &gt; ===&gt; Provider (rlx_prv_discover) failed with: {error,
</I>&gt;<i>  &gt; &gt;
</I>&gt;<i>  {rlx_app_discovery,
</I>&gt;<i>  &gt; &gt;
</I>&gt;<i> [{missing_beam_file,
</I>&gt;<i>  &gt; &gt;                                                           hipe,
</I>&gt;<i>  &gt; &gt;
</I>&gt;<i>  &gt; &gt; &lt;&lt;&quot;/usr/local/lib/erlang/lib/hipe-3.10/ebin/hipe.beam&quot;&gt;&gt;},
</I>&gt;<i>  &gt; &gt;
</I>&gt;<i>  {missing_beam_file,
</I>&gt;<i>  &gt; &gt;                                                           hipe,
</I>&gt;<i>  &gt; &gt;
</I>&gt;<i>  &gt; &gt; &lt;&lt;&quot;/usr/local/lib/erlang/lib/hipe-3.10.1/ebin/hipe.beam&quot;&gt;&gt;}]}}
</I>&gt;<i>  &gt; &gt;
</I>&gt;<i>  &gt; &gt; there is no hipe.beam in /usr/local/lib/erlang/lib/hipe-3.10.1/ebin/,
</I>&gt;<i> it
</I>&gt;<i>  &gt; &gt; is in /usr/local/lib/erlang/lib/hipe-3.10.2.1/ebin/hipe.beam.
</I>&gt;<i>  &gt; &gt; I've tried passing the correct dir to relx using --lib-dir but I still
</I>&gt;<i>  &gt; &gt; get the same error.
</I>&gt;<i>  &gt; &gt;
</I>&gt;<i>  &gt; &gt; Any ideas what's going wrong?
</I>&gt;<i>  &gt; &gt;
</I>&gt;<i>  &gt; &gt; erl: Erlang R16B02 (erts-5.10.3)
</I>&gt;<i>  &gt; &gt; relx: 0.0.0+build.275.refca03701
</I>&gt;<i>  &gt; &gt; rebar: rebar 2.1.0-pre R16B02 20130922_191744 git
</I>&gt;<i> 2.1.0-pre-46-g78fa8fc
</I>&gt;<i>  &gt; &gt;
</I>&gt;<i>  &gt; &gt;
</I>&gt;<i>  &gt; &gt; On 22 September 2013 21:55, Matthew Hegarty &lt;<A HREF="https://lists.ninenines.eu/listinfo/extend">mrhegarty at gmail.com</A>
</I>&gt;<i>  &gt; &gt; &lt;mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">mrhegarty at gmail.com</A>&gt;&gt; wrote:
</I>&gt;<i>  &gt; &gt;
</I>&gt;<i>  &gt; &gt;     hi
</I>&gt;<i>  &gt; &gt;     Just starting out so I've got latest versions of apps.
</I>&gt;<i>  &gt; &gt;     in cowboy/examples/hello_world, running make fails with:
</I>&gt;<i>  &gt; &gt;
</I>&gt;<i>  &gt; &gt;
</I>&gt;<i>  &gt; &gt;
</I>&gt;<i>  &gt; &gt;
</I>&gt;<i>  &gt; &gt;
</I>&gt;<i>  &gt; &gt;
</I>&gt;<i>  &gt; &gt; _______________________________________________
</I>&gt;<i>  &gt; &gt; Extend mailing list
</I>&gt;<i>  &gt; &gt; <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A>
</I>&gt;<i>  &gt; &gt; <A HREF="http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/listinfo/extend</A>
</I>&gt;<i>  &gt; &gt;
</I>&gt;<i>  &gt;
</I>&gt;<i>  &gt;
</I>&gt;<i>  &gt; --
</I>&gt;<i>  &gt; Lo&#239;c Hoguin
</I>&gt;<i>
</I>&gt;<i> &gt; Erlang Cowboy
</I>&gt;<i>  &gt; Nine Nines
</I>&gt;<i>  &gt; <A HREF="http://ninenines.eu">http://ninenines.eu</A>
</I>&gt;<i> &gt; _______________________________________________
</I>&gt;<i>  &gt; Extend mailing list
</I>&gt;<i>  &gt; <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A>
</I>&gt;<i>  &gt; <A HREF="http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/listinfo/extend</A>
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i>  --
</I>&gt;<i>    Tristan Sloughter
</I>&gt;<i>    <A HREF="https://lists.ninenines.eu/listinfo/extend">tristan.sloughter at gmail.com</A>
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i>
</I>-------------- next part --------------
An HTML attachment was scrubbed...
URL: &lt;<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20130926/3a77fe04/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20130926/3a77fe04/attachment.html</A>&gt;
</PRE>

<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="000251.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe)
</A></li>
	<LI>Next message: <A HREF="000253.html">[99s-extend] Cowboy helloworld make fails with	missing_beam_file (hipe)
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#252">[ date ]</a>
              <a href="thread.html#252">[ thread ]</a>
              <a href="subject.html#252">[ subject ]</a>
              <a href="author.html#252">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend
mailing list</a><br>
</body></html>