Women in Technology

Hear us Roar



Article:
  Replacing AppleScript with Ruby
Subject:   A quick note for PPC users
Date:   2007-02-28 10:37:51
From:   Macam
If you're following Matt's tutorial, you can't install from source as he does if you're on a PPC machine. To install it on a PPC machine, you'll need to download the .dmg and run the PPC .pkg installer. This is noted in the README file of the .dmg in the rb-appscript-0.3.0 folder. From that file:


"Please note that the version of Ruby included with Mac OS X 10.4 is missing the header files needed to build appscript on PPC-based Macs. You can avoid this issue by installing the latest version of Ruby from <http://www.ruby-lang.org/en/downloads/> and updating your shell login profiles to suit."


Just wanted to pass along the heads up.

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • Matt Neuburg photo A quick note for PPC users
    2007-03-01 07:07:56  Matt Neuburg | O'Reilly AuthorO'Reilly Blogger [View]

    If you're following Matt's tutorial, you can't install from source as he does if you're on a PPC machine

    In the article I describe installing from source, and I'm on a PPC machine. Perhaps the difference is that I've also installed Ruby 1.8.5?
  • A quick note for PPC users
    2007-02-28 12:43:35  hhas [View]

    Just to clarify:

    You can install rb-appscript into Tiger's Apple-installed Ruby 1.8.2 using the binary .pkg installers in the .dmg. This avoids the missing header problem on PPC; there's also an i386 installer included for convenience. Folk who would like to try out appscript but don't have gcc installed will also find this the easiest option.

    You can install your own copy of Ruby (the latest is 1.8.5) and then install rb-appscript into that from source or .gem without any problem, as long as you've got gcc installed. (If gcc isn't installed, installing any version of Developer Tools should provide a suitable copy.)

    Apologies if my readmes caused any confusion.

    has

    p.s. Great article, Matt!