Actions
Bug #10275
closed
Issues when trying to complile ruby 2.1.3
Description
I encountered an issues where I was using RVM to install ruby 2.1.3 and it kept hanging at the compilation stage.
I thought this was due to a compiler issues and set the CC flag to gcc and retried the install: it still failed and the compilation crashed. See commands trail and attached make log.
trinitys@62: ~ $ CC=/usr/bin/gcc rvm install ruby 2.1.3
ruby-2.1.3 - #removing src/ruby-2.1.3..
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.7/i386/ruby-2.1.3.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Certificates in '/usr/local/etc/openssl/cert.pem' are already up to date.
Requirements installation successful.
Warning: found user selected compiler '/usr/bin/gcc', this will suppress RVM auto detection mechanisms.
Installing Ruby from source to: /Users/trinitys/.rvm/rubies/ruby-2.1.3, this may take a while depending on your cpu(s)...
ruby-2.1.3 - #downloading ruby-2.1.3, this may take a while depending on your connection...
ruby-2.1.3 - #extracting ruby-2.1.3 to /Users/trinitys/.rvm/src/ruby-2.1.3....
ruby-2.1.3 - #configuring.....................................................
ruby-2.1.3 - #post-configuration.
ruby-2.1.3 - #compiling.............
Error running '__rvm_make -j 1',
showing last 15 lines of /Users/trinitys/.rvm/log/1411284086_ruby-2.1.3/make.log
* 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.
Don't forget to include the above Crash Report log file.
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.
Files
Updated by normalperson (Eric Wong) over 10 years ago
Hi, an you reproduce the problem without RVM?
(e.g. "./configure && make && make install")
If not, please see http://rvm.io/ for help/support options.
Updated by nobu (Nobuyoshi Nakada) over 10 years ago
- Description updated (diff)
- Priority changed from 5 to Normal
Probably same as [Bug #10272].
Updated by hsbt (Hiroshi SHIBATA) over 10 years ago
- Status changed from Open to Closed
- Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN to 2.0.0: DONTNEED, 2.1: DONTNEED
Actions
Like0
Like0Like0Like0