Michael Zaporozhets asked:
I want to install node.js on CentOS
- unfortunately i’m having trouble installing gcc (and all of the things that generally come with it in order to get node to even compile) on centOS via commandline.
What I’ve tried so far
sudo yum install gccI get the following error
Downloading Packages: Running rpm_check_debug Running Transaction Test memory alloc (8 bytes) returned NULL.
and yes I have set the ulimit prefs to ‘unlimited’.
- I have also attempted installing the depencies individually although this was only possible with a couple whereas the rest (i.e glibc) require to install with dependencies and give me the same error:
memory alloc (8 bytes) returned NULL..
- I have also attempted installing the rpm’s of individual dependencies (i.e glibc) however rpm throws the same error of
memory alloc (8 bytes) returned NULL.which was pretty annoying.
What I have deduced
- I think (and hope) it may be a simple preferences issue, since i am able to install smaller files ( <10mb or something ) without error.
One of the many annoyances I’d long since forgotten about, since I absolutely refuse to ever use OpenVZ for anything. Ever.
If you must use a VPS, use one based on KVM, VMware or Xen. (Listed in order of my personal preference.)
Back when I was stuck babysitting servers on these crappy little VPSes, I could get around this error by disabling plugins. For example:
yum --disableplugin=fastestmirror groupinstall "Development Tools"
Though sometimes that wasn’t even enough, and I’d have to shut down running services to free up enough RAM to install packages. Let me tell you, THAT was fun.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.