For Programmers: Free Programming Magazines  


Home > Archive > PERL Modules > November 2005 > Installing Tk









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Installing Tk
John Slimick

2005-11-13, 6:56 pm

I have for the last day or so
been trying to install tkPerl.
I have been using:

$perl -MCPAN -e shell

and then

> install Tk


all seems to go well, but the tests
fail on listbox.t, and subsequently
there is a failure to install. I tried
removing that test file (listbox.t)
from the test scenario, but that didn't
work.

Any thoughts/suggestions?

Thanks in advance

john slimick
slimick@pitt.edu
Sisyphus

2005-11-13, 6:56 pm


"John Slimick" <slimick@pitt.edu> wrote in message
news:slrndnfgnd.or2.slimick@localhost.localdomain...
> I have for the last day or so
> been trying to install tkPerl.
> I have been using:
>
> $perl -MCPAN -e shell
>
> and then
>
>
> all seems to go well, but the tests
> fail on listbox.t, and subsequently
> there is a failure to install. I tried
> removing that test file (listbox.t)
> from the test scenario, but that didn't
> work.
>
> Any thoughts/suggestions?
>


You could optionally do it manually by running:
perl Makefile.PL
make test
make install

Before 'make install' you could maybe try to work out what's wrong with
listbox.t. To run listbox.t individually, just enter:
perl -Mblib t/listbox.t
(And, of course, just run the same command to see the results of any
alterations you might make to listbox.t in your attempts to get the problem
sorted.)

I never use the CPAN shell - so I don't know a lot about it, but I believe
there's a 'force' option that will install the module even if there are test
failures.

Cheers,
Rob


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com