From: John Beppu Date: 2001-12-19T06:01:09+09:00 Subject: [ruby-talk:28885] Re: Ruby for Mac OS X [ date ] 2001/12/11 | Tuesday | 03:23 AM [ author ] Luc Heinrich > On 10/12/2001 19:05, "Dan Hable" wrote: > > > Does anyone know about an OS X port of Ruby? > > Ruby 1.6.5 compiles fine with minor tweakings to the makefile. ^^^^^ I couldn't figure out the right tweak. It died when it tried to build the curses extension. > Ruby 1.7.2 compiles fine, freshly checkouted from the CVS repository. ^^^^^ Is 1.7.2 available as a tar-ball anywhere? (or do I need to use CVS?) I really want to be able to program in Ruby on my laptop, but my efforts to get it installed have failed up to this point. For what it's worth, I just (as in: Tue Dec 18 13:05:55 PST 2001) tried to compile ruby out of CVS on OS X, and I got this error: cc -g -O2 -pipe -no-precomp -I. -I. -I/usr/local/include -c process.c process.c: In function `proc_setpgrp': process.c:989: too few arguments to function `setpgrp' OS X's man page for setpgrp says the following: NAME setpgid, setpgrp - set process group SYNOPSIS #include int setpgid(pid_t pid, pid_t pgrp) int setpgrp(pid_t pid, pid_t pgrp) The relevant part of process.c looks like: 985 static VALUE 986 proc_setpgrp() 987 { 988 #if defined(HAVE_SETPGRP) && defined(SETPGRP_VOID) 989 if (setpgrp() < 0) rb_sys_fail(0); 990 #else 991 # ifdef HAVE_SETPGID 992 if (setpgid(0, 0) < 0) rb_sys_fail(0); 993 # else 994 rb_notimplement(); 995 # endif 996 #endif 997 } -- I hope that helps.