-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error running '__rvm_make -j 1', showing last 15 lines of /Users/name/.rvm/log/1399578403_ruby-1.9.3-p545/make.log #2837
Comments
Could you post your log? I was running into a similar issue and was getting:
I was able to solve it by removing the following line from my .rvmrc file:
It looks like someone promoted a change that makes this option no longed needed since there's already a "-j2" in the make command. |
@aidamw by any chance did you upgrade OSX? if yes - then you need to remove all packages from homebrew and install everything again - including reinstall of RVM rubies. |
Why do people upgrading OS X have to do that? |
there is one answer: Apple ... they do not have a (supported) package manager and do not care about backwards compatibility when releasing new system ... what they need is easy GUI so more users buy their products, they do not care about people that compile stuff, to much hassle for little(no) gain |
So the solution is to remove -j from any rvm_make_flags in rvm's environment. Closing as wontfix, although we can revisit it if it seems to affect many more users. |
this is hitting me on both my mavericks laptop and my ubuntu 13.10 desktop. its not just a mac/apple/clang issue. |
@lamont-granquist try removing any |
actually it seems to be better fixed by changing (i have quad cores and i install lots of different rubies and i'm impatient...) |
RVM automatically does rvm_make_flags=( -j 5 ) |
I've always seen and used '-j <N+1>' to be the standard, which lets one thread be blocked on iowait while N other threads are in the compiler/preprocessor grinding on the CPUs. There's diminishing returns on this as it goes up, but it usually works on N=2 or =4. Might also be less important now with SSDs rather than spinning rust. Anyway good to know that this is baked in now, thats the kind of information I was missing and didn't know where to look to find it... |
👍 |
so I was googling a bit and found that you could try use:
|
Trying to install ruby 1.9.3 on 10.9.2 and getting this error
name:~ name$ rvm install 1.9.3 --with-gcc=clang
ruby-1.9.3-p545 - #removing src/ruby-1.9.3-p545..
Checking requirements for osx.
Certificates in '/usr/local/etc/openssl/cert.pem' already are up to date.
Requirements installation successful.
Warning: found user selected compiler 'clang', this will suppress RVM auto detection mechanisms.
Installing Ruby from source to: /Users/name/.rvm/rubies/ruby-1.9.3-p545, this may take a while depending on your cpu(s)...
ruby-1.9.3-p545 - #downloading ruby-1.9.3-p545, this may take a while depending on your connection...
ruby-1.9.3-p545 - #extracting ruby-1.9.3-p545 to /Users/name/.rvm/src/ruby-1.9.3-p545...
ruby-1.9.3-p545 - #applying patch /Users/name/.rvm/patches/ruby/GH-488.patch.
ruby-1.9.3-p545 - #configuring...............................................
ruby-1.9.3-p545 - #post-configuration.
ruby-1.9.3-p545 - #compiling............
Error running '__rvm_make -j 1',
showing last 15 lines of /Users/name/.rvm/log/1399578403_ruby-1.9.3-p545/make.log
-- Other runtime information -----------------------------------------------
Loaded script: ./miniruby
Loaded features:
0 enumerator.so
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
make: *** [.rbconfig.time] Abort trap: 6
++ return 2
There has been an error while running make. Halting the installation.
If I try without clang I get this error...
Error running 'requirements_osx_brew_libs_install gcc46',
ANY help would be appreciated.
The text was updated successfully, but these errors were encountered: