Ruby 1.9.1 build and Tk

P

Patrick Roemer

Hi,

I've been trying to get Tk to work with Ruby 1.9.1 on OpenSuSE 11.1
(Tcl/Tk 8.5), with no success so far. I have manually fixed the config
as suggested in ext/tk/README.1st. (There has been a warning about
incompatible pthread settings between Ruby and Tk, but trying to disable
pthread support failed the build for me.) The build works, but when
trying to use Tk, I get

/home/patrick/applications/ruby/ruby1.9.1/lib/ruby/1.9.1/tk.rb:29:in
`initialize': out of stack space (infinite loop?) (RuntimeError)
from
/home/patrick/applications/ruby/ruby1.9.1/lib/ruby/1.9.1/tk.rb:29:in
`initialize'
from
/home/patrick/applications/ruby/ruby1.9.1/lib/ruby/1.9.1/tk.rb:1168:in `new'
from
/home/patrick/applications/ruby/ruby1.9.1/lib/ruby/1.9.1/tk.rb:1168:in
`block in <module:TkCore>'

With the 1.8.7 Ruby from the SuSE repository everything works fine. Any
hints?

Best regards,
Patrick
 
H

Hidetoshi NAGAI

From: Patrick Roemer <[email protected]>
Subject: Ruby 1.9.1 build and Tk
Date: Tue, 24 Feb 2009 01:14:26 +0900
Message-ID: said:
I've been trying to get Tk to work with Ruby 1.9.1 on OpenSuSE 11.1
(Tcl/Tk 8.5), with no success so far. I have manually fixed the config
as suggested in ext/tk/README.1st. (There has been a warning about
incompatible pthread settings between Ruby and Tk, but trying to disable
pthread support failed the build for me.) The build works, but when
trying to use Tk, I get

/home/patrick/applications/ruby/ruby1.9.1/lib/ruby/1.9.1/tk.rb:29:in
`initialize': out of stack space (infinite loop?) (RuntimeError)

I can't regenerate your trouble.
My environment is
ruby 1.9.1p0 (2009-01-30 revision 21907) [i686-linux]
Linux 2.6.15.4 i686 (VineLinux 3.2 base)
 

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,982
Messages
2,570,189
Members
46,734
Latest member
manin

Latest Threads

Top