Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^3: Win32 Tk::TableMatrix CTRL+c bug?

by JamesNC (Chaplain)
on Sep 27, 2004 at 20:22 UTC ( [id://394335]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Win32 Tk::TableMatrix CTRL+c bug?
in thread Win32 Tk::TableMatrix CTRL+c bug?

That is great news! Would you please post a tested example that works under Win32 w/ ActiveState's perl distribution like the posted question? I would be very interested in learning how to use Widgets designed for Tcl without having Tcl installed :) Thanks!
  • Comment on Re^3: Win32 Tk::TableMatrix CTRL+c bug?

Replies are listed 'Best First'.
Re^4: Win32 Tk::TableMatrix CTRL+c bug?
by eserte (Deacon) on Sep 27, 2004 at 20:44 UTC
    I don't understand your question: the posted example works (except apparently for some Tk versions under Windows). If you want to know how to port widgets designed for Tcl/Tk, then you have to look at the source code of Tk::TableMatrix, but I have to warn you, it's not that simple...
      Updated:I was able to track this problem down, and it was caused by a bad binary module distribution on Theory. I downloaded the CPAN source and built it out on Win2K/AS 5.8.3.809/Tk 804.027 using MS Visual Studio and it built and installed w/o a hitch and all the demos worked 4.0.

      I contacted Randy Kobes and he said he would upload a new version.

      The lesson for me here is that you can't assume that just because the module is on a PPM site that it actually works I guess... ack!
      Also, Tcl is NOT required as Eserte stated. Thank you Eserte.
      JamesNC
      Well you wrote: Tk::TableMatrix does not need Tcl (as other Perl/Tk widgets, too). All "Tcl" bits in the documentation are probably left-overs of the original Tcl doc.

      So, you are saying, I don't need Tcl installed for that Module to work because the Pod is wrong. So, I say back to you - Please prove this to me because I am running the same set up as the original poster, only I didn't have Tcl installed. I get an exception in the DynaLoader when I try to use that module (installed for my build via PPM). He didn't say he had Tcl installed until after I posted to him. I even said I didn't have Tcl installed and I am not one to troubleshoot that if it is the problem ( it just wasn't on his environment list...) You are saying I don't need Tcl. And I am telling you, it doesn't work as it is posted and the only thing I could think of was that Tcl was missing. Period. I don't waste folks time jabbering about stuff I haven't tried and verified. I have been using Tk for about 2 years on Win32 now. Please post the code that you say works without Tcl on Win32 for this module, because it doesn't work for me. I haven't seen ANY Tcl Widgets work without Tcl installed.
        Sorry, I can't help, because I don't have Windows available. And the following won't show any traces of tcl include files or libraries on my Linux box:
        cd Tk-TableMatrix-1.01 strace -f -eopen perl Makefile.PL | & grep -i tcl strace -f -eopen make | & grep -i tcl strace -f -eopen make test | & grep -i tcl
        I can't think of any reason why this should be different on Windows.

        Update: -f added

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://394335]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2024-04-25 22:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found