delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/09/18:40:31

X-Spam-Check-By: sourceware.org
Message-Id: <1136850018.13176.251459288@webmail.messagingengine.com>
From: "Brett Serkez" <techie AT serkez DOT net>
To: "Yaakov S (Cygwin Ports)" <yselkowitz AT users DOT sourceforge DOT net>,
cygwin AT cygwin DOT com
MIME-Version: 1.0
Subject: Re: Perl/TK Missing Dependency Found
In-Reply-To: <43C2E835.3010409@users.sourceforge.net>
Date: Mon, 09 Jan 2006 18:40:18 -0500
References: <1136769271 DOT 15574 DOT 251371676 AT webmail DOT messagingengine DOT com> <43C2E835 DOT 3010409 AT users DOT sourceforge DOT net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

> > 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019