delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/12/13/06:53:35

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <3551E1877C7A4F9EA99799CED176646E@desktop2>
From: "Sisyphus" <sisyphus1 AT optusnet DOT com DOT au>
To: <cygwin AT cygwin DOT com>, "Michael Kairys" <kairys AT comcast DOT net>
References: <fjr4t5$5sf$1 AT ger DOT gmane DOT org>
In-Reply-To: <fjr4t5$5sf$1@ger.gmane.org>
Subject: Re: Need help with Perl/Tk
Date: Thu, 13 Dec 2007 22:51:23 +1100
MIME-Version: 1.0
X-Mailer: Microsoft Windows Mail 6.0.6000.20661
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

----- Original Message ----- 
From: "Michael Kairys" <kairys AT comcast DOT net>
To: <cygwin AT cygwin DOT com>
Sent: Thursday, December 13, 2007 10:26 PM
.
.
>
> Can't load '/usr/lib/perl5/vendor_perl/5.8/cygwin/auto/Tk/Tk.dll' for 
> module Tk:
> No such file or directory at /usr/lib/perl5/5.8/cygwin/DynaLoader.pm line 
> 230.
>
> However /usr/lib/perl5/vendor_perl/5.8/cygwin/auto/Tk/Tk.dll is in fact 
> there:

Yes ... but note that the error message doesn't actually say that 
'/usr/lib/perl5/vendor_perl/5.8/cygwin/auto/Tk/Tk.dll' could not be found. 
In fact, it says that '/usr/lib/perl5/vendor_perl/5.8/cygwin/auto/Tk/Tk.dll' 
could not be *loaded* ... which implies that 
'/usr/lib/perl5/vendor_perl/5.8/cygwin/auto/Tk/Tk.dll' *was* found .... but 
... ummm ... couldn't be *loaded*.

Why couldn't it be loaded ? Perhaps because it tried to load a file 
(usually, in my experience, a dll) that couldn't be found at 
/usr/lib/perl5/5.8/cygwin/DynaLoader.pm line 230.

(When it comes to DynaLoader you gotta learn to read the fine print and make 
intuitive leaps :-)
.
.
>
> However when I asked in that thread "Is it correct that Cygwin Perl/Tk 
> requires a running X server?" I got:
>
>> That is one of the stranger assertions to pass by here in a while.
>

I must confess that my reaction would have been pretty much the same. On 
native Win32, Tk simply "works" ... and no X Server.

In the final analysis, I can't answer your question(s), but I do look 
forward to learning just what the correct solution is :-)

Cheers,
Rob 


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