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.
精彩评论