Issue #7956 has been updated by marcandre (Marc-Andre Lafortune).

Status changed from Open to Closed

mpapis (Michal Papis) wrote:
> the latest version of `rvm get head` solves this problem by switching to `clang` => `gcc -v | grep -i llvm && export CC=clang` - only on OSX, does not make any troubles on other platforms.

Thanks!

I'm closing this issue, but will reopen if anyone has troubles (in which case please provide logs like nstoker did)

----------------------------------------
Bug #7956: Install fail with RVM
https://bugs.ruby-lang.org/issues/7956#change-37155

Author: Sega100500 (妊快??忍快抄 ??)
Status: Closed
Priority: Urgent
Assignee: 
Category: 
Target version: 
ruby -v: 2.0.0


$ uname -a
Linux my-debian.ru 2.6.32-5-686 #1 SMP Fri Feb 15 15:48:27 UTC 2013 i686 GNU/Linux

$ $ \curl -L https://get.rvm.io | bash -s stable --ruby

...

Error running 'make', please read /home/ruby2/.rvm/log/ruby-2.0.0-p0/make.log
There has been an error while running make. Halting the installation.

/home/ruby2/.rvm/log/ruby-2.0.0-p0/make.log:

->CC = gcc
<------>LD = ld
<------>LDSHARED = gcc -shared
<------>CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initialize
<------>XCFLAGS = -include ruby/config.h -include ruby/missing.h -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hid
<------>CPPFLAGS = -I/home/ruby2/.rvm/usr/include   -I. -I.ext/include/i686-linux -I./include -I.
<------>DLDFLAGS = -Wl,-soname,libruby.so.2.0 -L/home/ruby2/.rvm/usr/lib  -Wl,-R/home/ruby2/.rvm/usr/lib  -fstack-protector..
<------>SOLIBS = -lpthread -lrt -ldl -lcrypt -lm..
linking miniruby
rbconfig.rb unchanged
generating enc.mk
generating prelude.c
compiling prelude.c
linking static-library libruby-static.a
verifying static-library libruby-static.a
linking shared-library libruby.so.2.0.0
generating encdb.h
encdb.h unchanged
making enc
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make[1]: 孛快抖?? `enc' 扶快 ????快忌??快?? 志??扭抉抖扶快扶我?? 抗抉技忘扶忱.
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
making srcs under enc
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make[1]: 孛快抖?? `srcs' 扶快 ????快忌??快?? 志??扭抉抖扶快扶我?? 抗抉技忘扶忱.
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
generating transdb.h
transdb.h unchanged
making trans
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
compiling ./enc/trans/emoji_sjis_softbank.c
./enc/trans/emoji_sjis_softbank.c:6348:43: error: invalid suffix "y" on integer constant
make[1]: *** [enc/trans/emoji_sjis_softbank.o] ????我忌抗忘 1
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make: *** [trans] ????我忌抗忘 2




-- 
http://bugs.ruby-lang.org/