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.

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been saved. Comments are moderated and will not appear until approved by the author. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Comments are moderated, and will not appear until the author has approved them.