I'm happy to report that it now seems to install from cpan if you simply "force" the install. Forcing is necessary to make it not worry that a bunch of tests fail. I get tests failing on Perl/Tk on Red Hat Linux 9, so I'm hoping that these are just small bugs in independent parts of Tk that will get squished over time. Anyway, "Hello, world" runs:
#!/usr/bin/perl use Tk; my $mw = MainWindow->new; $mw->title("Hello World"); $mw->Button(-text => "Done", -command => sub { exit })->pack; MainLoop;
I found a patch for Tk800.024, and the current version is .025. Perhaps this patch is now part of the distribution?
Another thing to note: this appears to be a Win32-aware version of Tk. It doesn't appear to be using X. That's kind of odd, since it built a bunch of X-related stuff... Suits me, though. I don't want to have to run an X server just to get a simple GUI program running under Cygwin.
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/