Question about X-Windows and Perl

Scott Barkla sbarkla@gmail.com
Wed Mar 30 08:25:00 GMT 2005


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



More information about the Cygwin-xfree mailing list