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