#12859: Installing ruby 1.8.6 on Mac Pro gives segmentation fault (under Leopard) -----------------------------------------------------------------+---------- Reporter: 521E328E-2A13-4749-826A-E4EF4F22A0F1@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.5.0 Resolution: fixed | Keywords: Port: ruby | -----------------------------------------------------------------+---------- Changes (by ryandesign@…): * port: => ruby * reporter: ib51pi802@… => 521E328E-2A13-4749-826A-E4EF4F22A0F1@… Old description:
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.
New description: 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. }}} -- -- Ticket URL: <https://trac.macports.org/ticket/12859#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS