Actions
Bug #14076
closedInstalling Ruby 2.3.1 - Ubuntu 17.10
Bug #14076: Installing Ruby 2.3.1 - Ubuntu 17.10
Description
When installing ruby 2.3.1 using rbenv I get the error below:
Last 10 log lines: -- C level backtrace information ------------------------------------------- verconf.h updated compiling loadpath.c linking static-library libruby-static.a ar: `u' modifier ignored since `D' is the default (see `U') Segmentation fault (core dumped) uncommon.mk:654: recipe for target 'enc.mk' failed make: *** [enc.mk] Error 139 make: *** Waiting for unfinished jobs.... verifying static-library libruby-static.a I hope this helps track it.
Updated by nobu (Nobuyoshi Nakada) about 8 years ago
- Status changed from Open to Rejected
2.3.1 is outdated.
Updated by kubak (Kuba Krzempek) about 8 years ago
The problem stems from default gcc version (it's 7) used on Ubuntu 17.10.
Installing gcc-6 and running the install via
CC=/usr/bin/gcc-6 rbenv install 2.3.1
should help.
I leave the note for someone passing thru this issue with the same problem (as I did today).
Updated by igorzovisk (Igor Vicente) over 7 years ago
kubak (Kuba Krzempek) wrote:
The problem stems from default gcc version (it's 7) used on Ubuntu 17.10.
Installing gcc-6 and running the install via
CC=/usr/bin/gcc-6 rbenv install 2.3.1
should help.I leave the note for someone passing thru this issue with the same problem (as I did today).
That helped me. Thanks.
Actions