public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Michael Kairys" <kairys@comcast.net>
To: cygwin@cygwin.com
Subject: Need help with Perl/Tk
Date: Thu, 13 Dec 2007 11:26:00 -0000	[thread overview]
Message-ID: <fjr4t5$5sf$1@ger.gmane.org> (raw)

There seems to be something broken in my Perl installation re. Tk, or 
perhaps I'm missing something, or just ignorant. If I run a script 
containing (only) "use Tk" I get:

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:

-rwxr-xr-x 1 michael None 803328 Jan 12  2006 
/usr/lib/perl5/vendor_perl/5.8/cygwin/auto/Tk/Tk.dll

cygcheck seems to think everything is okay:

Package                 Version        Status

perl                    5.8.8-4        OK
perl-ExtUtils-Depends   0.205-1        OK
perl-ExtUtils-PkgConfig 1.07-1         OK
perl-Image-Magick       6.3.0.1-2      OK
perl-libwin32           0.27-1         OK
perl-Locale-gettext     1.05-2         OK
perl-Tk                 804.027-4      OK
perl-Win32-GUI          1.05-1         OK
perl_manpages           5.8.8-4        OK

I asked about this in another thread and received this answer:

> As I said I don't know exactly why your Tk isn't working. I do know that
> Tk under Cygwin assumes a running X server. I rarely run an X server - I
> simply use rxvt instead - so I don't like that requirement. I also work
> with IBM/Rational products and often need to run ccperl or cqperl - both
> of which are AS based. And they have Tk in there that works straight on
> Windows (like rxvt does if it senses there is no X server running - I wish
> Cygwin's Perl::Tk would do that!).

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.

... so I don't quite know what to make of it all. I'm asking for help with 
this problem, and where to go for Perl/Tk advice in general.



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

             reply	other threads:[~2007-12-13 11:26 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-13 11:26 Michael Kairys [this message]
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
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='fjr4t5$5sf$1@ger.gmane.org' \
    --to=kairys@comcast.net \
    --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).