[rabbitmq-discuss] erlang client blowing chunks
Vlad Alexandru Ionescu
vlad at rabbitmq.com
Wed Sep 1 15:53:03 BST 2010
Jon,
It seems you found a bug. Thank you for that.
Still, you are not using version 2.0.0, since this bug does not
reproduce in 2.0.0.
Can you try the series of commands:
$ hg clone -u rabbitmq_v2_0_0 http://hg.rabbitmq.com/rabbitmq-server
$ hg clone -u rabbitmq_v2_0_0 http://hg.rabbitmq.com/rabbitmq-codegen
$ hg clone -u rabbitmq_v2_0_0 http://hg.rabbitmq.com/rabbitmq-erlang-client
$ cd rabbitmq-erlang-client
$ make test_network
After these, you should get a "dist" folder in the rabbitmq-erlang-client which contains the two .ez files. By looking inside these, you could deduce what source files you would need (from the generated .beam file names). If you then grab the source files from rabbitmq-server/src and rabbitmq-erlang-client/src (*after* having done the build) plus the includes, you should be fine.
Rgds,
Vlad.
On 09/01/2010 03:23 PM, Jon Brisbin wrote:
> Doing make test_network in the public-umbrella which I checked and using fresh checkouts out gives this error on Mac OS X 10.6.4 with macports Erlang installed (Erlang R14A (erts-5.8) [source] [64-bit] [smp:2:2] [rq:2] [async-threads:0] [hipe] [kernel-poll:false]):
>
> +-( ~/src/rabbitmq-2.0/rabbitmq-erlang-client ):> make test_network
> uname: illegal option -- o
> usage: uname [-amnprsv]
> make -C test
> ERL_LIBS=../deps erlc -I ../include -o ./ -Wall -v +debug_info amqp_dbg.erl
> ERL_LIBS=../deps erlc -I ../include -o ./ -Wall -v +debug_info direct_client_SUITE.erl
> ERL_LIBS=../deps erlc -I ../include -o ./ -Wall -v +debug_info negative_test_util.erl
> ERL_LIBS=../deps erlc -I ../include -o ./ -Wall -v +debug_info network_client_SUITE.erl
> ERL_LIBS=../deps erlc -I ../include -o ./ -Wall -v +debug_info ssl_client_SUITE.erl
> ERL_LIBS=../deps erlc -I ../include -o ./ -Wall -v +debug_info test_util.erl
> make run_test_broker RUN_TEST_BROKER_ARGS="-s network_client_SUITE test"
> uname: illegal option -- o
> usage: uname [-amnprsv]
> make -C ../rabbitmq-server start-background-node
> RABBITMQ_NODE_IP_ADDRESS="" RABBITMQ_NODE_PORT="" RABBITMQ_LOG_BASE="/var/folders/+E/+EAa1V61EkOEVs83Nv6vbU+++TI/-Tmp-/" RABBITMQ_MNESIA_DIR="/var/folders/+E/+EAa1V61EkOEVs83Nv6vbU+++TI/-Tmp-//rabbitmq-rabbit-mnesia" \
> RABBITMQ_NODE_ONLY=true \
> RABBITMQ_SERVER_START_ARGS=" -detached" \
> ./scripts/rabbitmq-server ; sleep 1
> make -C ../rabbitmq-server start-rabbit-on-node
> echo "rabbit:start()." | erl_call -sname rabbit -e
> /bin/sh: erl_call: command not found
> make[2]: *** [start-rabbit-on-node] Error 127
> make[1]: *** [boot_broker] Error 2
> make: *** [test_network] Error 2
>
>
>
> Jon Brisbin
> Portal Webmaster
> NPC International, Inc.
>
>
>
> On Sep 1, 2010, at 9:14 AM, Vlad Alexandru Ionescu wrote:
>
>
>> Hi Jon,
>>
>>
>> Doing
>>
>> $ hg clone -u rabbitmq_v2_0_0 http://hg.rabbitmq.com/rabbitmq-server
>> $ hg clone -u rabbitmq_v2_0_0 http://hg.rabbitmq.com/rabbitmq-codegen
>> $ hg clone -u rabbitmq_v2_0_0 http://hg.rabbitmq.com/rabbitmq-erlang-client
>> $ cd rabbitmq-erlang-client
>> $ make test_network
>>
>> works for me: "All 29 tests passed." Does it work for you?
>>
>>
>> Rgds,
>> Vlad.
>>
>>
>
More information about the rabbitmq-discuss
mailing list