Info

Mac Portでインストール方法:

	
$ sudo port install rabbitmq-server

・・・・
--->  Computing dependencies for rabbitmq-server
--->  Dependencies to be installed: erlang libxslt libxml2
--->  Building erlang
Error: Target org.macports.build returned: shell command failed (see log for details)
Error: Failed to install erlang
Log for erlang is at: 
Error: The following dependencies were not installed: erlang libxslt libxml2
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

エラーだ〜

erlangでエラーになったみたい。

erlang だけインストールしてみる。

	
$ sudo port install erlang
--->  Computing dependencies for erlang
--->  Building erlang
Error: Target org.macports.build returned: shell command failed (see log for details)
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
$ 

失敗。ググッてみたらLionのmacportでどうもおかしいみたい。
Portをやめてソースコードからmakeしてインストールしてみる。
http://www.erlang.org/download.html
Source Fileをダウンロードして解凍

	
$ tar zxvf otp_src_R14B04.tar.gz 
$ cd otp_src_R14B04
$ ./configure --enable-hipe
$ make
$ sudo make install
$ erl -version
Erlang (SMP,ASYNC_THREADS,HIPE) (BEAM) emulator version 5.8.5
Dongri-Jin:otp_src_R14B04 jp61077$ 
$ which erl
/usr/local/bin/erl
$ 

sudo port install rabbitmq-server 再挑戦みたけど駄目だった。やっぱり、erlangはmacportでインストールしないと駄目っぽい

	
$ sudo port -f -v install erlang +odbc
....

$ erl -version
Erlang (SMP,ASYNC_THREADS,HIPE) (BEAM) emulator version 5.8.5
$ which erl
/opt/local/bin/erl
$ 

成功したようだ。
再挑戦

	
$ sudo port clean rabbitmq-server
Password:
--->  Cleaning rabbitmq-server
$ sudo port install rabbitmq-server

--->  Creating launchd control script
###########################################################
# A startup item has been generated that will aid in
# starting rabbitmq-server with launchd. It is disabled
# by default. Execute the following command to start it,
# and to cause it to launch at startup:
#
# sudo port load rabbitmq-server
###########################################################
--->  Installing rabbitmq-server @2.6.1_0
--->  Activating rabbitmq-server @2.6.1_0
--->  Cleaning rabbitmq-server
$ 

成功!

サーバーを起動

	
$ sudo rabbitmq-server

Comments

2 Comments

Post a comment
  1. February 24, 2013

    My relatives all the time say that I am killing my time here at net, but I know I am getting knowledge everyday
    by reading such nice articles or reviews.

  2. April 2, 2014

    What’s Taking place i am new to this, I stumbled upon this
    I have found It positively helpful and it has helped me out loads.
    I am hoping to give a contribution & assist other
    users like its aided me. Great job.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Basic HTML is allowed. Your email address will not be published.

Subscribe to this comment feed via RSS