From: Hidetoshi NAGAI Date: 2005-11-28T12:30:27+09:00 Subject: Re: Mac OS X TK From: James Edward Gray II Subject: Re: Mac OS X TK Date: Mon, 28 Nov 2005 09:26:17 +0900 Message-ID: <450D6791-CD09-492D-8F94-8CB832B90C3A@grayproductions.net> > > Please check the RELEASE_DATEs by > > --------------------------------------------------------------- > > /usr/local/bin/ruby -r tk -e 'p TclTkLib::RELEASE_DATE; p > > Tk::RELEASE_DATE; p TkUtil::RELEASE_DATE' > > --------------------------------------------------------------- > > $ /usr/local/bin/ruby -r tk -e 'p TclTkLib::RELEASE_DATE; p > Tk::RELEASE_DATE; p TkUtil::RELEASE_DATE' > /usr/local/lib/ruby/1.8/tk/event.rb:397: undefined method > `_define_attribute_aliases' for CallbackSubst:Class (NoMethodError) > from /usr/local/lib/ruby/1.8/tk.rb:804 Ah, sorry. --------------------------------------------------------------- /usr/local/bin/ruby -r tcltklib -e 'p TclTkLib::RELEASE_DATE' /usr/local/bin/ruby -r tkutil -e 'p TkUtil::RELEASE_DATE' grep RELEASE_DATE /usr/local/lib/ruby/1.8/tk.rb --------------------------------------------------------------- > I pull a fresh copy of the Ruby source whenever I try to build. I > have however upgraded to 1.8.3 and 1.8.4pr1, then downgraded back to > 1.8.2. Could my library directories be messed up by this process? Maybe. Was the fresh copy extracted to a new clean directory? Your '/usr/local/lib/ruby/1.8/tk/event.rb' is derived from 1.8.3 or 1.8.4-preview1, and your '/usr/local/lib/ruby/1.8/powerpc-darwin8.3.0/ tkutil.bundle' is derived from 1.8.2. Please rename '/usr/local/lib/ruby' to '/usr/local/lib/ruby.old', and try to re-install Ruby from a new clean directory. -- Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)