On 4/30/05, nobu.nokada / softhome.net <nobu.nokada / softhome.net> wrote:
> Hi,
> 
> At Sat, 30 Apr 2005 09:35:22 +0900,
> Richard Kilmer wrote in [ruby-talk:140540]:
> > Mac OS X Tiger ships with Ruby 1.8.2 pre-installed. However,
> > rbconfig.rb needs to be edited if you want to build any gems. (from
> > Rich...not gems, native extensions)
> >
> > Edit rbconfig.rb
> >
> > sudo pico -w /usr/lib/ruby/1.8/powerpc-darwin8.0/rbconfig.rb
> > Now remove -arch i386 from the CFLAGS and LDFLAGS variables.
> >
> > You will also need to change:
> > CONFIG["LIBRUBYARG_STATIC"] = "-l$(RUBY_SO_NAME)-static"
> > to:
> > CONFIG["LIBRUBYARG_STATIC"] = ""
> > _____
> 
> ARCH_FLAG should be "-arch ppc" on darwin.  As what is it
> defined, and RUBY_SO_NAME?
> 

  CONFIG["ARCH_FLAG"] = ""
  CONFIG["RUBY_SO_NAME"] = "$(RUBY_INSTALL_NAME)"

Should we update the rbconfig.rb again?  KirinDave on irc also found
another problem with the RC_CFLAGS environment variable causing
problems with, for example, RubyInline.

I thought I might release another version of my fixer upper gem.

-- 

Chad Fowler
http://chadfowler.com
http://rubycentral.org 
http://rubygarden.org 
http://rubygems.rubyforge.org (over 300,000 gems served!)