简体   繁体   English

安装Node.js时出现问题

[英]Problem installing Node.js

I'm trying to install node.js on a linux machine but i get this error when i run "make": 我正在尝试在Linux机器上安装node.js,但是在运行“ make”时出现此错误:

Waf: Leaving directory `/bin/node/node-v0.2.6/build' 
Build failed:  -> task failed (err #1):
        {task: cc ares_strcasecmp.c -> ares_strcasecmp_1.o} 
make: *** [all] Fel 1

This is what i've done: 这是我所做的:

tar zxf node-v0.2.6.tar.gz
cd node-v0.2.6
./configure --jobs=1 --prefix=$HOME
make

Any ideas what i might be doing wrong? 任何想法,我可能做错了什么?

You might try installing again with the official instructions . 您可以按照官方说明尝试重新安装。 Alternatively, try one of these methods after you're sure you have all the dependencies installed . 或者,在确定已安装所有依赖项之后,尝试这些方法之一。

Remember to stop into #node.js and ask questions! 记住停止进入#node.js并提问! Make sure to report back with your findings. 确保报告您的发现。

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

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