Opened 15 years ago

Closed 15 years ago

#21359 closed defect (fixed)

Cannot compile ruby 1.8.7 on Snow Leopard

Reported by: gmwilson@… Owned by: kimuraw (kimura wataru)
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: ruby

Description

Ruby 1.8.7 fails to build

Setup:

  • OS X 10.6.1 (Snow Leopard)
  • macports 1.8.0
  • removed all exising ports

Tried setting "build_arch 86_64" in /opt/local/etc/macports/macports.conf, but no change.

Attachments (1)

ruby1.8.7_log.txt (4.1 KB) - added by gmwilson@… 15 years ago.

Download all attachments as: .zip

Change History (6)

Changed 15 years ago by gmwilson@…

Attachment: ruby1.8.7_log.txt added

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to kimuraw@…

comment:2 Changed 15 years ago by gmwilson@…

Opps, obvious typo above (but not in macports.conf): "build_arch 86_64" => "build_arch x86_64"

comment:3 Changed 15 years ago by kimuraw (kimura wataru)

port:ruby is ready for build_arch, but port:readline is not. you can install readline with +universal, then install ruby with build_archs. for example;

  $ sudo port -v sync
  $ (edit macports.conf)
  # universal_target        10.6
  # universal_sysroot       /Developer/SDKs/MacOSX10.6.sdk
  # universal_archs         x86_64 i386
  # (build_archs i386 or x86_64)
  $ sudo port -n upgrade --force --enforce-variants ncurses +universal readline +universal
  $ sudo port install ruby

comment:4 Changed 15 years ago by gmwilson@…

Thanks for that!
Followed above instructions and managed to build ruby using MacPorts 1.8.0

comment:5 Changed 15 years ago by kimuraw (kimura wataru)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.