summaryrefslogtreecommitdiffstats
path: root/_build/static/archives/extend/2014-March/000353.html
diff options
context:
space:
mode:
Diffstat (limited to '_build/static/archives/extend/2014-March/000353.html')
-rw-r--r--_build/static/archives/extend/2014-March/000353.html159
1 files changed, 159 insertions, 0 deletions
diff --git a/_build/static/archives/extend/2014-March/000353.html b/_build/static/archives/extend/2014-March/000353.html
new file mode 100644
index 00000000..da6966ee
--- /dev/null
+++ b/_build/static/archives/extend/2014-March/000353.html
@@ -0,0 +1,159 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [99s-extend] Getting started error: behaviour cowboy_http_handler undefined
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Getting%20started%20error%3A%20behaviour%0A%20cowboy_http_handler%20undefined&In-Reply-To=%3C5320E64C.7010000%40ninenines.eu%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="000352.html">
+ <LINK REL="Next" HREF="000354.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[99s-extend] Getting started error: behaviour cowboy_http_handler undefined</H1>
+ <B>Lo&#239;c Hoguin</B>
+ <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Getting%20started%20error%3A%20behaviour%0A%20cowboy_http_handler%20undefined&In-Reply-To=%3C5320E64C.7010000%40ninenines.eu%3E"
+ TITLE="[99s-extend] Getting started error: behaviour cowboy_http_handler undefined">essen at ninenines.eu
+ </A><BR>
+ <I>Wed Mar 12 23:57:16 CET 2014</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000352.html">[99s-extend] Getting started error: behaviour cowboy_http_handler undefined
+</A></li>
+ <LI>Next message: <A HREF="000354.html">[99s-extend] Getting started error: behaviour cowboy_http_handler undefined
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#353">[ date ]</a>
+ <a href="thread.html#353">[ thread ]</a>
+ <a href="subject.html#353">[ subject ]</a>
+ <a href="author.html#353">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Can you try again after running &quot;unset ERL_LIBS&quot;?
+
+On 03/12/2014 11:51 PM, <A HREF="https://lists.ninenines.eu/listinfo/extend">lloyd at writersglen.com</A> wrote:
+&gt;<i> Hi Lo&#239;c,
+</I>&gt;<i>
+</I>&gt;<i> Thanks for help.
+</I>&gt;<i>
+</I>&gt;<i> I'm running cowboy master from GitHub and Erlang R16B02.
+</I>&gt;<i>
+</I>&gt;<i> $ echo $ERL_LIBS
+</I>&gt;<i>
+</I>&gt;<i> ...gives me a directory that no longer exists; don't know how it got there, what it should be, or how to change it.
+</I>&gt;<i>
+</I>&gt;<i> E.g.: /home/lloyd/Programming/Erlang/zippity/apps
+</I>&gt;<i>
+</I>&gt;<i> I've looked in .erlang and tried $ export ERL_LIBS=&lt;my path to hello_erlang/ebin&gt;.
+</I>&gt;<i>
+</I>&gt;<i> Thanks again,
+</I>&gt;<i>
+</I>&gt;<i> LRP
+</I>&gt;<i>
+</I>&gt;<i> -----Original Message-----
+</I>&gt;<i> From: &quot;Lo&#239;c Hoguin&quot; &lt;<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>&gt;
+</I>&gt;<i> Sent: Monday, March 10, 2014 4:36pm
+</I>&gt;<i> To: <A HREF="https://lists.ninenines.eu/listinfo/extend">lloyd at writersglen.com</A>, <A HREF="https://lists.ninenines.eu/listinfo/extend">extend at lists.ninenines.eu</A>
+</I>&gt;<i> Subject: Re: [99s-extend] Getting started error: behaviour cowboy_http_handler undefined
+</I>&gt;<i>
+</I>&gt;<i> Try updating Erlang or Cowboy, this isn't the first time this happens
+</I>&gt;<i> and I fixed something at some point.
+</I>&gt;<i>
+</I>&gt;<i> Also see if you have ERL_LIBS already defined, in which case there might
+</I>&gt;<i> be a bug in Cowboy.
+</I>&gt;<i>
+</I>&gt;<i> On 03/10/2014 08:44 PM, <A HREF="https://lists.ninenines.eu/listinfo/extend">lloyd at writersglen.com</A> wrote:
+</I>&gt;&gt;<i> Hello,
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> I've slavishly emulated the &quot;Getting started&quot; example in the guide:
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> <A HREF="http://ninenines.eu/docs/en/cowboy/HEAD/guide/getting_started/">http://ninenines.eu/docs/en/cowboy/HEAD/guide/getting_started/</A>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> But, when I compile I get this error:
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> yada yada
+</I>&gt;&gt;<i> ERLC hello_erlang_app.erl hello_handler.erl hello_erlang_sup.erl
+</I>&gt;&gt;<i> compile: warnings being treated as errors
+</I>&gt;&gt;<i> src/hello_handler.erl:2: behaviour cowboy_http_handler undefined
+</I>&gt;&gt;<i> make: *** [ebin/hello_erlang.app] Error 1
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Cowboy seems to be correctly loaded and compiled as a dependency. I can see .../cowboy/ebin/cowboy_http_handler.beam
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> However, when I remove the line -behavior(cowboy_http_handler) from hello_handler.erl, system compiles and creates release just fine.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> % -behavior(cowboy_http_handler).
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Could this be a bug in Getting started or some dunder-headed thing on my end?
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Thanks,
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> LRP
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> *********************************************
+</I>&gt;&gt;<i> My books:
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> THE GOSPEL OF ASHES
+</I>&gt;&gt;<i> <A HREF="http://thegospelofashes.com">http://thegospelofashes.com</A>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Strength is not enough. Do they have the courage
+</I>&gt;&gt;<i> and the cunning? Can they survive long enough to
+</I>&gt;&gt;<i> save the lives of millions?
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> FREEIN' PANCHO
+</I>&gt;&gt;<i> <A HREF="http://freeinpancho.com">http://freeinpancho.com</A>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> A community of misfits help a troubled boy find his way
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> AYA TAKEO
+</I>&gt;&gt;<i> <A HREF="http://ayatakeo.com">http://ayatakeo.com</A>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Star-crossed love, war and power in an alternative
+</I>&gt;&gt;<i> universe
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Available through Amazon or by request from your
+</I>&gt;&gt;<i> favorite bookstore
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> **********************************************
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> _______________________________________________
+</I>&gt;&gt;<i> Extend mailing list
+</I>&gt;&gt;<i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A>
+</I>&gt;&gt;<i> <A HREF="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A>
+</I>&gt;&gt;<i>
+</I>&gt;<i>
+</I>
+--
+Lo&#239;c Hoguin
+<A HREF="http://ninenines.eu">http://ninenines.eu</A>
+
+</PRE>
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000352.html">[99s-extend] Getting started error: behaviour cowboy_http_handler undefined
+</A></li>
+ <LI>Next message: <A HREF="000354.html">[99s-extend] Getting started error: behaviour cowboy_http_handler undefined
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#353">[ date ]</a>
+ <a href="thread.html#353">[ thread ]</a>
+ <a href="subject.html#353">[ subject ]</a>
+ <a href="author.html#353">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend
+mailing list</a><br>
+</body></html>