Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
1.9.3 Error running '__rvm_make -j4' #4200
I cannot install an old ruby version, 1.9.3-p194, on macOS High Sierra.
Steps to reproduce
Error running '__rvm_make -j4', please read /Users/patrick/.rvm/log/1507348148_ruby-1.9.3-p194/make.log There has been an error while running make. Halting the installation.
I'm seeing the same error, namely:
For me, however, this is occurring in yet another set of cases, which are apparently inconsistent with the previous reports. I'm hitting it when building Ruby 1.9.3-p551 on macOS 10.13 with recent versions of GCC:
Building Ruby 1.9.3-p551 with GCC 4.9.4 (Homebrew email@example.com 4.9.4), via
(3 occurrences of this pair of errors, corresponding to
These are suspiciously similar to an old GCC issue. If I understand correctly, this was caused by Apple reinterpreting the short-circuiting behavior of
On the other hand, I can successfully build Ruby 1.9.3-p551 with Clang 900.0.38 (Apple LLVM 9.0.0, Xcode 9.0.1) via
Given that this appears to be the only way to build Ruby 1.9.3 on my system, it would be very helpful to know what sorts of errors I might expect. Unfortunately, I haven't figured out an effective way to search for this. The closest I've come is this vague reference from 5 years ago.
All other MRI versions build successfully, apparently using
Note: I updated RVM via
@pkuczynski Yeah, for me the fix was to do a complete reinstall of macOS. I had configured a new system using the Migration Assistant and nothing I did would get ruby to find the headers it needed to compile. A clean reinstall of the system fixed the problem. No idea what the actual cause was.
+1 for @eirvandelden; The
I'm on a brand new iMac, running OSX10.13.3. Oddly there's no sign of an obvious error in the make.log - it just suddenly fails: