【发布时间】:2011-11-09 20:00:57
【问题描述】:
我正在开发一个 django 应用程序,它将利用 Celery 通知系统。要使用 Celery,我需要安装 RabbitMQ 服务器。我正在尝试使用自制软件安装它。所以我只是:
sudo brew install rabbitmq
但是 erlang 是安装的先决条件。所以 Homebrew 尝试编译 erlang-otp (R14B03),但在这个过程中它总是卡住几个小时。我什至让它坐了一夜,什么也没发生。所以我中止了编译并做了:
sudo brew install -v erlang
查看编译进度。它卡住并指出以下错误:
=== Entering application hipe
(cd ../main && make hipe.hrl)
sed -e "s;%VSN%;3.8;" ../../hipe/main/hipe.hrl.src > ../../hipe/main/hipe.hrl
erlc -W +debug_info +inline -o../ebin hipe_rtl.erl
(no error logger present) error: "Error in process <0.1.0> with exit value: {{badfun,[<<5 bytes>>,<<69 bytes>>,<<9 bytes>>,<<3 bytes>>,<<2 bytes>>,<<5 bytes>>,<<11 bytes>>,<<2 bytes>>,<<8 bytes>>,<<8 bytes>>,<<5 bytes>>,<<7 bytes>>,<<5 bytes>>,<<11 bytes>>,<<2 bytes>>,<<11 bytes>>,<<15 bytes>>,<<4 bytes>>,<<72 bytes>>,<<5 bytes>>,<<1 byte>>,<<7 bytes>>,<<10 bytes>>,<<7 bytes>>,<<6 bytes>>,<<7 bytes>>,<<7 bytes>>,<<6 bytes>>,<<12 bytes>>]},[{erlang,apply,2}]}\n"
我已经尝试了很多次,但我得到了相同的结果。可能是因为我的 autoconf 版本错误?你们有没有人有过类似的经历?有哪些建议可以成功编译?
感谢您的帮助。非常感谢。
【问题讨论】:
-
以下网站为我工作(从 OS X 部分的源代码安装)wiki.basho.com/Installing-Erlang.html
标签: erlang rabbitmq celery homebrew