I guess I would say I'm very much a Tcl/Tk novice.
My problem as far as I can see is that I've been messed around by one of our middleware suppliers.
Until recently, we've been running HP-UX 10.20. The supplier supplied a Tcl/Tk environment for us to develop some front ends, which my predecessor duely did. We have now upgraded to HP-UX 11.11 and our Tcl/Tk scripts have stopped working. There seems to be some confusion over Tcl/Tk versions.
What (I think) our supplier suggested was to replace wish 8.0 with wish 4.2(!) and libtcl7.6.sl.gz by libtcl4.2.sl.gz.
This was duely done and most of our scripts are now working, however, I'm having a problem with one which produces the following error:
invalid command name "font"
while executing
"font create timesfont -family Times -size 14 "
(file "/home/b110/sys_env/appl/dbfind.ocx.tcl" line 15)
Unless it's really essential, I don't want to start installing new versions of Tcl/Tk components, I'd just rather get the scripts working as the environment stands.
Any help would be most gratefully received.
Thanks,
Gary Cooper
My problem as far as I can see is that I've been messed around by one of our middleware suppliers.
Until recently, we've been running HP-UX 10.20. The supplier supplied a Tcl/Tk environment for us to develop some front ends, which my predecessor duely did. We have now upgraded to HP-UX 11.11 and our Tcl/Tk scripts have stopped working. There seems to be some confusion over Tcl/Tk versions.
What (I think) our supplier suggested was to replace wish 8.0 with wish 4.2(!) and libtcl7.6.sl.gz by libtcl4.2.sl.gz.
This was duely done and most of our scripts are now working, however, I'm having a problem with one which produces the following error:
invalid command name "font"
while executing
"font create timesfont -family Times -size 14 "
(file "/home/b110/sys_env/appl/dbfind.ocx.tcl" line 15)
Unless it's really essential, I don't want to start installing new versions of Tcl/Tk components, I'd just rather get the scripts working as the environment stands.
Any help would be most gratefully received.
Thanks,
Gary Cooper