For Programmers: Free Programming Magazines  


Home > Archive > PerlTk > August 2004 > Version issues w/ Tk









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Version issues w/ Tk
scoootr

2004-08-25, 4:39 pm

Hello all,

New to the board, so go easy on me. I have been using Perl/Tk to front-end a number of utilities that I use at work. I am using ActivePerl 5.8 on a Windows 2000 pro box.

I was trying to use the chooseDirectory widget but kept getting a not found in @INC message, so I decided to make sure I had the latest version of the Tk module installed. I went to CPAN and downloaded Tk-804.027. I installed it and now I am getting the following error from all my scripts that use Tk:

Tk::Event object version 800.024 does not match bootstrap parameter 804.027 at C:/Perl/lib/XSLoader.pm line 91.
Compilation failed in require at C:/Perl/site/lib/Tk.pm line 13.
BEGIN failed--compilation aborted at C:/Perl/site/lib/Tk.pm line 13.

How do I go about recovering from this?? Any help is appreciated....

- Scoootr
scoootr

2004-08-25, 6:13 pm

quote:
Originally posted by scoootr
Hello all,

New to the board, so go easy on me. I have been using Perl/Tk to front-end a number of utilities that I use at work. I am using ActivePerl 5.8 on a Windows 2000 pro box.

I was trying to use the chooseDirectory widget but kept getting a not found in @INC message, so I decided to make sure I had the latest version of the Tk module installed. I went to CPAN and downloaded Tk-804.027. I installed it and now I am getting the following error from all my scripts that use Tk:

Tk::Event object version 800.024 does not match bootstrap parameter 804.027 at C:/Perl/lib/XSLoader.pm line 91.
Compilation failed in require at C:/Perl/site/lib/Tk.pm line 13.
BEGIN failed--compilation aborted at C:/Perl/site/lib/Tk.pm line 13.

How do I go about recovering from this?? Any help is appreciated....

- Scoootr



Ok, I figured it out. For those who care, the Tk module had compiled with errors on my box when I ran nmake. I went back and found the errors, so I re-compiled it and re-installed the Tk module. All is well now.

- Scoootr
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com