ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> tdk
tdk
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved