Ruby 1.9.1 installation

F

Florent THOMAS

Dear community,

I also tried the installation with ./configure --enable-pthread
Unfortunately, I still have the same issue.

Thanks for your comments,


Le dimanche 20 juin 2010 =E0 00:23 +0900, Florent THOMAS a =E9crit :
# help
Hello,
=20
I'm writing form france so please excuse my English.
The context :
I'm trying to install ruby on my centos. The purpose is to make
retrospectiva work and I need sqlite3-ruby. But unfortunately the
release available in my yum is apparently to old (ruby 1.8.5 whereas
=3D1.8.6 is expected). So I tried to follow the processus described
here : http://www.rubyenterpriseedition.com/download.html
Unfortunately, the installation of the sqlite3-ruby failed.
=20
My problem :
So I decided to compile directly the latest relase that I found here :
http://www.ruby-lang.org/fr/downloads/
I made ./configure without any pbms.
I made a make and when I ran the make test I have the following
message :
=20
[user@machine ruby-1.9.1-p378]# make test=20
=20
sample/test.rb:assignment ...............................................= ...........................................................................=
...........................................................................=
...........................................................................=
...........................................................................=
.........................
sample/test.rb:condition ..
sample/test.rb:if/unless ...
sample/test.rb:case .....
sample/test.rb:while/until ........
sample/test.rb:exception ..........
sample/test.rb:array .......................................
sample/test.rb:hash ...........................
sample/test.rb:iterator .................................................= ..............................................................
sample/test.rb:float ....................................................= ............................
sample/test.rb:bignum ...............................
sample/test.rb:string &
char ..............................................................
sample/test.rb:assignment ..........
sample/test.rb:call ......
sample/test.rb:proc .........
sample/test.rb:signal ..
sample/test.rb:eval .............................
sample/test.rb:system .........
sample/test.rb:const .....
sample/test.rb:clone .....
sample/test.rb:marshal ....
sample/test.rb:pack ....
sample/test.rb:math ..
sample/test.rb:struct ......
sample/test.rb:variable ...........
sample/test.rb:trace ...
sample/test.rb:defined? ............
sample/test.rb:alias ......
sample/test.rb:path .......................
sample/test.rb:gc ....
test succeeded
=20
test_attr.rb ..
test_autoload.rb ..........
test_block.rb .......................................................
test_class.rb ............................................
test_eval.rb ...................................
test_exception.rb .................................
test_finalizer.rb .
test_flip.rb .
test_flow.rb ............................................
test_fork.rb .
test_io.rb .........................................................
test_jump.rb .........................
test_literal.rb .........................................................= ...........................................................................=
................
test_load.rb ..
test_marshal.rb .
test_massign.rb ..................................
test_method.rb ..........................................................= ...........................................................................=
...........................................................................=
...........
test_objectspace.rb ...
test_proc.rb .................................bootstraptest.tmp.rb:5:in
`<main>': ok (RuntimeError)
test_struct.rb .
test_syntax.rb ..........................................................= ...........................................................................=
................
test_thread.rb ..bootstraptest.tmp.rb:4:in `initialize': can't create
Thread (12) (ThreadError)
from bootstraptest.tmp.rb:4:in `new'
from bootstraptest.tmp.rb:4:in `block in <main>'
from bootstraptest.tmp.rb:3:in `each'
from bootstraptest.tmp.rb:3:in `map'
from bootstraptest.tmp.rb:3:in `<main>'
F...bootstraptest.tmp.rb:3:in `initialize': can't create Thread (12)
(ThreadError)
from bootstraptest.tmp.rb:3:in `new'
from bootstraptest.tmp.rb:3:in `block in <main>'
from bootstraptest.tmp.rb:2:in `times'
from bootstraptest.tmp.rb:2:in `<main>'
F.......................................
#902 test_thread.rb:13:in `<top (required)>':=20
v =3D 0
(1..200).map{|i|
Thread.new{
i
}
}.each{|t|
v +=3D t.value
}
v
#=3D> "" (expected "20100") =20
#906 test_thread.rb:52:in `<top (required)>':=20
100.times{
Thread.new{loop{Thread.pass}}
}
#=3D> "" (expected "100") =20
FAIL 2/945 tests failed
make: *** [btest-ruby] Error 1
=20
Could you help me on this please?
=20
Best regards
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,066
Latest member
VytoKetoReviews

Latest Threads

Top