From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22469 invoked by alias); 13 Dec 2007 11:26:59 -0000 Received: (qmail 22461 invoked by uid 22791); 13 Dec 2007 11:26:58 -0000 X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 13 Dec 2007 11:26:52 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1J2mD9-0003Lx-97 for cygwin@cygwin.com; Thu, 13 Dec 2007 11:26:39 +0000 Received: from c-68-40-183-165.hsd1.mi.comcast.net ([68.40.183.165]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Dec 2007 11:26:39 +0000 Received: from kairys by c-68-40-183-165.hsd1.mi.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Dec 2007 11:26:39 +0000 To: cygwin@cygwin.com From: "Michael Kairys" Subject: Need help with Perl/Tk Date: Thu, 13 Dec 2007 11:26:00 -0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2007-12/txt/msg00295.txt.bz2 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/