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 Date: Thu, 18 Nov 2004 07:38:30 -0600 From: Charles Plager Subject: Re: Perl-tk? To: Cygwin Mailing list Message-id: <419CA5D6.3060605@physics.ucla.edu> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT User-Agent: Mozilla Thunderbird 0.7.2 (Windows/20040707) > 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/