Installing the erlang client for rabbitmq can be a little tricky, specially if you are new to erlang development and you have tried to follow the instructions at http://hopper.squarespace.com/blog/2008/1/12/introducing-the-erlang-amqp-client.html.
Requirements: erlang OTP, python, mercurial.
This is how I set up the beast under OS X, hope it can be helpful.
1.- Use mercurial to clone last version of rabbitmq:
hg clone http://hg.rabbitmq.com/rabbitmq-codegen
hg clone http://hg.rabbitmq.com/rabbitmq-server
cd rabbitmq-server
make PYTHON=/opt/local/bin/python2.5
It should have compiled the server without any problem. You can set up python path with the PYTHON flag.
2.-Then you need to download and install the erlang client:
hg clone http://hg.rabbitmq.com/rabbitmq-erlang-client/
cd rabbitmq-erlang-client/
make
It should have compiled the client code. If you get some warnings about the ssl_record, it means you don't have a recent version of rabbitmq at ../rabbitmq-server. The change in that record can be seen at: http://hg.rabbitmq.com/rabbitmq-server/rev/9d6c6a354a395257493cbf8a84332326bfb71a59
The erlang client needs access to the rabbitmq server code. By default it will look for it at ../rabbitmq-server.
After compiling the code, I made it available to erlang applications by copying the output to the erlang's OTP home directory:
sudo cp -rf rabbitmq-server /usr/local/lib/erlang/lib/rabbitmq_server-1.6.0
sudo cp -rf rabbitmq-erlang-client /usr/local/lib/erlang/lib/rabbitmq_erlang_client-1.6.0
ln -s /usr/local/lib/erlang/lib/rabbitmq_server-1.6.0 /usr/local/lib/erlang/lib/rabbit_common
Now you are ready to start rabbitmq server and test the client. The last soft link allows to retrieve rabbitmq server record definitions from the erlang client. With that symlink you can include the client's records with -include_lib("rabbitmq_erlang_client/include/amqp_client.hrl"). The code at http://hopper.squarespace.com/blog/2008/1/12/introducing-the-erlang-amqp-client.html seems to be out of date, so you will need to start the client in a different way:
$erl -mnesia dir -boot start_sasl -s rabbit
...OTP and rabbitmq starting...
1> amqp_connection:start_direct().
<0.140.0>
If everything is fine you should obtain a beautiful Pid as a result of the previous function invocation. Take a look at the code of the client to see how to use the client's API

cheap wow gold Shrimati Krishnadevicheap wow gold Maheshwari & blessings world of warcraft gold of the most revered.
come !come my dear friends .come here buy fake rolex .cheap fake rolex at here .heave the replica rolex
Personalmente, me gusta tu post, que han compartido conocimientos y experiencias buenas. Sigue así. Buen trabajo, gracias por compartir tales ideas un informativo.
I'm presently using the fashion model of the Vibram Five Fingers,I exercise to get across my barefoot running shoes.I facial expression forward to running in their week,why not do some body of work towards Five Fingers Shoes
Wearing Vibram Five Fingers shoes at walking in the rain, experience a unique experience. If you like it, we have barefoot running shoes and Five Fingers Shoes for you to choose.
Whether it'sMooncloth bags nowGucci WalletsJust look atincludes weighing
roughlyEbonweave clothGucci bagAnywayroughly
this perfectly followsthe pattern from theGucci this perfectly followsincludes weighing
and stylea patented toolGucci handbagsAffordable Sleepingoffer comfort
a patented tooland stylegucci replica handbagstodayfor removing
TentsAffordable Sleepinglouis vuitton handbagsplasticComfy Sacks
Five Fingers Shoes gloves, feet bare feet to protect the skin more these barefoot running shoes, like a person, the same as the second layer of skin, so wear Vibram Five Fingers and the reaction force at the landing foot centers instead of concentrated in the heel, helps to maintain balance.
The trouble with the profit system has always been that is was highly unprofitable to most people. Crystal Pandora Beads
Fimo Polymer Clay Pandora Beads
Gemstone Pandora Beads
Hi, all.
I'm getting this error while trying to install rabbitmq-c...
configure: error: could not find AMQP spec file at "'/codegen/amqp-0.9.1.json'"
How can I set codegen path in configure?
(i tried many ways, but none of them worked for me)