This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: Question about X-Windows and Perl
- From: Scott Barkla <sbarkla at gmail dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Wed, 30 Mar 2005 17:55:08 +0930
- Subject: Re: Question about X-Windows and Perl
- References: <BAY104-F196450FE32E827F636692D9C450@phx.gbl>
- Reply-to: cygwin-xfree at cygwin dot com
- Reply-to: Scott Barkla <sbarkla at gmail dot com>
You need to install the Tk bundle which does not come with the cygwin
perl distribution. You can get it from CPAN.
This is not really on topic for cygwin-xfree as it is entirely a Perl issue.
Cheers,
Scott B.
On Tue, 29 Mar 2005 18:23:37 -0500, Jason B <surreal_world@hotmail.com> wrote:
> I am currently working on a program for school that I must write in Perl.
> The program is to code something that will create a new X-Windows
> application. Inorder to test my program I need to use an X-Windows
> environment, I installed CygwinX and when I run my perl code using the
> following command
> perl tkdemo.pl
> the following error appears
> Can't locate Tk.pm in @INC (@INC contains: /usr/lib/perl5/5.8/cygwin
> /usr/lib/perl5/5.8 /usr/lib/perl5/site_perl/5.8/cygwin
> /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/site_perl/5.8
> /usr/lib/perl5/vendor_perl/5.8/cygwin /usr/lib/perl5/vendor_perl/5.8
> /usr/lib/perl5/vendor_perl/5.8 .) at tkdemo.pl line 3.
> BEGIN failed--compilation aborted at tkdemo.pl line 3
>
> I know for a fact the code is correct as it runs perfectly fine on the
> school Unix boxes. I however have a windows box, and cannot seem to get
> this work. Any and all help will be greatly appreciated.
>
> Thank you
>
>
--
Scott Barkla
Consulting Manager South Australia
203 Fullarton Road, Eastwood SA 5063
Phone: 08 8373 8500
Fax: 08 8373 8501
Mobile: 0411 742 908
E-mail: Scott_Barkla@TechnologyOneCorp.com
Web: http://www.TechnologyOneCorp.com