HOWTO: building ruby 1.6.8 with fink on mac os x

just updated this wiki page:
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 ) get fink (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 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

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

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

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