Hi,
After updating and recompiling and installing ruby, yesterday, my Tk
applications don't work anymore, all saying
/usr/local/lib/ruby/1.9/tk.rb:11:in `require':
No such file to load -- tk/autoload (LoadError)
from /usr/local/lib/ruby/1.9/tk.rb:11
There is indeed no autoload.rb on my system.
make test was ok.
But
ruby ./lib/ruby/1.9/test/unit/ui/tk/testrunner.rb
gave the same error.
Can somebody help me out?
···
--
Wybo
Message-ID: <Pine.LNX.4.58.0407121631060.7476@servalys.nl>
There is indeed no autoload.rb on my system.
Do you have 'ext/tk/lib/tk/' subdirectory?
If not, did you use '-d' option when 'cvs update'?
···
From: Wybo Dekker <wybo@servalys.nl>
Subject: tk/autoload not found
Date: Tue, 13 Jul 2004 00:29:29 +0900
--
Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)
> There is indeed no autoload.rb on my system.
Do you have 'ext/tk/lib/tk/' subdirectory?
no, it's not there
If not, did you use '-d' option when 'cvs update'?
yes, I did (in ~/CVSWORK, where I have a ruby sub directory):
cvs -z4 -d :pserver:anonymous@cvs.ruby-lang.org:/src update ruby
···
On Tue, 13 Jul 2004, Hidetoshi NAGAI wrote:
--
Wybo
But after this I did:
cvs -z4 -d :pserver:anonymous@cvs.ruby-lang.org:/src co ruby
in a newly created directory, recompiled and re-installed ruby from there,
and had no problems anymore. So it looks like update does not work?
···
On Mon, 12 Jul 2004, Wybo Dekker wrote:
On Tue, 13 Jul 2004, Hidetoshi NAGAI wrote:
> > There is indeed no autoload.rb on my system.
>
> Do you have 'ext/tk/lib/tk/' subdirectory?
no, it's not there
> If not, did you use '-d' option when 'cvs update'?
yes, I did (in ~/CVSWORK, where I have a ruby sub directory):
cvs -z4 -d :pserver:anonymous@cvs.ruby-lang.org:/src update ruby
--
Wybo
Message-ID: <Pine.LNX.4.58.0407122125280.10997@servalys.nl>
> If not, did you use '-d' option when 'cvs update'?
yes, I did (in ~/CVSWORK, where I have a ruby sub directory):
cvs -z4 -d :pserver:anonymous@cvs.ruby-lang.org:/src update ruby
Not cvs option. Please use the update command option.
Please try
cvs -z4 -d :pserver:anonymous@cvs.ruby-lang.org:/src update -d ruby
^^^^
(Please read cvs man pages.)
···
From: Wybo Dekker <wybo@servalys.nl>
Subject: Re: tk/autoload not found
Date: Tue, 13 Jul 2004 04:32:54 +0900
--
Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)