我正在尝试从https://github.com/videlalvaro/rabbitmq-chat构建rabbitmq
内置的聊天应用,但在执行make
时遇到了这个问题:
...
inflating: deps/rabbit_common/ebin/rabbit_msg_store_index.beam
/usr/bin/env: escript: No such file or directory
/bin/sh: 1: get-deps: not found
make: *** [deps] Error 127
知道如何解决这个问题吗?
完整输出:
make
mkdir deps;
wget http://www.rabbitmq.com/releases/plugins/v2.4.1/amqp_client-2.4.1.ez
--2015-03-18 14:54:55-- http://www.rabbitmq.com/releases/plugins/v2.4.1/amqp_client-2.4.1.ez
Resolving www.rabbitmq.com (www.rabbitmq.com)... 192.240.153.117
Connecting to www.rabbitmq.com (www.rabbitmq.com)|192.240.153.117|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 155938 (152K) [application/andrew-inset]
Saving to: ‘amqp_client-2.4.1.ez’
100%[================================================================================================================>] 155,938 299KB/s in 0.5s
2015-03-18 14:54:56 (299 KB/s) - ‘amqp_client-2.4.1.ez’ saved [155938/155938]
wget http://www.rabbitmq.com/releases/plugins/v2.4.1/rabbit_common-2.4.1.ez
--2015-03-18 14:54:56-- http://www.rabbitmq.com/releases/plugins/v2.4.1/rabbit_common-2.4.1.ez
Resolving www.rabbitmq.com (www.rabbitmq.com)... 192.240.153.117
Connecting to www.rabbitmq.com (www.rabbitmq.com)|192.240.153.117|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 356609 (348K) [application/andrew-inset]
Saving to: ‘rabbit_common-2.4.1.ez’
100%[================================================================================================================>] 356,609 601KB/s in 0.6s
2015-03-18 14:54:56 (601 KB/s) - ‘rabbit_common-2.4.1.ez’ saved [356609/356609]
unzip -d deps amqp_client-2.4.1.ez
Archive: amqp_client-2.4.1.ez
creating: deps/amqp_client/
creating: deps/amqp_client/include/
inflating: deps/amqp_client/include/amqp_client.hrl
creating: deps/amqp_client/ebin/
inflating: deps/amqp_client/ebin/amqp_connection.beam
inflating: deps/amqp_client/ebin/amqp_channel.beam
inflating: deps/amqp_client/ebin/amqp_connection_sup.beam
inflating: deps/amqp_client/ebin/amqp_channel_sup_sup.beam
inflating: deps/amqp_client/ebin/amqp_connection_type_sup.beam
inflating: deps/amqp_client/ebin/amqp_network_connection.beam
inflating: deps/amqp_client/ebin/amqp_channel_sup.beam
inflating: deps/amqp_client/ebin/amqp_main_reader.beam
inflating: deps/amqp_client/ebin/amqp_auth_mechanisms.beam
inflating: deps/amqp_client/ebin/amqp_sup.beam
inflating: deps/amqp_client/ebin/amqp_channels_manager.beam
inflating: deps/amqp_client/ebin/amqp_rpc_server.beam
inflating: deps/amqp_client/ebin/amqp_direct_connection.beam
inflating: deps/amqp_client/ebin/amqp_gen_connection.beam
inflating: deps/amqp_client/ebin/amqp_client.beam
inflating: deps/amqp_client/ebin/amqp_client.app
inflating: deps/amqp_client/ebin/amqp_rpc_client.beam
unzip -d deps rabbit_common-2.4.1.ez
Archive: rabbit_common-2.4.1.ez
creating: deps/rabbit_common/
creating: deps/rabbit_common/include/
inflating: deps/rabbit_common/include/rabbit_auth_backend_spec.hrl
inflating: deps/rabbit_common/include/rabbit_backing_queue_spec.hrl
inflating: deps/rabbit_common/include/rabbit_exchange_type_spec.hrl
inflating: deps/rabbit_common/include/rabbit_msg_store_index.hrl
inflating: deps/rabbit_common/include/rabbit_msg_store.hrl
inflating: deps/rabbit_common/include/rabbit.hrl
inflating: deps/rabbit_common/include/gm_specs.hrl
inflating: deps/rabbit_common/include/rabbit_framing.hrl
inflating: deps/rabbit_common/include/rabbit_auth_mechanism_spec.hrl
creating: deps/rabbit_common/ebin/
inflating: deps/rabbit_common/ebin/rabbit_basic.beam
inflating: deps/rabbit_common/ebin/rabbit_command_assembler.beam
inflating: deps/rabbit_common/ebin/rabbit_framing_amqp_0_8.beam
inflating: deps/rabbit_common/ebin/rabbit_reader.beam
inflating: deps/rabbit_common/ebin/rabbit_binary_parser.beam
inflating: deps/rabbit_common/ebin/rabbit_heartbeat.beam
inflating: deps/rabbit_common/ebin/rabbit_channel.beam
inflating: deps/rabbit_common/ebin/rabbit_net.beam
inflating: deps/rabbit_common/ebin/rabbit_binary_generator.beam
inflating: deps/rabbit_common/ebin/rabbit_queue_collector.beam
inflating: deps/rabbit_common/ebin/supervisor2.beam
inflating: deps/rabbit_common/ebin/rabbit_auth_backend.beam
inflating: deps/rabbit_common/ebin/rabbit_misc.beam
inflating: deps/rabbit_common/ebin/rabbit_writer.beam
inflating: deps/rabbit_common/ebin/rabbit_exchange_type.beam
inflating: deps/rabbit_common/ebin/rabbit_backing_queue.beam
inflating: deps/rabbit_common/ebin/rabbit_auth_mechanism.beam
inflating: deps/rabbit_common/ebin/rabbit_common.app
inflating: deps/rabbit_common/ebin/rabbit_amqqueue.beam
inflating: deps/rabbit_common/ebin/gen_server2.beam
inflating: deps/rabbit_common/ebin/rabbit_framing_amqp_0_9_1.beam
inflating: deps/rabbit_common/ebin/rabbit_msg_store_index.beam
/usr/bin/env: escript: No such file or directory
/bin/sh: 1: get-deps: not found
make: *** [deps] Error 127
答案 0 :(得分:0)
escript
用于Erlang脚本支持,RabbitMQ在内部使用。
为非Debian操作系统安装erlang-base
或类似的软件包。
答案 1 :(得分:0)
该项目相当陈旧且无法维护。使用它作为如何完成工作的想法,但今天我不建议在生产中使用它。它甚至使用了不再维护的misultin。