|
From: Pat T. <pat...@us...> - 2004-11-04 02:32:43
|
-----BEGIN PGP SIGNED MESSAGE-----
Joe English wrote:
| Sorry, my mistake: it's not $::tile_library anymore, it's
$::tile::library.
| This should do the trick:
|
| package ifneeded tile 0.5 "
| namespace eval tile { variable library $dir } ;
| load [file join $dir tile[info sharedlibext]]
| "
|
| (note that the ifneeded script is ""-quoted, not {}-quoted).
|
|
|>but setting env(TILE_LIBRARY),
|>as is done in the starkit pkgIndex.tcl, seems to work. But I had a
devil of
|>a time getting the starkit to play nicely with ActiveTcl, which includes
|>tile0.3. I finally realized that the pkgIndex.tcl files set
|>env(TILE_LIBRARY) *outside* of the package ifneeded script.
|
|
| Uh oh.
|
| Pat, could you fix this?
Will do.
Pat.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3-nr1 (Windows XP)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iQCVAwUBQYmUu2B90JXwhOSJAQF2ygP/dM7GJkqD7hoA5twqLBuwhZspgpuadEVy
X/Md8b/AtNjgcsuuCa4HawrnrOWj+uix2E+uHtxzAv36qJjXj9FVGiPI0Eder5WX
rMDKbQzBVCzncvf+HYwGdegGIdT6AfwffJYSKsKBpZilVn47zvKxerYy8vsbbddK
DU2CV8Nymi4=
=b6DS
-----END PGP SIGNATURE-----
|