Libm libxml ruby-osa os x help

Hi folks,

I am trying to convert some of my nasty perl into nice neat ruby. The
scripts are used to control iTunes and I wanted to use ruby as it has
the rbosa library. To install this lib on the mac (power pc, latest
xcode, tiger) I need to have libxml. I have tried using fink and gems
to do this - but both fail.

The fink package fails as it tries to use ldconf (not a mac thing) while
the gem route fails as there appears to be no libm! Libm on the mac I
think is /usr/lib/libm.dylib — I can’t work out how to get this
running … can anyone help?

Thanks*

Sorry if this is more of a mac problem than a ruby one (I have also
tried the mac groups)

You might try Mac Ports (http://www.macports.org/)

On 22 Dec, 01:57, Dna Kp [email protected] wrote:

The fink package fails as it tries to use ldconf (not a mac thing) while
the gem route fails as there appears to be no libm!

Dunno why you should get that error installing the gem (sudo gem
install libxml-ruby); I see libxml2 (and libm) at /usr/lib on my Tiger
box and have installed the libxml gem on it in the past.

Those problems aside, can I suggest trying rb-appscript instead? As
well as being a better bridge than RubyOSA, it doesn’t have any third-
party dependencies to worry about. See my sig. for links.

HTH

has

Thanks for the help. I have opted for rb-appscript - it has installed
ok and now all I have to do is set the correct environment paths.

TTFN

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs