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

jm <>
Fri May 18 02:56:26 CEST 2007


Caoyuan wrote:
> Edit Emakefile which is under the root folder of erlyweb. There is a
> line including:
> {i,"/usr/local/src/yaws/include"}
> change it to your yaws/include path.
> 

Ah, I was looking for an environment variable. That gets me a little
closer. I now get

Recompile: src/erlyweb/erlyweb_util
src/erlyweb/erlyweb_util.erl:87: function iolist_to_binary/1 undefined
src/erlyweb/erlyweb_util.erl:97: function iolist_to_binary/1 undefined
src/erlyweb/erlyweb_util.erl:121: function iolist_to_binary/1 undefined
src/erlyweb/erlyweb_util.erl:139: function iolist_to_binary/1 undefined
src/erlyweb/erlyweb_util.erl:156: function iolist_to_binary/1 undefined
{"init terminating in
do_boot",{undef,[{erltl,compile,["src/erlyweb/erlyweb_view.et",[{outdir,"ebin"},debug_info,show_errors,show_warnings]]},{filelib,fold_files2,6},{filelib,fold_files2,6},{erl_eval,do_apply,5},{init,start_it,1},{init,start_em,1}]}}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
make: *** [all] Error 1


Appears as if iolist_to_binary/1 should be in kernel/erlang.erl. I tried
the example from the doco on getapi.com and it fails it. Appears I have
kernel-2.10.9 and to doco refers to 2.11.4. mmm, time for an upgrade.

The recompile of R11B-4 took a long time but it seems to have fixed the
problem.

Thanks.

Jeff.



More information about the erlang-questions mailing list