Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Tk installation issues

by dannoura (Pilgrim)
on Nov 13, 2007 at 09:07 UTC ( [id://650464]=perlquestion: print w/replies, xml ) Need Help??

dannoura has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

I'm trying to install Tk on Ubuntu Feisty running perl 5.8.8, using cpan. After running install I get:

t/zzScrolled.................NOK 66# Test 66 got: "589x341+0+32" (t/zz +Scrolled.t at line 104 fail #2) # Expected: "589x341+0+0" (Sizechk: geometry has not changed not re +set for -height => 24+(5)) # t/zzScrolled.t line 104 is: ok($newgeo, $oldgeo, "Sizec +hk: geometry has not changed not reset" . t/zzScrolled.................FAILED test 66 + Failed 1/94 tests, 98.94% okay t/zzText.....................ok + t/zzTixGrid..................ok + Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- +--------- t/zzScrolled.t 94 1 1.06% 66 (3 subtests UNEXPECTEDLY SUCCEEDED), 23 subtests skipped. Failed 1/47 test scripts, 97.87% okay. 1/2619 subtests failed, 99.96% +okay. make: *** [test_dynamic] Error 255 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force

Any ideas on how to solve this?

Replies are listed 'Best First'.
Re: Tk installation issues
by zentara (Archbishop) on Nov 13, 2007 at 13:58 UTC
    The tests run when you install Tk, generate alot of harmless errors, but it will run Ok. So I would get the latest patched release Tk-804.027-501 from latest Tk , and install it manually. It's easy... make, make test (ignore errors), make install (as root). It sounds like the cpan program(which I don't use) will stop install if it gets errors from make test; so either do what I suggest above, or use the -force option to ignore the errors.

    I'm not really a human, but I play one on earth. Cogito ergo sum a bum
Re: Tk installation issues
by Tux (Canon) on Nov 14, 2007 at 08:51 UTC

    As zentara said. If you used cpan to intall, you can either use the force option

    % cpan -fi Tk

    or use the state that cpan left you and do something like

    % cd ~/.cpan/build/Tk* % make install UNINST=1

    Enjoy, Have FUN! H.Merijn

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://650464]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-20 01:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found