Installing Tk

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

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

Any thoughts/suggestions?

Thanks in advance

john slimick

Re: Installing Tk

Quoted text here. Click to load it

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

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


Site Timeline