libm and ruby

Joined
Jun 15, 2006
Messages
5
Reaction score
0
Points
1
Hi Folks,

I am trying to install some ruby gems (libxml and rubyosa) on a 12" powerbook running tiger. I have tried the gem and fink based approaches but both fail. The reason is that the fink installer looks to use ldconf (not a mac thing) while the gem fails because:

Code:
Need to update 20 gems from http://gems.rubyforge.org
....................
complete
Building native extensions.  This could take a while...
ERROR:  While executing gem ... (Gem::Installer::ExtensionBuildError)
    ERROR: Failed to build gem native extension.

ruby extconf.rb install libxml-ruby
checking for socket() in -lsocket... no
checking for gethostbyname() in -lnsl... no
checking for atan() in -lm... no
checking for atan() in -lm... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.
 extconf failure: need libm

The last line is the important thing (I think). I have xcode installed ... help please ...
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top