From: "mpapis (Michal Papis)" Date: 2013-03-28T02:29:19+09:00 Subject: [ruby-core:53774] [ruby-trunk - Bug #7956] Install fail with RVM Issue #7956 has been updated by mpapis (Michal Papis). Ok now RVM 1.19 now tries to use gcc-4.2 first and it fails in this case: https://github.com/wayneeseguin/rvm/issues/1731 We followed the instructions from http://bugs.ruby-lang.org/issues/7956#note-7 / https://github.com/sstephenson/ruby-build/issues/290#issuecomment-14013057 which end as: So if you support Xcode 3.x and 4.2, If it is OS X use gcc-4.2 if it exists use clang if it exists raise error else Don't set CC ---------------------------------------- Bug #7956: Install fail with RVM https://bugs.ruby-lang.org/issues/7956#change-37971 Author: Sega100500 (������������ ��) Status: Third Party's Issue 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/