Open jaynel opened 10 years ago
Ok, I got past that by including your rabbit_common as a dependency as well (it should automatically require that I would think). Still get compilation errors:
compile: warnings being treated as errors
src/credit_flow.erl:86: variable 'C' exported from 'case' (line 85)
src/credit_flow.erl:88: variable 'C' exported from 'case' (line 85)
src/credit_flow.erl:95: variable 'C' exported from 'case' (line 94)
src/credit_flow.erl:97: variable 'C' exported from 'case' (line 94)
src/credit_flow.erl:102: variable 'C' exported from 'case' (line 101)
src/credit_flow.erl:102: variable 'C' exported from 'case' (line 101)
src/credit_flow.erl:104: variable 'C' exported from 'case' (line 101)
src/credit_flow.erl:140: variable 'Deferred' exported from 'case' (line 140)
src/credit_flow.erl:148: variable 'Blocks' exported from 'case' (line 148)
src/credit_flow.erl:151: variable 'Blocks' exported from 'case' (line 151)
make[1]: *** [ebin/rabbit_common.app] Error 1
ERLC amqp_auth_mechanisms.erl amqp_channel.erl amqp_channel_sup.erl amqp_channel_sup_sup.erl amqp_channels_manager.erl amqp_client.erl amqp_connection.erl amqp_connection_sup.erl amqp_connection_type_sup.erl amqp_direct_connection.erl amqp_direct_consumer.erl amqp_gen_connection.erl amqp_gen_consumer.erl amqp_main_reader.erl amqp_network_connection.erl amqp_rpc_client.erl amqp_rpc_server.erl amqp_selective_consumer.erl amqp_sup.erl amqp_uri.erl rabbit_routing_util.erl uri_parser.erl
compile: warnings being treated as errors
src/amqp_channel_sup.erl:22: behaviour supervisor2 undefined
make[1]: *** [ebin/amqp_client.app] Error 1
make: *** [deps] Error 2
I am using this in my erlang.mk Makefile:
DEPS = eper lager cowboy erlang_protobuffs rabbit_common amqp_client
dep_erlang_protobuffs = git https://github.com/basho/erlang_protobuffs 0.8.1p4
dep_rabbit_common = git https://github.com/jbrisbin/rabbit_common rabbitmq-3.3.5
dep_amqp_client = git https://github.com/jbrisbin/amqp_client rabbitmq-3.3.5
The front page README.md refers to this tag, but it doesn't exist. Am I missing something?
I am trying to build using erlang.mk. Has anyone gotten that to work? My build trips on this error:
deps/amqp-client/include/amqp_client.hrl:20: can't find include lib "rabbit_common/include/rabbit.hrl"