pjhyett
9/5/2006 3:23:00 AM
Arnaud Bergeron wrote:
> On 8/17/06, Jaypee <rf.oodanaw@sd.eepyaj> wrote:
> > 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
> >
>
> Yes, upgrade to xcode 2.3 or later (it's at 2.4 now).
>
Running 10.4.7, just upgraded to xcode 2.4 and am still getting:
cpp-3.3: installation problem, cannot exec `cc1obj': No such file or
directory
-PJ