in reply to Re^4: Tk: Cannot install from CPAN sometimes.
in thread Tk: Cannot install from CPAN sometimes.
I don't understand. Are you trying to repeatedly install to the same machine? If so, why not stop when everything goes well?
If you are just compulsive about getting an install process to go flawlessly, without test failure warnings, Tk is the wrong module to choose to test. Just google for "perl Tk test failures" and you will see that many of the tests are expected to fail, as bug fixes and other code improvements are incorporated into the code, and the overworked module maintainer can't waste time updating the test harness.
I suppose your assumption that Tk's test code is poor, may be accurate, especially in how it cooperates with a CPAN install. If the module works, don't worry about test failures.
The CPAN install process itself, may be part of the problem. If you install once, and it fails, you probably need to manually delete the Tk source from the ~/.cpan/build subdirectory, as subsequent builds may be corrupted by previous ones.
If you are trying to install to multiple machines, and getting failures on some, you need to look at the differences in the machines. You may not be able to install Tk thru CPAN on all machines. I always go thru the manual route... download tarball, perl Makefile.PL, make, sudo make install.... and watch for errors issued by Tk itself.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Tk: Cannot install from CPAN sometimes.
by choroba (Cardinal) on Oct 29, 2010 at 14:14 UTC | |
by zentara (Cardinal) on Oct 29, 2010 at 15:56 UTC | |
by Anonymous Monk on Oct 29, 2010 at 16:34 UTC |