On Wednesday 03 October 2007 03:42:57 Victor Lazzarini wrote: > But I am doing a similar thing using pkg_mkIndex > as explained in > > http://www.tcl.tk/man/tcl8.4/TclCmd/pkgMkIndex.htm Aha, so this automates the building of the script pkgIndex.tcl. > > That is to use tclcsound with package require > (or even load). The manual perhaps needs updating. > > There is a one-line script that calls pkg_mkIndex > called pkgbuild.tcl, which is called by scons. Hmm, I don't see it actually being called: the lines containing pkgbuild.tcl are commented out. > > Isn't that enough? I'm fine with any improvements > to it, if you feel they need to be made. What I'm concerned about is the installation of tclcsound in /usr/lib. Libraries installed there are usually to be available for everyone, while tclcsound is only meant for tcl to use. However, moving tclcsound.so out of there makes it unavailable for tcl (at least on debian: tcl_pkgPath is /usr/lib only) using the load command. It will be available as "package require tclcsound" if the pkgIndex.tcl file loads the module using the appropriate path. -- Felipe Sateler