Installing Tk

Installing Tk

am 13.11.2005 23:49:16 von John Slimick

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

Re: Installing Tk

am 14.11.2005 00:45:12 von Sisyphus

"John Slimick" 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
>
> > 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?
>

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