Ruby on Rails
Friday, February 1, 2013
On Thursday, 31 January 2013 19:13:02 UTC-5, Andrejs Rozitis wrote:
I am unable to install RoR on a VPS running RedHat Linux with 512 MB. When I run "make" and "make install" I get the following output/error below. What can I do to resolve this memory problem?It appears I should have sufficient memory to install. I included the results of "make" and "free" to show the failure as well as the available memory.Thanks in advance!Andrejsroot@vps [~/ruby-1.9.3-p0]# makeCC = gccLD = ldLDSHARED = gcc -sharedCFLAGS = -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Werror-implicit-function- declaration XCFLAGS = -include ruby/config.h -include ruby/missing.h -fvisibility=hidden -DRUBY_EXPORTCPPFLAGS = -I. -I.ext/include/x86_64-linux -I./include -I.DLDFLAGS =SOLIBS =compiling parse.ccc1: out of memory allocating 1904232 bytes after a total of 32403456 bytesmake: *** [parse.o] Error 1root@vps [~/ruby-1.9.3-p0]# freetotal used free shared buffers cachedMem: 524288 368436 155852 0 0 0-/+ buffers/cache: 368436 155852Swap: 0 0 0
You'll definitely want to free up some RAM - 368M out of 512M used is going to seriously cramp the compilation process, especially without any swap. What else is running on the VPS that's eating up all that RAM?
--Matt Jones
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/dSecZxQe1rMJ.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment