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

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
[LanX]: LOL I google for escaping POD commands and get hits for escape pods
[choroba]: Programming is dangerous.

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2018-03-24 12:22 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (298 votes). Check out past polls.