简体   繁体   中英

Cannot build RabbitMQ plugin because of missing dependencies

I would like to start working on my own RabbitMQ plugin, but I cannot build https://github.com/rabbitmq/rabbitmq-public-umbrella from source code on clean installation of Ubuntu 16.04. I have installed everything neccessary as described in https://www.rabbitmq.com/plugin-development.html . Every time I hit make co I receive following error: make[2]: Entering directory '/opt/rabbitmq/rabbitmq-public-umbrella/deps/rabbit_common' DEP lager tar: /opt/rabbitmq/rabbitmq-public-umbrella/.erlang.mk/hex/lager.tar: Cannot open: No such file or directory tar: Error is not recoverable: exiting now gzip: stdin: unexpected end of file tar: Child returned status 1 tar: Error is not recoverable: exiting now erlang.mk:4710: recipe for target '/opt/rabbitmq/rabbitmq-public-umbrella/deps/lager' failed make[2]: *** [/opt/rabbitmq/rabbitmq-public-umbrella/deps/lager] Error 2

It happens randomly for every dependency which is expected to be in /.erlang.mk/hex/ directory (lager, ranch, jsx), but this directory is empty (no tar file downloaded). The same issue persist when I try to build some existing plugin like https://github.com/rabbitmq/rabbitmq-auth-backend-http on its own.

I am sure I was able to compile the code successfully two days ago and tar files were downloaded to /.erlang.mk/hex/ when running make . I am new to Erlang and all the development tools related to it, so maybe I am missing something.

It's possible that hex.pm is not working? I tried everything - restarting the machine, make distclean, I did even create a new VM with Ubuntu on other network but the issue persists.

它从今天开始工作,可能是某些服务器提供第三方依赖性(例如十六进制)的问题

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM