This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Perl/TK Missing Dependency Found
> > After tedious research, I've figured out that the missing package
> > is: libwmf.
>
> None of the perl-Tk modules link against libwmf, and a grep of the
> sources for "wmf" returns nothing.
>
> In addition, neither Debian nor Gentoo show libwmf as a requirement
> for their packages.
>
> Can you please explain the basis for your findings?
It works.
Create the following perl program:
#!/usr/bin/perl
use Tk;
my $mw = MainWindow->new;
$mw->Button(
-text => "Exit",
-background => "red",
-command => sub { exit; },
)->pack( -side => 'bottom' , -fill => 'both' );
MainLoop;
Run it in, you get a nice exit button.
Uninstall the package libwmf.
Run it, it core dumps.
As I said in my original postings, I suspected it wasn't directly linked
in. I honestly don't know precisely why or how, but I know that without
this package, the simply script above doesn't work.
Please confirm on your system, should be trival, and add the dependency.
Please also bear in mind, that I only install what I need, the default
plus minimum, in this case, Perl/Tk. If this doesn't work on your
system,
please try this approach.
Thank you,
Brett
----------------------------------------------------------------
Brett C. Serkez, Techie
--
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/