Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 X-BigFish: V Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: Perl-tk? Date: Thu, 18 Nov 2004 11:17:37 -0800 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Bruce Dobrin" To: "Charles Plager" , "Cygwin Mailing list" X-OriginalArrivalTime: 18 Nov 2004 19:20:05.0828 (UTC) FILETIME=[9C43F840:01C4CDA3] X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id iAIJJY4X008525 I've been using the tk800 native windows functionality for years with cygwin. You just have to recompile/install with each perl change. If I remember correctly, with the most recent cygwin/perl/tk800.024, I haven't even had to patch it. The big headache is that you need to play games with rebase to get IO and Menubutton to work correctly. -----Original Message----- From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Charles Plager Sent: Thursday, November 18, 2004 5:39 AM To: Cygwin Mailing list Subject: Re: Perl-tk? > Brian Dessent schrieb: > >> dwycoff wrote: >> >> I tried using a perl-tk script in cygwin that I wrote more than a >> year ago. Whenever I run it it dies at: >> >> >> Can't locate Tk.pm in @INC (@INC contains: /usr/lib/perl5/5... >> >> I did a search and couldn't find Tk.pm. So I looked to the cygwin >> website, but didn't find any mention of it there, either. >> >> >> Has perl-tk made it to cygwin? >> > > nope. > > Perl modules are installed from CPAN, not through Cygwin setup (with > the exception of libwin32 which does not compile without patches.) > Have you tried installing the module with CPAN? > > > Tk is also known not to work OOTB. I have successfully built perl Tk 800.024 (with Gerrit's help) for X windows. I haven't tried later versions of Tk or the windows native version. (Gerrit says this is no longer necessary with perl-5.8.5 for Cygwin, but I haven't verified this) 0) Get a copy of Tk-800.024.tar.gz from the web 1) cd /usr/X11R6/lib 2) ln -s libX11.dll.a libX11.a 3) cd ~/mybuildarea 4) tar xzf Tk-800.024.tar.gz 5) cd Tk800.024/ 6) less README.cygwin 7) perl Makefile.PL x 8) make && make test && make install Charles -- 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/ -- 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/