From: Jaypee Date: 2006-08-18T03:50:07+09:00 Subject: Re: My experience with RubyCocoa Matt Todd a 辿crit : > So, I just installed RubyCocoa on my OS X machine here at work. Just > thought I'd relay some keys to getting things to work: > > * The easiest way to install RubyCocoa (on 10.4) is to use > DarwinPorts. The automatic installer does NOT work. > > * RubyCocoa requires the Ruby version that comes with OS X, so if > you've compiled your own version (etc), which will probably end up in > /usr/local/bin/, make sure you use /usr/bin/ruby or /usr/bin/irb for > doing your RubyCocoa apps. > > * RubyCocoa is fun! :D > > If I think of anything else, I'll be sure to share it. > > M.T. > Would you mind if I insert ma question here? I have had a successful experience with RubyCocoa so far on my old G4. But now I've upgraded to a Mac Intel, and I have a problem in reinstalling it from source. The "sudo ruby install.rb config" command fails with this message: ... ruby gen_cocoa_wrapper.rb cpp-3.3: installation problem, cannot exec `cc1obj': No such file or directory /usr/bin/cpp-3.3 returned 1 exit status ... I have tried gcc 4.0.1 and 3.3 to the same result. And of course, there is such a cc1obj file, not just one: /usr/libexec/gcc/darwin/ppc/3.3/cc1obj /usr/libexec/gcc/darwin/ppc/3.3-fast/cc1obj /usr/libexec/gcc/i686-apple-darwin8/4.0.1/cc1obj /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/cc1obj The permissions look good on those files (the x flag is set) I suspect something like the PATH or some other environment variable. Has anyone seen the same symptom on Intel? Thanks, Jean-Pierre