perl/tk version problems

perl/tk version problems

Post by Gregory K. Dea » Thu, 30 May 2002 21:36:50



On our AIX 4.3.3 machine, we installed perl-5.6.0.1 and perl.tk-8.0.15.0
(from http://www.bullfreeware.com/) and pointed to the tk in a small perl
script. But, I get a version mismatch of the form below. My main question is
"Are these 2 files thought to work together OK?", or did we probably mess up
something with the install? Thanks.

perl-5.6.0.1
<http://www.bullfreeware.com/download/aix43/perl-5.6.0.1.exe>6566331 bytes
March 16 2001

perl.tk-8.0.15.0
<http://www.bullfreeware.com/download/aix43/perl.tk-8.0.15.0.exe>2331363
bytes March 20 2001

trrs9 {rsip4pd} /home/rsip4pd $ cat scripts/junk4
#! /usr/local/bin/perl
use lib "/usr/local/lib/perl5/site_perl/aix";
use Tk;

trrs9 {rsip4pd} /home/rsip4pd/scripts $ junk4
Perl lib version (5.00560) doesn't match executable version (5.006) at
/net/trrs10/users1/perl/lib/5.00560/aix/Config.pm line 18.
Compilation failed in require at /net/trrs10/users1/perl/lib/5.00560/lib.pm
line 4.
BEGIN failed--compilation aborted at
/net/trrs10/users1/perl/lib/5.00560/lib.pm line 4.
Compilation failed in require at ./junk4 line 2.
BEGIN failed--compilation aborted at ./junk4 line 2.

 
 
 

1. TK/tcl gurus: wrong version of Tk loaded (3.6): need 4.x?

Hi:

I'm trying to run tkHTML 2.3, and when it loads, it gives an error:

Tcl_AppInit failed: wrong version of Tk loaded (3.6): need 4.x

According to glint (I've installed RH 3.0.3), I've got tcl version
7.4-5 and tk version 4.0-5.  Why does tkHTML seem to think my tk is
version 3.6 and not 4.0?  

I'm not a tk/tcl guru nor do I play one on TV.  So if anyone out there
is, please let me know what I can do.  After it (tkHTML) loads, none
of the menus work, it's basically broken, and I get error messages like:

tkerror failed to handle background error.
    Original error: invalid command name "tk_butEnter"
    Error in tkerror: unknown option "-wraplength"
tkerror failed to handle background error.
    Original error: invalid command name "tk_butLeave"
    Error in tkerror: unknown option "-wraplength"
etc.

Thanks in advance for any info.

Mark

--
****************************************************************

Committee on Social Thought, University of Chicago

****************************************************************

2. S3 display modes

3. Perl-Tk problem

4. Debian: what do I need to back up?

5. Perl/Tk problem

6. ufs mounts

7. problem on perl/tk

8. Reading is much more interesting than TV (0196/1704)

9. slackware 4.0 and Perl/Tk module

10. Where can I get a sample Perl/TK program?

11. Perl/Tk on Tru64 5.1A

12. Perl and Tcl/Tk: how important are they?