[MacRuby] #998: MacRuby does not compile on Mac OS X Leopard
MacRuby
ruby-noreply at macosforge.org
Tue Nov 16 12:36:08 PST 2010
#998: MacRuby does not compile on Mac OS X Leopard
-------------------------------+--------------------------------------------
Reporter: napau@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: trivial | Milestone:
Component: MacRuby | Keywords: compile MacRuby-0.6
-------------------------------+--------------------------------------------
Hello,
trying to compile MacRuby ends with the following message:
(See full trace by running task with --trace)
Macintosh-662:bin np$ rake jobs=2 --trace
(in /Users/Shared/MacRuby-0.6)
** Invoke default (first_time)
** Invoke all (first_time)
** Invoke macruby (first_time)
** Invoke macruby:build (first_time)
** Invoke macruby:dylib (first_time)
** Invoke rbconfig (first_time)
** Invoke miniruby (first_time)
** Invoke objects (first_time)
** Invoke config_h (first_time)
** Execute config_h
** Invoke dtrace_h (first_time)
** Execute dtrace_h
** Invoke revision_h (first_time)
** Execute revision_h
** Invoke mark_gc (first_time)
** Execute mark_gc
** Execute objects
/usr/bin/ruby tool/compile_prelude.rb prelude.rb miniprelude.c.new
/usr/bin/gcc-4.2 -I. -I./include -I/usr/include/libxml2 -arch i386 -arch
x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno-parentheses -Wno-
deprecated-declarations -Werror -std=c99 -I./icu-1060 -c array.c -o
array.o
/usr/bin/gcc-4.2 -I. -I./include -I/usr/include/libxml2 -arch i386 -arch
x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno-parentheses -Wno-
deprecated-declarations -Werror -std=c99 -I./icu-1060 -c bignum.c -o
bignum.o
rake aborted!
Command failed with status (127): [/usr/bin/gcc-4.2 -I. -I./include
-I/usr/in...]
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:719:in
`sh'
/Users/Shared/MacRuby-0.6/rakelib/builder/builder.rb:33:in `join'
/Users/Shared/MacRuby-0.6/rakelib/builder/builder.rb:33:in
`parallel_execute'
/Users/Shared/MacRuby-0.6/rakelib/builder/builder.rb:27:in `each'
As far as I can see rake catches the "wrong" Ruby. I was not able to
switch this off.
My OS is 10.5.8 Macine is Mac Mini. LLVM compiled properly and is
installed.
Regards
Norbert
--
Ticket URL: <http://www.macruby.org/trac/ticket/998>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list