Re: [TDK] Using tclcompiler3.1 with tcl8.4.9 ?
by Bill Deegan other posts by this author
Sep 14 2007 11:24AM messages near this date
view in the new Beta List Site
Re: [TDK] Using tclcompiler3.1 with tcl8.4.9 ?
|
Re: [TDK] Using tclcompiler3.1 with tcl8.4.9 ?
Jeff,
On 9/14/07, Jeff Hobbs <jeffh@[...].com> wrote:
> Hi Bill,
>
> Bill Deegan wrote:
> > I've inherited a project where the principles are no longer around.
> > We need to move from tcl 8.4.6 to 8.4.9.
>
> Why 8.4.9? That is a couple years old now. 8.4.15 is the latest stable
> (and 8.4.16 is soon to come).
NMD = (Not my decision, changing versions at this point in the
development cycle would require too much requalification of the other
tools which make up part of the release, we'll likely revisit this
after the release)
> > I get the following message when I try to use the tbc's generated by
> > tclcompiler3.1:
> > exec /eng/tools/local/linux_rhel30_64/bin/tclsh8.4
> > /home/bdeegan/dev/combined/blaze/release/blazedfm/current/etc/scripts/init.tbc
> > /eng/tools/local/linux_rhel30_64/bin/tclsh8.4
> > /home/bdeegan/dev/combined/blaze/release/blazedfm/current/etc/scripts/init.tbc
> > The TclPro ByteCode Loader is not available or does not support the
> > correct version
> > while executing
> > "error "The TclPro ByteCode Loader is not available or does not
> > support the correct version""
> > invoked from within
> > "if {[catch {package require tbcload 1.4} err] == 1} {
> > error "The TclPro ByteCode Loader is not available or does not
> > support the correct version"
> > ..."
> > (file "/home/bdeegan/dev/combined/blaze/release/blazedfm/current/etc/scripts/init.tb
c"
> > line 12)
>
> The first question is, do you have tbcload on the system? The loading
> part of the precompiled code (the tbcload extension) is part of
> ActiveTcl, not the Tcl Dev Kit. This is because it is the runtime that
> requires the loader, whereas TDK just compiles.
>
> The error messages seem to point in that direction.
After reading the release notes and documentation, I found the source
for the tbcload extension is in the src dir of the install directory
of TclDev. I just needed to rebuild this extension against TCL8.4.9
and it seems to work.
Thanks,
-Bill
_______________________________________________
TDK mailing list
TDK@[...].com
http://listserv.ActiveState.com/mailman/listinfo/tdk
Thread:
Bill Deegan
Jeff Hobbs
Bill Deegan
Jeff Hobbs
Bill Deegan
|