【发布时间】:2011-10-09 16:12:25
【问题描述】:
所以,我想我会创建一个真正的版本来运行我的下一个应用程序。不幸的是,似乎有一个交易破坏者。
首先我尝试使用本指南从头开始制作项目:
http://alancastro.org/2010/05/01/erlang-application-management-with-rebar.html
由于一个模糊的错误而失败,所以为了确保,我尝试运行一个我知道很好的项目,etorrent。
当我尝试运行 etorrent 的发行版时,我得到了同样的错误:
[me@my-ip etorrent]# rel/etorrent/bin/etorrent console
Exec: /root/etorrent/rel/etorrent/erts-5.8.4/bin/erlexec -boot /root/etorrent/rel/etorrent/releases/1.2.1/etorrent -embedded -config /root/etorrent/rel/etorrent/etc/app.config -args_file /root/etorrent/rel/etorrent/etc/vm.args -- console
Root: /root/etorrent/rel/etorrent
pthread/ethr_event.c:98: Fatal error in wait__(): Function not implemented (38)
Aborted
我搜索了那个错误,serps 中充满了对 CentOS 上存在相同问题的 RabbitMQ 的引用。显然,它比专门的 RabbitMQ 问题更普遍。基于此线程:
RabbitMQ install issue on Centos 5.5
...根据我自己的经验,似乎在 14 系列 erlang 安装上运行版本以及 5 系列 CentOS 是行不通的。顺便说一句,我昨晚在网站上安装了最新的 erlang,所以这就是我正在使用的。我没有将任何标志传递给“配置”,只是使用了股票期权。
有没有人知道是否有 erlang 的编译选项可以解决这个问题?或者有什么其他建议?是否有其他人成功地在此环境中为应用程序使用 rebar 创建的版本?
【问题讨论】:
标签: erlang centos rabbitmq rebar