Tom Copeland's Recent Posts

RSS Feeds

« A small fix for JavaCC 4.2's code generation | Main | Advanced ActiveRecord screencast »

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d83451d3c069e2010536790b70970b

Listed below are links to weblogs that reference libxml-ruby and extconf failure: need libm:

Comments

I absolutely concur with this post :)

Just for the sake of easing the trouble to many other users (like me) that have run into similar issues, I would like to add that another 'doh' cause for this issue is not having the 'ruby-devel' package installed.

In my case I was also getting that same absolutely unfriendly error "need libm", but after checking the logs in libxml-ruby-/ext/libxml/mkmf.log I found another error message while testing for atan function: "ruby-static" could not be found. ruby-static lives in ruby-devel package, but it seems extconf never bothers to check that it is actually installed before checking for libm.

The comments to this entry are closed.