开发者

Error installing Node.js on my VPS (to get AjaxIM working in 'Guest' Mode)

开发者 https://www.devze.com 2023-02-25 03:26 出处:网络
Error I get: virtual memory exhausted: Cannot allocate memory scons: *** [obj/release/api.o] Error 1 scons: building terminated because of errors.

Error I get:

virtual memory exhausted: Cannot allocate memory
scons: *** [obj/release/api.o] Error 1
scons: building terminated because of errors.
Waf: Leaving directory `/home/colleg60/node-v0.4.6/build'
Build failed:  -> task failed (err #2): 
    {task: libv8.a SConstruct -> libv8.a}
make: *** [program] Error 1

I am able to do the foll开发者_如何转开发owing but hit the snag above when I attempt to 'Make':

wget http://nodejs.org/dist/node-v0.4.6.tar.gz
gunzip node-v0.4.6.tar.gz
tar -xf node-v0.4.6.tar
cd node-v0.4.6
./configure
make

What am I doing wrong?


Try sudo make. It appears you do not have the right to allocate memory.

This seems to be a server permission issue. We would need to know more about your specific VPS.

0

精彩评论

暂无评论...
验证码 换一张
取 消