Ruby won't build on Jaguar

I was put a patch file for ruby-1.6.7 with Mac OS X 10.2 (Jaguar):

http://www.imasy.or.jp/~hisa/mac/rubyosx/files/ruby-1.6.7-osx10.2.patch

RubyCocoa distribution contains same patch in misc directory.

regards,

···


FUJIMOTO Hisakuni

— ruby-1.6.7/configure 2002-08-25 09:50:27+09 1.1
+++ ruby-1.6.7/configure 2002-08-28 15:41:11+09
@@ -5076,8 +5076,8 @@
CFLAGS="$CFLAGS -pipe -no-precomp"
;;
darwin*)

  •   CFLAGS="$CFLAGS -pipe -no-precomp"
    
  •   CFLAGS="$CFLAGS -pipe"
    
    ;;
    os2_emx)
    CFLAGS="$CFLAGS -DOS2"
    — ruby-1.6.7/error.c 2002-08-25 10:05:58+09 1.1
    +++ ruby-1.6.7/error.c 2002-08-28 15:34:57+09
    @@ -469,7 +469,9 @@
    #endif

#if !defined(NT) && !defined(FreeBSD) && !defined(NetBSD) && !defined(OpenBSD) && !defined(sys_nerr)
+# if !defined(APPLE) || (APPLE_CC < 1151)
extern int sys_nerr;
+# endif
#endif

static VALUE

Thanks so much, Fujimoto. At least I know how to apply a patch.

I think it might be useful to make a Jam based build of Ruby anyway.
If I do that, I’ll put it someplace where everyone can get it.

···

On Wednesday, August 28, 2002, at 04:30 PM, FUJIMOTO Hisakuni wrote:

I was put a patch file for ruby-1.6.7 with Mac OS X 10.2 (Jaguar):

http://www.imasy.or.jp/~hisa/mac/rubyosx/files/ruby-1.6.7-> osx10.2.patch

RubyCocoa distribution contains same patch in misc directory.

regards,


FUJIMOTO Hisakuni


The higher we soar the smaller we appear to those who cannot fly.
-Friedrich Wilhelm Nietzsche, philosopher (1844-1900)