libm libxml ruby-osa os x help

D

Dna Kp

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)
 
H

has

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
 
D

Dna Kp

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,434
Messages
2,571,689
Members
48,796
Latest member
Greg L.

Latest Threads

Top