我正在开发一个django应用程序,它将利用芹菜通知系统。要使用芹菜,我需要安装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版本不正确?你们中有谁有过类似的经历吗?获得成功编译的一些建议是什么?
我很感谢你的帮助。在此之前,非常感谢您。
发布于 2011-09-04 03:35:00
Erlang在构建Xcode4的编译器时遇到了问题。
如果使用CFLAGS=-O0关闭优化,您应该能够编译它。
发布于 2011-09-04 23:49:42
您可以从Erlang Solutions获得Mac的预编译包。
发布于 2011-09-06 20:06:33
我在安装了Xcode 4.1的新Lion时也遇到了同样的问题。以下命令成功安装了erlang。
brew install erlang --use-gcchttps://stackoverflow.com/questions/7294990
复制相似问题