【问题标题】:Cannot upload the distel modules to the erlang node (connection refused)无法将 distel 模块上传到 erlang 节点(连接被拒绝)
【发布时间】:2014-03-07 23:33:11
【问题描述】:

我是 Emacs、Erlang 和 Distel 的新手。我想在学习 Erlang 本身的同时学习如何调试。我在两个linux上试过这个。一个是 Amazon EC2 linux,另一个是 Debian Squeeze。我的 Emacs 版本是 23。我从 GitHub 克隆了最新的 Distel。

在这两种情况下,当我尝试C-c C-d g 时,我都从 Emacs 得到以下信息:

EXIT: <0.2.0> [emacs-error "(file-error \"make client process failed\" \"connection refused\" :name \"netfsm\" :buffer #<killed buffer> :host \"dombai\" :service 4369)"]

我尝试以 root 身份运行所有这些。我尝试切换防火墙,以便允许从任何地方到任何地方的所有流量。没有结果。我还是明白了。

谁能帮帮我?

谢谢。

【问题讨论】:

  • 这与您的问题无关,但 emacs 23 已经很老了,尝试获取更新版本的 emacs(当前稳定版本为 24.3)

标签: debugging emacs erlang editor


【解决方案1】:

我已经解决了。我错过的一件事是在 Emacs 中启动 Erlang shell。您可以通过使用C-C C-l 启动shell 或使用C-c C-k 编译模块来实现。编译还会打开 Erlang shell。在此之后,我能够将 Distel 上传到节点。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2014-01-19
    • 1970-01-01
    • 2014-06-28
    • 1970-01-01
    • 2015-07-31
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多