(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.
In reply to Re: Tk::Zinc 3.2.97 on cpan now works with perlTk 804
by flyingmoose
in thread Tk::Zinc 3.2.97 on cpan now works with perlTk 804
by christopheM
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |