From: Neil Spring Date: 2003-11-30T08:41:58+09:00 Subject: Re: Ruby on OSX 10.3 (Panther) On Sun, Nov 23, 2003 at 05:31:50AM +0900, Richard Kilmer wrote: > I tried working with Apple to do this (with special thanks > to James Duncan Davidson) but it was just too late. They > had already committed to golden master before 1.8 was > finalized :-( Richard, If you have a contact at apple managing Ruby, would you forward a concern of mine along, or direct me (off list if appropriate) to the proper way to report a problem with the ruby install on OS X 10.3.1? In rbconfig.rb, there are two oddities. First, CFLAGS includes "-arch i386 -arch ppc", twice. I think this is very odd. Second, and more importantly because it initially broke my attempts to use rbconfig.rb to autoconfigure a modified ruby interpreter, CONFIG["LIBRUBY_A"] = "lib$(RUBY_INSTALL_NAME).a" CONFIG["LIBRUBY_SO"] = "lib$(RUBY_INSTALL_NAME).so.$(MAJOR).$(MINOR).$(TEENY)" CONFIG["LIBRUBY_ALIASES"] = "lib$(RUBY_INSTALL_NAME).so" CONFIG["LIBRUBY"] = "$(LIBRUBY_A)" CONFIG["LIBRUBYARG"] = "$(LIBRUBY_A)" however, ".so" is not a shared library extension on these machines (dylib is the proper extension) and libruby.a is not installed (apparently apple dislikes static linking). It would be great if I could test for the existence of LIBRUBY_SO in libdir, or just compile with LIBRUBYARG. It's hard for me to figure out how to use these rbconfig entries to automatically discover how to build and install add-ons, and I don't remember having this difficulty with fink's ruby on jaguar. thanks, -neil