我正在开发一个django应用程序,它将使用Celery通知系统。要使用芹菜我需要安装RabbitMQ服务器。我试图用自制软件安装它。所以我只是:在Mac OS X上使用Homebrew尝试安装RabbitMQ时无法编译Erlang R14B03
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的部分源代码安装) http://wiki.basho.com/Installing-Erlang.html – Tony