gpt4 book ai didi

linux - RabbitMQ 应用程序安装 -/usr/bin/env : escript: No such file or directory

转载 作者:太空宇宙 更新时间:2023-11-04 03:42:45 25 4
gpt4 key购买 nike

我正在尝试构建一个使用 rabbitmq 构建的聊天应用程序 https://github.com/videlalvaro/rabbitmq-chat但在执行 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

最佳答案

escript 用于 Erlang 脚本支持,RabbitMQ 在内部使用。

为非 Debian 操作系统安装 erlang-base 或类似的软件包。

关于linux - RabbitMQ 应用程序安装 -/usr/bin/env : escript: No such file or directory,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29125456/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com