Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Tk::Zinc 3.2.97 on cpan now works with perlTk 804

by flyingmoose (Priest)
on Apr 15, 2004 at 18:53 UTC ( [id://345501]=note: print w/replies, xml ) Need Help??


in reply to Tk::Zinc 3.2.97 on cpan now works with perlTk 804

Awesome. You are indeed the man. I was quite impressed with the screenshots the last time I saw them, and I am looking forward to playing with it. Thanks for reminding me.

(I'm actually running Debian Sarge now, so maybe OpenGL.pm and SDL and all the other shiny modules will work too! Go! Go! Spiffy Perl Game Development!)

As a heads up, it looks like your CPAN dependencies might need tweaking. It doesn't check to see if you already have Tk.pm and Tk::PNG.pm.

update:Doesn't compile easily and then has test failures :) ... Also (installing on a fairly raw system) the test failures really don't explain the failures sometimes, though I'm sure most of them are just missing fonts and the like. For convience, I've attached my test failures below...

make[1]: Entering directory `/root/.cpan/build/tk-zinc-3.297/demos' make[1]: Leaving directory `/root/.cpan/build/tk-zinc-3.297/demos' make: Circular Zinc.o <- Zinc.o dependency dropped. make: Circular Zinc.o <- Zinc.o dependency dropped. PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_h +arness(0, 'blib/lib', 'blib/arch')" t/*.t t/Coords...............# ############## coords test ok t/find.................# ############## Images test ok t/Images...............# ############## Images test ok t/Import...............Subroutine Item redefined at /root/.cpan/build/ +tk-zinc-3.297/blib/lib/Tk/Zinc/TraceUtils.pm line 61. Use of implicit split to @_ is deprecated at /root/.cpan/build/tk-zinc +-3.297/blib/lib/Tk/Zinc/Graphics.pm line 2602. "my" variable $b masks earlier declaration in same scope at /root/.cpa +n/build/tk-zinc-3.297/blib/lib/Tk/Zinc/Graphics.pm line 2721. "my" variable $value masks earlier declaration in same scope at /root/ +.cpan/build/tk-zinc-3.297/blib/lib/Tk/Zinc/Graphics.pm line 3053. # ############## all imports ok t/PreviousKnownBugs....# ############## all known bugs ok t/Text.................# ############## text items test ok t/text.................X Error of failed request: BadMatch (invalid p +arameter attributes) Major opcode of failed request: 144 (GLX) Minor opcode of failed request: 5 (X_GLXMakeCurrent) Serial number of failed request: 182 Current serial number in output stream: 182 dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED tests 3-55 Failed 53/55 tests, 3.64% okay t/traceutils...........Subroutine Item redefined at /root/.cpan/build/ +tk-zinc-3.297/blib/lib/Tk/Zinc/TraceUtils.pm line 61. Undefined subroutine &main::Item called at t/traceutils.t line 42. # Looks like your test died before it could output anything. dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-14 Failed 14/14 tests, 0.00% okay t/Transformations......# ############## transformations test ok Failed 2/9 test scripts, 77.78% okay. 67/167 subtests failed, 59.88% o +kay. Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- +--------- t/text.t 1 256 55 106 192.73% 3-55 t/traceutils.t 255 65280 14 28 200.00% 1-14 make: *** [test_dynamic] Error 255

Anybody care to take a shot at this one? Forcing the install leads to success of most demos, though it still attempts to do things like call nonexistant methods like Tk::After::Cancelled->cancel (or something). It also looks like there are quite a few warnings, but otherwise very very cool. The radar demo is great.

Replies are listed 'Best First'.
Re: Re: Tk::Zinc 3.2.97 on cpan now works with perlTk 804
by christopheM (Beadle) on Apr 16, 2004 at 12:42 UTC
    For convience, I've attached my test failures below...

    Thanks for your reply...

    In your case (debian sarge) it seems I do not have the pb (I mentionned) with the PERL_DL_NONLAZY=1. But you are right. They were some remaining warning in some sub-modules which make some test fail. I just eliminated them for next released.

    Thanks!

      I figured some of the warnings might have been false, so I did a force install and tried out a few demos. The "triple spinning wheel" in zinc_contrib, for instance, doesn't show the spinning wheels on this particular box, but it does on my (other) Debian Sarge box at work. Not exactly sure what is up there, but I'll look around and see if I can get some more information for you. The radar demo seemed to work well enough.

Log In?
Username:
Password:

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

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

    No recent polls found