Humm, that is interesting. Another thing you might want to try is
to set the debug_loadtclblend at the top of the loadtclblend proc
in pkgIndex.tcl to 1.
set debug_loadtclblend 0
(change to)
set debug_loadtclblend 1
That will give you a lot of extra info about the loading process.
When you give a "package require -exact ..." does it find tclblend's
pkgIndex.tcl file? You can test this out but placing a puts at the
bottom of the pkgIndex.tcl file like so.
(add this)
puts "read tclblend's pkgIndex.tcl"
(before this)
package ifneeded java 1.2.2 [list loadtclblend $dir]
That way you can find out if pkgIndex.tcl is ever getting read.
Mo DeJong
dejong at cs.umn.edu
On Fri, 26 Mar 1999, Michael Githens wrote:
> Mo,
>
> I opened a wish and ran the pkgIndex.tcl commands for tclblend 1.2.2. Everything
> works fine. It seems like when the package require java command is called it is
> never even getting to the loadtclblend procedure in pkgIndex.tcl. I see that there
> were a pretty decent number of changes to tclPkg.c due to the new usage of tcl
> objects. I would guess something is going wrong in there.
>
> One interesting thing is that "package require -exact java 1.2.2" works in as much
> as it returns the message "can't find package java 1.2.2". Obviously this takes a
> much shorter path in tclPkg.c and does not produce a crash.
>
> I'm going to search through old comp.lang.tcl messages looking for any package
> require issues in 8.1 and then I may submit a bug form if I cannot find anything.
>
> Michael
> [EMAIL PROTECTED]
>
> Moses DeJong wrote:
>
> > Ok, so the problem might be with the CLASSPATH or something. Doing the
> > package require java will change the CLASSPATH by adding tcljava.jar
> > and tclblend.jar before doing the load tclblend.dll. Could you try
> > opeing up the pkgIndex.tcl file and running the commands one at a time?
> > That might make things more clear.
>
>
>
> ----------------------------------------------------------------
> The TclJava mailing list is sponsored by WebNet Technologies.
> To subscribe: send mail to [EMAIL PROTECTED]
> with the word SUBSCRIBE as the subject.
> To unsubscribe: send mail to [EMAIL PROTECTED]
> with the word UNSUBSCRIBE as the subject.
> To send to the list, send email to '[EMAIL PROTECTED]'.
> A list archive is at: http://www.findmail.com/listsaver/tcldallas/
>
----------------------------------------------------------------
The TclJava mailing list is sponsored by WebNet Technologies.
To subscribe: send mail to [EMAIL PROTECTED]
with the word SUBSCRIBE as the subject.
To unsubscribe: send mail to [EMAIL PROTECTED]
with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'.
A list archive is at: http://www.findmail.com/listsaver/tcldallas/