[erlang-questions] erlyweb install problems with yaws_headers.hrl

jm jeffm@REDACTED
Thu May 17 04:47:17 CEST 2007

In attempting to install erlyweb 0.6 by following the directions at


I get this error:

erlyweb:create_app("music", "apps").

=ERROR REPORT==== 17-May-2007::11:43:31 ===
beam/beam_load.c(1097): Error loading module erlyweb:
  use of opcode 125; this emulator supports only up to 115

** exited: {undef,[{erlyweb,create_app,["music","apps"]},
                   {shell,eval_loop,3}]} **
=ERROR REPORT==== 17-May-2007::11:43:31 ===
Loading of /Users/gg/ulocal/lib/erlang/lib/erlyweb-0.6/ebin/erlyweb.beam
failed: badfile

=ERROR REPORT==== 17-May-2007::11:43:31 ===
Error in process <0.36.0> with exit value:

In an attepmt ot fix this error I cd to the installed directory
.../erlyweb-0.6 and execute

$ make clean
rm ebin/*.beam
$ make
sh make.sh
Recompile: src/erlyweb/yaws_headers
src/erlyweb/yaws_headers.erl:31: can't find include file "yaws_api.hrl"
src/erlyweb/yaws_headers.erl:35: record headers undefined
src/erlyweb/yaws_headers.erl:38: record arg undefined
src/erlyweb/yaws_headers.erl:86: record headers undefined
Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
make: *** [all] Error 1

How do I tell make that the yaws_api.hrl is located in
~/ulocal/lib/yaws/include/ ?


More information about the erlang-questions mailing list