From: Andrew DeFaria <Andrew@DeFaria.com>
To: cygwin@cygwin.com
Subject: Re: Need help with Perl/Tk
Date: Thu, 13 Dec 2007 14:57:00 -0000 [thread overview]
Message-ID: <fjrh39$gej$1@ger.gmane.org> (raw)
In-Reply-To: <3551E1877C7A4F9EA99799CED176646E@desktop2>
Sisyphus wrote:
>> 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 :-)
Yes but it did indeed state "No such file or directory...". Would it be
that hard for DynaLoader.pm to mention exactly which file it was looking
for?
>> 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.
I was the one who stated that you need a running X server precise
because I'd been through this exercise before. It's not really that
difficult to understand. There is no Tk on native Win32. There may be
one that was installed when you installed ActiveState. There is none
when you install Cygwin. You can install Cygwin's Perl/Tk but then
you'll get one that is designed to work with an X server - just like it
would have been designed to work with an X server before it was ported
say on a Linux box. It's not much different than say xterm, which is
also designed to work with an X server. Rxvt, OTOH, can work with an X
server or just regular win32 graphical elements but that's the exception
to the rule.
I'll say it again, it would be wonderful if Perl/Tk would work with
regular win32 graphical elements but nobody has bothered to develop that.
--
Andrew DeFaria <http://defaria.com>
Why do toasters always have a setting that burns the toast to a horrible
crisp no one would eat?
--
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/
next prev parent reply other threads:[~2007-12-13 14:57 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-13 11:26 Michael Kairys
2007-12-13 11:38 ` Reini Urban
2007-12-13 13:49 ` Michael Kairys
2007-12-13 11:52 ` Sisyphus
2007-12-13 13:44 ` Michael Kairys
2007-12-13 14:57 ` Andrew DeFaria [this message]
2007-12-13 15:08 ` Dave Korn
2007-12-13 15:32 ` Andrew DeFaria
2007-12-13 15:59 ` Dave Korn
2007-12-14 3:12 ` Andrew DeFaria
2007-12-14 10:20 ` Dave Korn
2007-12-13 15:23 ` Michael Kairys
2007-12-13 15:38 ` Andrew DeFaria
2007-12-13 23:57 ` Sisyphus
2007-12-14 1:38 ` Reini Urban
2007-12-14 2:13 ` Michael Kairys
2007-12-14 20:52 ` Michael Kairys
2007-12-17 0:48 ` Jason Pearce
2007-12-14 3:15 ` Andrew DeFaria
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='fjrh39$gej$1@ger.gmane.org' \
--to=andrew@defaria.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).