hello,
I am trying install Ruby 1.9.2 on my MacBook Pro Lion. I am following
along with the install instructions at ruby.railstutorial.org. I am the
point were you run rvm install 1.9.2. Below in what I see in the
terminal when installing and below that my rvm log. Thanks for any help.
rvm install 1.9.2
Installing Ruby from source to: /Users/user/.rvm/rubies/ruby-1.9.2-p290,
this may take a while depending on your cpu(s)…
ruby-1.9.2-p290 - #fetching
ruby-1.9.2-p290 - #extracted to /Users/user/.rvm/src/ruby-1.9.2-p290
(already extracted)
Fetching yaml-0.1.4.tar.gz to /Users/user/.rvm/archives
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 460k 100 460k 0 0 192k 0 0:00:02 0:00:02 --:–:–
198k
Extracting yaml-0.1.4.tar.gz to /Users/user/.rvm/src
Configuring yaml in /Users/user/.rvm/src/yaml-0.1.4.
Compiling yaml in /Users/user/.rvm/src/yaml-0.1.4.
Installing yaml to /Users/user/.rvm/usr
ruby-1.9.2-p290 - #configuring
ruby-1.9.2-p290 - #compiling
ERROR: Error running 'make ', please read
/Users/user/.rvm/log/ruby-1.9.2-p290/make.log
ERROR: There has been an error while running make. Halting the
installation.
2011-08-20 00:45:06] make
/usr/bin/gcc-4.2 -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
-fno-common -pipe -I. -I.ext/include/x86_64-darwin11.0.0 -I./include -I.
-DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -o main.o -c main.c
/usr/bin/gcc-4.2 -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
-fno-common -pipe -I. -I.ext/include/x86_64-darwin11.0.0 -I./include -I.
-DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -o dln.o -c dln.c
/usr/bin/gcc-4.2 -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
-fno-common -pipe -I. -I.ext/include/x86_64-darwin11.0.0 -I./include -I.
-DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -o dmydln.o -c
dmydln.c
/usr/bin/gcc-4.2 -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
-fno-common -pipe -I. -I.ext/include/x86_64-darwin11.0.0 -I./include -I.
-DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -o dmyencoding.o -c
dmyencoding.c
/usr/bin/gcc-4.2 -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
-fno-common -pipe -I. -I.ext/include/x86_64-darwin11.0.0 -I./include -I.
-DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -o version.o -c
version.c
/usr/bin/gcc-4.2 -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
-fno-common -pipe -I. -I.ext/include/x86_64-darwin11.0.0 -I./include -I.
-DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -o dmyversion.o -c
dmyversion.c
/usr/bin/gcc-4.2 -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
-fno-common -pipe -I. -I.ext/include/x86_64-darwin11.0.0 -I./include -I.
-DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -o miniprelude.o -c
miniprelude.c
/usr/bin/gcc-4.2 -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
-fno-common -pipe -I. -I.ext/include/x86_64-darwin11.0.0 -I./include -I.
-DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -o array.o -c array.c
/usr/bin/gcc-4.2 -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
-fno-common -pipe -I. -I.ext/include/x86_64-darwin11.0.0 -I./include -I.
-DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -o bignum.o -c
bignum.c
/usr/bin/gcc-4.2 -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
-fno-common -pipe -I. -I.ext/include/x86_64-darwin11.0.0 -I./include -I.
-DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -o class.o -c class.c
/usr/bin/gcc-4.2 -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
-fno-common -pipe -I. -I.ext/include/x86_64-darwin11.0.0 -I./include -I.
-DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -o compar.o -c
compar.c
/usr/bin/gcc-4.2 -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
-fno-common -pipe -I. -I.ext/include/x86_64-darwin11.0.0 -I./include -I.
-DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -o complex.o -c
complex.c
/usr/bin/gcc-4.2 -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
-fno-common -pipe -I. -I.ext/include/x86_64-darwin11.0.0 -I./include -I.
-DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -o dir.o -c dir.c
/usr/bin/gcc-4.2 -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
-fno-common -pipe -I. -I.ext/include/x86_64-darwin11.0.0 -I./include -I.
-DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -o dln_find.o -c
dln_find.c
/usr/bin/gcc-4.2 -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
-fno-common -pipe -I. -I.ext/include/x86_64-darwin11.0.0 -I./include -I.
-DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -o enum.o -c enum.c
/usr/bin/gcc-4.2 -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
-fno-common -pipe -I. -I.ext/include/x86_64-darwin11.0.0 -I./include -I.
-DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -o enumerator.o -c
enumerator.c
/usr/bin/gcc-4.2 -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
-fno-common -pipe -I. -I.ext/include/x86_64-darwin11.0.0 -I./include -I.
-DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -o error.o -c error.c
/usr/bin/gcc-4.2 -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
-fno-common -pipe -I. -I.ext/include/x86_64-darwin11.0.0 -I./include -I.
-DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -o eval.o -c eval.c
/usr/bin/gcc-4.2 -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
-fno-common -pipe -I. -I.ext/include/x86_64-darwin11.0.0 -I./include -I.
-DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -o load.o -c load.c
/usr/bin/gcc-4.2 -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
-fno-common -pipe -I. -I.ext/include/x86_64-darwin11.0.0 -I./include -I.
-DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -o proc.o -c proc.c
/usr/bin/gcc-4.2 -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
-fno-common -pipe -I. -I.ext/include/x86_64-darwin11.0.0 -I./include -I.
-DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -o file.o -c file.c
file.c: In function ‘file_expand_path’:
file.c:2852: warning: ‘b’ may be used uninitialized in this function
/usr/bin/gcc-4.2 -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
-fno-common -pipe -I. -I.ext/include/x86_64-darwin11.0.0 -I./include -I.
-DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -o gc.o -c gc.c
/usr/bin/gcc-4.2 -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
-fno-common -pipe -I. -I.ext/include/x86_64-darwin11.0.0 -I./include -I.
-DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -o hash.o -c hash.c
/usr/bin/gcc-4.2 -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
-fno-common -pipe -I. -I.ext/include/x86_64-darwin11.0.0 -I./include -I.
-DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -o inits.o -c inits.c