Brian Candler wrote:
> Tridib Bandopadhyay wrote:
>> test_fork.rb .
>> #174 test_thread.rb:191:in `<top (required)>':
>>    begin
>>      100.times do |i|
>>        begin
>>          Thread.start(Thread.current) {|u| u.raise }
>>          raise
>>        rescue
>>        ensure
>>        end
>>      end
>>    rescue
>>      100
>>    end
>>   #=> "" (expected "100")  [ruby-dev:31371]
>> FAIL 1/948 tests failed
>> make: *** [btest-ruby] Error 1
> ...
>> What should I do now?..
> 
> Well, all tests passed except one, and maybe you can live with that.
> 
> The test which fails includes a reference to a mailing list posting:
> http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-dev/31371
> (unfortunately in Japanese), so this looks like a regression test.
> 
> You need to post your exact O/S details (distro and version, preferably 
> including your gcc version)


I not working mainly on Linux...I am working on Windows Vista service 
pack 1. And is using the Putty Server to access all my files which is in 
my School server.So it follows almost Unix commands.

As you suggested i followed all the steps (including the earlier error 
which was showing when i was typing make test)..I tried to run the make 
install command and I was shown this things.

./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb  ./instruby.rb 
--make="make" --dest-dir="" --extout=".ext" --mflags="" --make-flags="" 
--data-mode=0644 --prog-mode=0755 --installed-list .installed.list 
--mantype="doc"
installing binary commands
/usr/local/courses/731/Tridib.Bandopadhyay/ruby/lib/fileutils.rb:240:in 
`mkdir': Permission denied - /usr/local/lib/ruby (Errno::EACCES)
        from 
/usr/local/courses/731/Tridib.Bandopadhyay/ruby/lib/fileutils.rb:240:in 
`fu_mkdir'
        from 
/usr/local/courses/731/Tridib.Bandopadhyay/ruby/lib/fileutils.rb:217:in 
`block (2 levels) in mkdir_p'
        from 
/usr/local/courses/731/Tridib.Bandopadhyay/ruby/lib/fileutils.rb:215:in 
`reverse_each'
        from 
/usr/local/courses/731/Tridib.Bandopadhyay/ruby/lib/fileutils.rb:215:in 
`block in mkdir_p'
        from 
/usr/local/courses/731/Tridib.Bandopadhyay/ruby/lib/fileutils.rb:201:in 
`each'
        from 
/usr/local/courses/731/Tridib.Bandopadhyay/ruby/lib/fileutils.rb:201:in 
`mkdir_p'
        from ./instruby.rb:159:in `makedirs'
        from ./instruby.rb:234:in `block in <main>'
        from ./instruby.rb:409:in `call'
        from ./instruby.rb:409:in `block (2 levels) in <main>'
        from ./instruby.rb:406:in `each'
        from ./instruby.rb:406:in `block in <main>'
        from ./instruby.rb:402:in `each'
        from ./instruby.rb:402:in `<main>'
make: *** [do-install-nodoc] Error 1

Also my gcc version is..

gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-11)


Actually I want to compile the ruby source code and build it and then 
want to run a small program.

What should i do now?.



-- 
Posted via http://www.ruby-forum.com/.