The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Compiling Ruby extentsions on Solaris

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Jared Richardson

Posts: 1031
Nickname: jaredr
Registered: Jun, 2005

Jared Richardson is an author, speaker, and consultant who enjoys working with Ruby and Rails.
Compiling Ruby extentsions on Solaris Posted: Jun 19, 2006 11:18 AM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by Jared Richardson.
Original Post: Compiling Ruby extentsions on Solaris
Feed Title: Jared's Weblog
Feed URL: http://www.jaredrichardson.net/blog/index.rss
Feed Description: Jared's weblog. The web site was created after the launch of the book "Ship It!" and discusses issues from Continuous Integration to web hosting providers.
Latest Agile Buzz Posts
Latest Agile Buzz Posts by Jared Richardson
Latest Posts From Jared's Weblog

Advertisement

I'm just passing along a tip that I had to dig out myself. This makes it easier for me to find as well. :)

When you're coding a C extension for Ruby, and you use mkmf to create your Ruby Makefile on a Solaris box, the install will fail (or at least, mine did). The compile step worked fine, but "make install" failed oddly.

Add these two bits to your generated Makefile.

-lsocket -lnsl.

I added it after -lingres and the installed worked perfectly.

I'd love to give someone credit for the tip, but I found it on Google (or was it Yahoo?) late one night and I can't find the post again. :(

Jared

Read: Compiling Ruby extentsions on Solaris

Topic: HTML in Titles Previous Topic   Next Topic Topic: Not quite

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use