0

我需要根据自己的需要调整 OTP,所以必须从本地文件夹构建它。运行后:

  1. ./otp_build autoconf
  2. ./configure
  3. make
  4. sudo make install

一切似乎都很好。但不幸的是,由于某种原因,我不能再编译任何文件了。例如

oleg@castle:~/Repos/erlang_book$ erlc chapter03.erl  

chapter03.erl: internal error in parse_module; crash reason: undef    
in function  epp:parse_file/2
called as epp:parse_file("chapter03.erl",  [{includes,[".","."]},{macros,[]},{default_encoding,utf8},extra])   
in call from compile:do_parse_module/2 (compile.erl, line 815)   
in call from compile:parse_module/1 (compile.erl, line 798)   
in call from compile:'-internal_comp/4-anonymous-1-'/2 (compile.erl, line 292)   
in call from compile:fold_comp/3 (compile.erl, line 310)   
in call from compile:internal_comp/4 (compile.erl, line 294)   
in call from compile:'-do_compile/2-anonymous-0-'/2 (compile.erl, line 153)
4

0 回答 0