Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Tk::Zinc Dynaload error

by TomKane (Beadle)
on Feb 01, 2009 at 21:24 UTC ( #740580=perlquestion: print w/replies, xml ) Need Help??
TomKane has asked for the wisdom of the Perl Monks concerning the following question:

I'm interested in looking at Tk::Zinc, so I downloaded and installed it. I use the ActiveState PPM for the installation on my Windows XP and everything looks good. However, as I tried to run some of the demos I kept getting the following error message:

Tk::Zinc object version 804.028 does not match bootstrap parameter 804.027 at D:/Perl/lib/ line 252.

I take it that the .dll was compiled with an extraction from CVS and that it compiled a constant of one of these two numbers for the version/revision -- and that one of them is out of sync.

I realize that this is not an issue for per se, but with the version control. Are there any suggestions? Thanks in advance.


Replies are listed 'Best First'.
Re: Tk::Zinc Dynaload error
by syphilis (Chancellor) on Feb 01, 2009 at 22:33 UTC
    Tk::Zinc object version 804.028 does not match bootstrap parameter 804.027 at D:/Perl/lib/ line 252.

    What does the following produce:
    perl -MTk -le "print $Tk::VERSION"
    If it produces a similar error, then there's something botched with your Tk installation.
    However, I expect it will output 804.027 - which would indicate that you need to upgrade to 804.028, because that was the version of Tk that the Tk-Zinc ppm was (apparently) built against. An alternative solution would be to build Tk-Zinc from source, against your existing build of Tk.

      Yep, I got 804.027, so I'm checking with ActiveState about the latest version. Thanks.
        I'm checking with ActiveState about the latest version

        If you're running a 5.10.0 build of ActivePerl, there should be no trouble. Just ppm remove Tk then ppm install Tk and you should end up with Tk-804.028.

        But, if you're running a 5.8.x build of ActivePerl, then it looks to me that ActiveState provide only 804.027. That being so, you probably need to install Tk from the same repository that gave you the Tk::Zinc ppm. (One would hope that rep provides a ppm of Tk-804.028.)

Re: Tk::Zinc Dynaload error
by Anonymous Monk on Mar 29, 2012 at 14:00 UTC

    I get the very same error even while having Tk 804.029 installed, and it survives all uninstall/reinstall permutations. Easiest fix: comment out line 20 in

    #bootstrap Tk::Zinc $Tk::VERSION;

    That fixes it.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2018-08-16 17:22 GMT
Find Nodes?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:

    Results (169 votes). Check out past polls.