>>> tcl is complaining that it can't find the package, even though
>>> I've confirmed that it's definitely in a subdirectory in the tcl_pkgPath.
>> What are the contents of the installed pkgIndex.tcl file?
> package ifneeded ylex 0.3 [list source [file join $dir ylex.tcl]]
> package ifneeded yeti 0.3 [list source [file join $dir yeti.tcl]]
After the failed [package require ylex], does the list returned by
[package names] include the names "ylex" and "yeti" ? I presume not.
It is nearly certain that Tcl is not searching where you think it is,
or should be.
This can have a number of confusions at its root. Most useful would be
a transcript of an interactive session where you demonstrate the failure
alongside the results of things like [set ::auto_path] and
[package present Tcl] to ascertain that you really are working with
what you think you are.
--