X-Spam-Check-By: sourceware.org Message-Id: <1136850018.13176.251459288@webmail.messagingengine.com> From: "Brett Serkez" To: "Yaakov S (Cygwin Ports)" , cygwin AT cygwin DOT com Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1" 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 Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/