From: Mark Wilson Date: 2003-01-12T15:32:49+09:00 Subject: Re: mod_ruby and Mac OS X You are missing libruby.a, which is not included in the Mac build of Ruby (for reasons I don't know). The easiest way to get libruby.a and to continue to use the Mac provided Ruby 1.6.7 is to install RubyCocoa. The latest release (for built-in Ruby 1.6.7 on Mac) is available as a .dmg here (version 0.4.0 is the latest version): http://www.imasy.or.jp/%7ehisa/mac/rubyosx/files/ It should give a working libruby.a in the right place, permitting installation of mod_ruby. RubyCocoa is also interesting in its own right. If you want to build it yourself, you can manually install libruby.a from the source, following the instructions found here: http://www.imasy.or.jp/~hisa/mac/rubycocoa/build.en.html If you don't want to install RubyCocoa (yet), just stop after installing libruby.a. You can get the Ruby 1.6.7 .tgz file here: http://xyz.lcs.mit.edu/ruby/1.6/ You can get the RubyCocoa source here (version 0.4.0 is the latest version): http://www.imasy.or.jp/%7ehisa/mac/rubyosx/files/ On Sunday, January 12, 2003, at 12:57 AM, Dan Bailey wrote: > Anyone out there installed mod_ruby on Mac OS X 10.2? > > I've already got apache and ruby (1.6.7) installed -- they're part of > the standard 10.2 install. I also have the Dec. 2002 edition of the > OS X dev tools installed. > > For whatever reason, I cannot seem to get either eruby (which I don't > particularly want) or mod_ruby to get past the "make" point of the > compile. Here's what happens: > > [Dans-iBook:~/tempdir/eruby-1.0.0] dbailey% make > gcc eruby_logo.o eruby_main.o liberuby.a > /usr/lib/ruby/1.6/powerpc-darwin6.0/libruby.a -lobjc -o eruby > gcc: /usr/lib/ruby/1.6/powerpc-darwin6.0/libruby.a: No such file or > directory > make: *** [eruby] Error 1 > > I get similar results when I try to compile mod_ruby. > > Anyone with any experience in getting mod_ruby working with OS X? I'd > love to hear how you accomplished it. > > Thanks! > > -- Dan > > -------------------------------- > Dan Bailey > Web/Font Geek > www.fontosaurus.com > "In the depths of winter I finally learned that within me there lay an > invincible summer." -- Albert Camus