Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not starting on Ubuntu 10.10 / Ruby 1.9.2 #37

Closed
rubencaro opened this issue Mar 4, 2011 · 6 comments
Closed

Not starting on Ubuntu 10.10 / Ruby 1.9.2 #37

rubencaro opened this issue Mar 4, 2011 · 6 comments
Assignees

Comments

@rubencaro
Copy link

I just installed arcadia as a gem. Also installed tk_as_gem, ruby-debug19 and coderay gems. tcl/tk version 8.3 on my system. Ubuntu 10.10 with rvm and Ruby1.9.2.

When I run 'arcadia' one small 100x100px window quickly appears and disappears, and my cpu goes to 100%.

@rdp
Copy link
Collaborator

rdp commented Mar 4, 2011

yeah with ruby 1.9.2 I've seen this when tk apps exit. Maybe you could install tk through ubuntu packages, re-install ruby?

@ghost ghost assigned angal May 10, 2011
@angal
Copy link
Owner

angal commented May 10, 2011

there are other problems on ubuntu that I will fix in next 0.10.0 . But tcl tk 8.3 isn't supported. Is there a reason for not swiching to >=8.4 version ?

@angal
Copy link
Owner

angal commented Jun 3, 2011

fixed

@angal angal closed this as completed Jun 3, 2011
@rubencaro
Copy link
Author

Sorry, not fixed.
On the old 10.10 system didn't got it to work.

@rdp what you mean by 'install tk through ubuntu packages'? That's the way I did it, I guess. I installed tk, tcl, tk-dev and tk-dev packages.

Still getting the same behaviour on brand new (not updated) Ubuntu 11.04, rvm 1.6.18, ruby 1.9.2, tk 8.4, tk_as_gem 0.1, arcadia 0.10.

Thank you guys.

@rubencaro
Copy link
Author

I just figured it out !

The problem was to put the right compiling options needed to support tk from ruby when installing from rvm. http://beginrescueend.com/integration/tk/

Fixed !

Thanks again.

@mibamur
Copy link
Contributor

mibamur commented Sep 4, 2013

http://rvm.io/integration/tk
To get RVM working with Tk you will need ActiveState's Tcl/Tk distribution. You will then need to reinstall your RVM Ruby to take advantage of Tk.
For instance, to do this with Ruby 1.9.2 you would do something like this:

rvm install 1.9.2 --enable-pthread

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants