# HOWTO: building ruby 1.6.8 with fink on mac os x

**URL:** <https://rubytalk.org/t/howto-building-ruby-1-6-8-with-fink-on-mac-os-x/4106>\
**Category:** ruby-talk\
**Created:** [13 January 2003 21:32 UTC](https://rubytalk.org/t/howto-building-ruby-1-6-8-with-fink-on-mac-os-x/4106 "2003-01-13T21:32:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brennan\_Leathers](https://avatars.discourse-cdn.com/v4/letter/b/838e76/32.png) [@Brennan\_Leathers](https://rubytalk.org/u/Brennan_Leathers)\
**Post date:** [13 January 2003 21:32 UTC](https://rubytalk.org/t/howto-building-ruby-1-6-8-with-fink-on-mac-os-x/4106/1 "2003-01-13T21:32:24Z")

</div>

just updated this wiki page:  
[http://www.rubygarden.org/ruby?RubyOnMacintosh](http://www.rubygarden.org/ruby?RubyOnMacintosh)

with:

> **···**
>
> * * *
> 
> building 1.6.8 on os x with readline, gdbm, tcltk, x11
> 
> download and install Apple’s X11 for OS X and its SDK. (  
> [http://www.apple.com/macosx/x11](http://www.apple.com/macosx/x11) ) get fink ([fink.sf.net](http://fink.sf.net)) and  
> optionally, FinkCommander? front-end do fink selfupdate-cvs at prompt  
> or from FinkCommander? menus install fink packages for readline, gdbm,  
> tcltk, and system-x11 download 1.6.8 source from [ruby-lang.org](http://ruby-lang.org) and put  
> it somewhere.
> 
> [optional] if you already have a 1.6.8 source project directory, run  
> these two commands in the project dir just to be safe. rm config.cache  
> make clean
> 
> then, CFLAGS=’-g -O2 -fno-common -I/sw/include -L/sw/lib  
> -I/usr/X11R6/include -L/usr/X11R6/lib’ ./configure
> 
> ## make sudo make install ranlib /path/to/libruby.a ( something like /usr/local/lib/ruby/1.6/powerpc-darwin6.x/libruby.a )
> 
> the only problem is, I haven’t been able to get rubycocoa to use this  
> build yet, it gives me a segmentation fault. rubycocoa works fine with  
> the ruby 1.6.7-3 from fink, though.
> 
> digibren

---

<div class="post-metadata">

**Author:** ![FUJIMOTO\_Hisakuni](https://avatars.discourse-cdn.com/v4/letter/f/90ced4/32.png) [@FUJIMOTO\_Hisakuni](https://rubytalk.org/u/FUJIMOTO_Hisakuni)\
**Post date:** [14 January 2003 01:09 UTC](https://rubytalk.org/t/howto-building-ruby-1-6-8-with-fink-on-mac-os-x/4106/2 "2003-01-14T01:09:06Z")

</div>

Please try to apply a patch of [ruby-talk:61176] or:

[http://www.imasy.or.jp/~hisa/mac/rubycocoa/news.en.html#1042297376](http://www.imasy.or.jp/~hisa/mac/rubycocoa/news.en.html#1042297376)

> **···**
>
> At Tue, 14 Jan 2003 06:32:24 +0900, Brennan Leathers wrote:
> 
> > the only problem is, I haven’t been able to get rubycocoa to use this  
> > build yet, it gives me a segmentation fault. rubycocoa works fine with  
> > the ruby 1.6.7-3 from fink, though.
> 
> –  
> FUJIMOTO Hisakuni

---

<div class="post-metadata">

**Author:** ![Brennan\_Leathers](https://avatars.discourse-cdn.com/v4/letter/b/838e76/32.png) [@Brennan\_Leathers](https://rubytalk.org/u/Brennan_Leathers)\
**Post date:** [14 January 2003 05:21 UTC](https://rubytalk.org/t/howto-building-ruby-1-6-8-with-fink-on-mac-os-x/4106/3 "2003-01-14T05:21:52Z")

</div>

thank you for the link, I had been at your page earlier today but had  
not looked at the news. this helps, now I can use my perfect  
do-everything ruby 1.6.8 instead of having to switch between two.

it might be good to update build.en.html to reflect the patch needed  
for 1.6.8

brennan

> **···**
>
> On Monday, January 13, 2003, at 08:09 PM, FUJIMOTO Hisakuni wrote:
> 
> > Please try to apply a patch of [ruby-talk:61176] or:
> > 
> > [http://www.imasy.or.jp/~hisa/mac/rubycocoa/news.en.html#1042297376](http://www.imasy.or.jp/~hisa/mac/rubycocoa/news.en.html#1042297376)
