简体   繁体   English

在Ubuntu中Bitcore安装失败

[英]Bitcore installation fails in ubuntu

I have node v9.11.1 and npm v5.8.0. 我有节点v9.11.1和npm v5.8.0。 I am trying too install bitcore by using below command, 我也尝试通过使用以下命令安装bitcore,

sudo npm install -g --unsafe-perm=true bitcore

but it gives me an error as, 但这给了我一个错误,

make: Entering directory '/usr/local/lib/node_modules/bitcore/node_modules/zmq/build'

CXX(target) Release/obj.target/zmq/binding.o
../binding.cc:28:17: fatal error: zmq.h: No such file or directory
#include <zmq.h>
             ^
       compilation terminated.
  zmq.target.mk:95: recipe for target 'Release/obj.target/zmq/binding.o' failed
  make: *** [Release/obj.target/zmq/binding.o] Error 1
 make: Leaving directory '/usr/local/lib/node_modules/bitcore/node_modules/zmq/build'

I also tried to install zmq globally but gives an error too. 我还尝试了全局安装zmq,但也给出了错误。 Is there any way to install bitcore ? 有什么方法可以安装bitcore吗? Please help me to come out of it.... 请帮助我出来...。

are you already follow this steps ? 您已经按照此步骤进行了吗? . 1.Install ZeroMQ and Tools fir ubuntu /debian 1.安装ZeroMQ和工具fir ubuntu / debian

$apt-get install libzmq3-dev build-essential

. try to install it.. 尝试安装它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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