rebar
을 사용하여 노드를 생성하려고하는데, here의 지침을 따랐습니다. rebar get-deps compile
실행보강 철근 생성 오류
는 잘 작동하지만 rebar generate
을 실행하는 rebar.config~
이 generate
과정에서 어디 파악해서는 안 주어, 나에게
ERROR: Unable to generate spec: read file info /home/inaimathi/common/rebar.config~ failed
ERROR: Unexpected error: rebar_abort
ERROR: generate failed while processing /home/inaimathi/common/rel: rebar_abort
홀수를 제공합니다. rebar.config~
을 제거하고 다시 시도하면 동일한 오류가 발생하지만 대신 rebar.config
과 관련됩니다.
{sub_dirs, ["rel"]}.
{lib_dirs, ["deps"]}.
{deps, [{erlsha2, ".*", {git, "git://github.com/vinoski/erlsha2.git", "HEAD"}}]}.
내 reltool.config
이
{sys, [
{lib_dirs, []},
{erts, [{mod_cond, derived}, {app_file, strip}]},
{app_file, strip},
{rel, "common", "1",
[
kernel,
stdlib,
sasl,
common
]},
{rel, "start_clean", "",
[
kernel,
stdlib
]},
{boot_rel, "common"},
{profile, embedded},
{incl_cond, derived},
{mod_cond, derived},
{excl_archive_filters, [".*"]}, %% Do not archive built libs
{excl_sys_filters, ["^bin/.*", "^erts.*/bin/(dialyzer|typer)",
"^erts.*/(doc|info|include|lib|man|src)"]},
{excl_app_filters, ["\.gitignore"]},
{app, common, [{mod_cond, app}, {incl_cond, include}, {lib_dir, ".."}]}
]}.
{target_dir, "common"}.
{overlay, [
{mkdir, "log/sasl"},
{copy, "files/erl", "\{\{erts_vsn\}\}/bin/erl"},
{copy, "files/nodetool", "\{\{erts_vsn\}\}/bin/nodetool"},
{copy, "files/common", "bin/common"},
{copy, "files/common.cmd", "bin/common.cmd"},
{copy, "files/start_erl.cmd", "bin/start_erl.cmd"},
{copy, "files/install_upgrade.escript", "bin/install_upgrade.escript"},
{copy, "files/sys.config", "releases/\{\{rel_vsn\}\}/sys.config"},
{copy, "files/vm.args", "releases/\{\{rel_vsn\}\}/vm.args"}
]}.
처럼 (전체
rebar
내가 링크 된 지침에 따라
{lib_dir, ".."}
을 추가 한 것을 제외하고 -generated) 모양처럼
내 rebar.config
보인다.
내가 뭘 잘못하고 있니?
편집 : 내가 잘못 무슨 일이 일어나고 있는지 아무 생각이 없다는 것을 감안할 때 기초를 언급해야한다. Erlang R15B01은 64 비트 코어 i3에서 실행되는 데비안 Wheezy 레포 중 하나입니다. 나는 수동으로 철조망을 만들고 the basho repo에서 철근을 만들었습니다. 다른 것이 관련이 있는지 확실하지 않습니다.
EDIT2가 : 같은 일이이 수정되었습니다, 당신은이 issue 전에 rel
디렉토리에 rebar generate
명령을 실행해야 https://github.com/downloads/basho/rebar/rebar
답변을 찾았습니까? 나는 똑같은 일에 매달렸다. –
@ThomasKobberPanum - 아니요. 배포 도구 오류가 더 이상 Erlang을 사용하지 않는 주된 이유입니다. 죄송합니다. 행운을 빈다. – Inaimathi