Installing ruby 1.8.6 on Mac Pro gives segmentation fault (under Leopard)
Reported by: |
521E328E-2A13-4749-826A-E4EF4F22A0F1@… |
Owned by: |
macports-tickets@… |
Priority:
|
Normal
|
Milestone:
|
|
Component:
|
ports
|
Version:
|
1.5.0
|
Keywords:
|
|
Cc:
|
|
Port:
|
ruby
|
|
|
Trying to install ruby 1.8.6 but get the result shown below. This is on a Mac Pro.
% sudo port install ruby
---> Fetching ruby
⋮
---> Building ruby with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ruby/work/ruby-1.8.6" && make all " returned error 2
Command output: gcc -O2 -fno-common -pipe -fno-common -DRUBY_EXPORT -I. -I. -I/opt/local/include -c marshal.c
gcc -O2 -fno-common -pipe -fno-common -DRUBY_EXPORT -I. -I. -I/opt/local/include -c math.c
⋮
gcc -L. -O2 -fno-common -pipe -fno-common -DRUBY_EXPORT -L/opt/local/lib main.o libruby-static.a -lpthread -ldl -lobjc -o miniruby
ruby: [BUG] Segmentation fault
ruby 1.8.6 (2007-03-13) [i686-darwin9.0.0b5]
make: *** [.rbconfig.time] Abort trap
Error: Status 1 encountered during processing.
Change History (4)
Summary: |
Installing ruby 1.8.6 on Mac Pro gives segmentation fault →
Installing ruby 1.8.6 on Mac Pro gives segmentation fault (under Leopard)
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
Description: |
modified (diff)
|
Port: |
ruby added
|
Reporter: |
changed from ib51pi802@… to 521E328E-2A13-4749-826A-E4EF4F22A0F1@…
|
This patch should fix the segfault: http://chopine.be/lrz/ruby-osx-patches/ignore-gsetcontext.diff
From http://www.ruby-forum.com/topic/129201