<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi,<div><br></div><div>I encountered the above error while trying to build a RabbitMQ plugin using MinGW/MSYS on Windows 7 (64 bit). I'm using Erlang v5.10.3 (32 bit). I'm able to run RabbitMQ on my system.</div><div><br></div><div>As this error subject has been brought up at RabbitMQ newsgroup in 2012, but without a definite solution so I thought I might try to post on Erlang newsgroup instead.</div><div><br></div><div>The full error is as follows and the complete code for generate_deps can be found here - <a href="http://pastebin.com/N4HVz8z1" target="_blank" style="font-size: 12pt;">http://pastebin.com/N4HVz8z1</a></div><div><br></div><div>Please let me know I can fix the problem. T<span style="font-size: 12pt;">hank you very much.</span></div><div><span style="font-size: 12pt;"><br></span></div><div>Ps. I've also tried using CYGWIN but it returns another error - <span style="font-size: 12pt;">escript: Failed to open file: /home/Fujitsu/rabbitmq/build-source/rabbitmq-publi</span><span style="font-size: 12pt;">c-umbrella/generate_deps</span></div><div><span style="font-size: 12pt;"><br></span></div><div><br></div><div><div>Fujitsu@JoshuaNotebook /d/RabbitMQ/build-source/rabbitmq-public-umbrella/presence-exchange-master</div><div>$ make</div><div>[elided] generate deps</div><div>escript: exception error: no match of right hand side value {error,enoent}</div><div> in function generate_deps__escript__1389__793192__493000:detect_deps/5 (d:/RabbitMQ/build-source/rabbitmq-public-umbrella/generate_deps, line 40)</div><div> in call from generate_deps__escript__1389__793192__493000:'-main/1-fun-0-'/6 (d:/RabbitMQ/build-source/rabbitmq-public-umbrella/generate_deps, line 19)</div><div> in call from lists:foldl/3 (lists.erl, line 1248)</div><div> in call from generate_deps__escript__1389__793192__493000:main/1 (d:/RabbitMQ/build-source/rabbitmq-public-umbrella/generate_deps, line 17)</div><div> in call from escript:run/2 (escript.erl, line 747)</div><div> in call from escript:start/1 (escript.erl, line 277)</div><div> in call from init:start_it/1 (init.erl, line 1054)</div><div> in call from init:start_em/1 (init.erl, line 1034)</div><div>[elided] generate deps</div><div>escript: exception error: no match of right hand side value {error,enoent}</div><div> in function generate_deps__escript__1389__793194__76000:detect_deps/5 (d:/RabbitMQ/build-source/rabbitmq-public-umbrella/generate_deps, line 40)</div><div> in call from generate_deps__escript__1389__793194__76000:'-main/1-fun-0-'/6 (d:/RabbitMQ/build-source/rabbitmq-public-umbrella/generate_deps, line 19)</div><div> in call from lists:foldl/3 (lists.erl, line 1248)</div><div> in call from generate_deps__escript__1389__793194__76000:main/1 (d:/RabbitMQ/build-source/rabbitmq-public-umbrella/generate_deps, line 17)</div><div> in call from escript:run/2 (escript.erl, line 747)</div><div> in call from escript:start/1 (escript.erl, line 277)</div><div> in call from init:start_it/1 (init.erl, line 1054)</div><div> in call from init:start_em/1 (init.erl, line 1034)</div><div>rm -rf ../rabbitmq-erlang-client/dist</div><div>make -C ../rabbitmq-erlang-client</div><div>make[1]: Entering directory `/d/RabbitMQ/build-source/rabbitmq-public-umbrella/rabbitmq-erlang-client'</div><div>rm -f deps.mk</div><div>echo src/amqp_auth_mechanisms.erl:src/amqp_channel.erl:src/amqp_channel_sup.erl:src/amqp_channel_sup_sup.erl:src/amqp_channels_manager.erl:src/amqp_client.erl:src/amqp_connection.erl:src/amqp_connection_sup.erl:src/amqp_connection_type_sup.erl:src/amqp_direct_connecti</div><div>erl:src/amqp_gen_connection.erl:src/amqp_gen_consumer.erl:src/amqp_main_reader.erl:src/amqp_network_connection.erl:src/amqp_rpc_client.erl:src/amqp_rpc_server.erl:src/amqp_selective_consumer.erl:src/amqp_sup.erl:src/amqp_uri.erl:src/rabbit_routing_util.erl:src/uri_par</div><div>include/amqp_client_internal.hrl:include/amqp_gen_consumer_spec.hrl:include/rabbit_routing_prefixes.hrl: | escript ../rabbitmq-server/generate_deps deps.mk ebin</div><div>make[1]: Leaving directory `/d/RabbitMQ/build-source/rabbitmq-public-umbrella/rabbitmq-erlang-client'</div><div>make[1]: Entering directory `/d/RabbitMQ/build-source/rabbitmq-public-umbrella/rabbitmq-erlang-client'</div><div>escript ../rabbitmq-server/generate_app rabbit_common.app.in rabbit_common.app src</div><div>sed 's/%%VSN%%/0.0.0/' rabbit_common.app > rabbit_common.app.tmp && mv rabbit_common.app.tmp rabbit_common.app</div><div>mkdir -p dist</div><div>rm -f dist/rabbit_common-0.0.0.ez</div><div>make -C ../rabbitmq-server</div><div>make[2]: Entering directory `/d/RabbitMQ/build-source/rabbitmq-public-umbrella/rabbitmq-server'</div><div>make[2]: Nothing to be done for `all'.</div><div>make[2]: Leaving directory `/d/RabbitMQ/build-source/rabbitmq-public-umbrella/rabbitmq-server'</div><div>rm -rf dist/rabbit_common-0.0.0</div><div>mkdir -p dist/rabbit_common-0.0.0/include</div><div>mkdir -p dist/rabbit_common-0.0.0/ebin</div><div>cp rabbit_common.app dist/rabbit_common-0.0.0/ebin/</div><div>( cp ../rabbitmq-server/ebin/app_utils.beam dist/rabbit_common-0.0.0/ebin/ ); ( cp ../rabbitmq-server/ebin/credit_flow.beam dist/rabbit_common-0.0.0/ebin/ ); ( cp ../rabbitmq-server/ebin/pmon.beam dist/rabbit_common-0.0.0/ebin/ ); ( cp ../rabbitmq-server/ebin/gen_s</div><div>.0.0/ebin/ ); ( cp ../rabbitmq-server/ebin/mirrored_supervisor.beam dist/rabbit_common-0.0.0/ebin/ ); ( cp ../rabbitmq-server/ebin/priority_queue.beam dist/rabbit_common-0.0.0/ebin/ ); ( cp ../rabbitmq-server/ebin/rabbit_backing_queue.beam dist/rabbit_common-0.0.0/</div><div>r/ebin/rabbit_basic.beam dist/rabbit_common-0.0.0/ebin/ ); ( cp ../rabbitmq-server/ebin/rabbit_binary_generator.beam dist/rabbit_common-0.0.0/ebin/ ); ( cp ../rabbitmq-server/ebin/rabbit_binary_parser.beam dist/rabbit_common-0.0.0/ebin/ ); ( cp ../rabbitmq-server/e</div><div>bit_common-0.0.0/ebin/ ); ( cp ../rabbitmq-server/ebin/rabbit_channel_interceptor.beam dist/rabbit_common-0.0.0/ebin/ ); ( cp ../rabbitmq-server/ebin/rabbit_runtime_parameter.beam dist/rabbit_common-0.0.0/ebin/ ); ( cp ../rabbitmq-server/ebin/rabbit_command_assembl</div><div>/ebin/ ); ( cp ../rabbitmq-server/ebin/rabbit_exchange_type.beam dist/rabbit_common-0.0.0/ebin/ ); ( cp ../rabbitmq-server/ebin/rabbit_exchange_decorator.beam dist/rabbit_common-0.0.0/ebin/ ); ( cp ../rabbitmq-server/ebin/rabbit_auth_backend.beam dist/rabbit_common</div><div>q-server/ebin/rabbit_auth_mechanism.beam dist/rabbit_common-0.0.0/ebin/ ); ( cp ../rabbitmq-server/ebin/rabbit_framing_amqp_0_8.beam dist/rabbit_common-0.0.0/ebin/ ); ( cp ../rabbitmq-server/ebin/rabbit_framing_amqp_0_9_1.beam dist/rabbit_common-0.0.0/ebin/ ); ( cp</div><div>heartbeat.beam dist/rabbit_common-0.0.0/ebin/ ); ( cp ../rabbitmq-server/ebin/rabbit_misc.beam dist/rabbit_common-0.0.0/ebin/ ); ( cp ../rabbitmq-server/ebin/rabbit_msg_store_index.beam dist/rabbit_common-0.0.0/ebin/ ); ( cp ../rabbitmq-server/ebin/rabbit_net.beam</div><div>; ( cp ../rabbitmq-server/ebin/rabbit_nodes.beam dist/rabbit_common-0.0.0/ebin/ ); ( cp ../rabbitmq-server/ebin/rabbit_policy_validator.beam dist/rabbit_common-0.0.0/ebin/ ); ( cp ../rabbitmq-server/ebin/rabbit_reader.beam dist/rabbit_common-0.0.0/ebin/ ); ( cp ..</div><div>ter.beam dist/rabbit_common-0.0.0/ebin/ ); ( cp ../rabbitmq-server/ebin/rabbit_event.beam dist/rabbit_common-0.0.0/ebin/ ); ( cp ../rabbitmq-server/ebin/rabbit_queue_collector.beam dist/rabbit_common-0.0.0/ebin/ ); ( cp ../rabbitmq-server/ebin/rabbit_queue_decorato</div><div>ebin/ ); ( cp ../rabbitmq-server/ebin/rabbit_amqqueue.beam dist/rabbit_common-0.0.0/ebin/ ); ( cp ../rabbitmq-server/ebin/supervisor2.beam dist/rabbit_common-0.0.0/ebin/ );</div><div>cp ../rabbitmq-server/include/*.hrl dist/rabbit_common-0.0.0/include/</div><div>(cd dist; zip -q -r rabbit_common-0.0.0.ez rabbit_common-0.0.0)</div><div>mkdir -p deps</div><div>rm -rf deps/rabbit_common-0.0.0</div><div>mkdir -p deps/rabbit_common-0.0.0</div><div>unzip -q -o dist/rabbit_common-0.0.0.ez -d deps</div><div>ERL_LIBS=deps:dist erlc -I include -pa ebin -o ebin -Wall -v +debug_info -Duse_specs src/amqp_auth_mechanisms.erl</div><div>{error_logger,{{2014,1,15},{21,40,35}},std_error,"File operation error: eio. Target: deps:dist. Function: list_dir. Process: code_server."}</div><div><br></div><div>=ERROR REPORT==== 16-Jan-2014::05:40:35 ===</div><div>File operation error: eio. Target: deps:dist. Function: list_dir. Process: code_server.</div><div>d://RabbitMQ/BUILD-~1/RABBIT~3/RA9B14~1/include/amqp_client.hrl:20: can't find include lib "rabbit_common/include/rabbit.hrl"</div><div>d://RabbitMQ/BUILD-~1/RABBIT~3/RA9B14~1/include/amqp_client.hrl:21: can't find include lib "rabbit_common/include/rabbit_framing.hrl"</div><div>d://RabbitMQ/BUILD-~1/RABBIT~3/RA9B14~1/include/amqp_client.hrl:23: record 'P_basic' undefined</div><div>make[1]: *** [ebin/amqp_auth_mechanisms.beam] Error 1</div><div>make[1]: Leaving directory `/d/RabbitMQ/build-source/rabbitmq-public-umbrella/rabbitmq-erlang-client'</div><div>make: *** [../rabbitmq-erlang-client/dist/.done.0.0.0] Error 2</div><div><br></div><div>Fujitsu@JoshuaNotebook /d/RabbitMQ/build-source/rabbitmq-public-umbrella/presence-exchange-master</div><div>$</div></div><div><br></div> </div></body>
</html>