-
Notifications
You must be signed in to change notification settings - Fork 23
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
Support for Tcl/Tk 8.7 #34
Comments
Interestingly, passing these configure flags:
appears to builds the gem successfully, but things still do not run:
tcltklib.so is indeed found in the directory, so the "could not be found" message is misleading. I wonder if it is a versioning issue - is more work required with Ruby-Tk's internals to support Tcl/Tk 8.7 than just doing a version bump? |
My setup is the current version of RubyInstaller (3.0), and Tcl/Tk tip-of-8.7 built against MinGW, on Windows 10. |
I don't think there are any current plans to support Tcl/Tk 8.7. However, we would definitely consider a pull request that added support for 8.7 without changing behavior for other supported versions. I searched for that error message in both the ruby and ruby-tk sources and couldn't find it. Is it an error message from Tcl/Tk that Ruby is using when raising the exception? Your best bet for debugging this is build ruby and the gem with debugging symbols, then run ruby using a debugger to see exactly where that exception is being raised. You could probably put breakpoints on |
That's a Ruby error message--a Google search for the string shows up several Stack Overflow entries on various modules. I suspect the issue is simply that, as you say, Tcl/Tk 8.7 isn't supported. Perhaps I'll come back when 8.7 is officially released. |
Leaving open to keep on the board and track with Tcl/Tk release. |
Today I just read this on ruby reddit: https://old.reddit.com/r/ruby/comments/1169ti9/whatever_happened_to_ruby/ This part I found quite interesting: "Apparently Ruby don’t support tk 8.6" Now, personally, I use mostly ruby-gtk3, which works well for my use cases. But some people use ruby-tk, https://github.com/AndyObtiva/glimmer-dsl-tk So for these projects it would be nice if someone could find and track progress for ruby-tk in regards |
I guess the question is how/if one can track progress for the ruby-specific parts, to allow for tk 8.6 and so forth. I assume one would need some C knowledge? This would probably be where many people drop off. I know some ruby, but my C knowledge is very, very limited. But what if we could, say, add partial support? So people could work on some widgets, and make these work (with tests) and then move on to do other things. That would still be better than no support for later tk. |
@rubyFeedback Ruby most certainly supports Tk 8.6. That is the main version that was used in Glimmer DSL for Tk (note how it mentions ActiveTcl 8.6). Everybody makes mistakes and people say things that are wrong sometimes. Don't take their word for granted no matter how many people agree with them as everyone could be wrong every once in a while. Always question everything and investigate facts yourself. |
I am a member of the core Tcl/Tk development team and have wanting to test Ruby-Tk against some recent updates to the tip of Tk 8.7 in a Ruby app I maintain. I'm unable to build this gem against Tk 8.7 because it is listed as an unsupported version in extconf.rb. I have tried manually editing the file and also passing 8.7 as a configure flag ("--with-tcltkversion=8.7") but the build system seems to ignore these flags and/or overwrite my locally edited configuration. Can you either add support for Tcl/Tk 8.7 or provide guidance on how to override the restrictions in this gem? I understand that Tk 8.7 is not yet released, but it is maturing rapidly and it would be helpful to be able to build this gem against that version. Thank you.
The text was updated successfully, but these errors were encountered: