1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
Tcl searches for packages from the auto_path variable.
To see what this is currently set to, start tclsh and enter:
puts $auto_path
On my system, it prints:
/usr/lib/tcl8.0 /usr/lib
In any of the directories in $auto_path, type:
tar -zxf xmlrpctcl.gz
Note: You may need to be root to do this.
This will create a directory called xmlrpc0.3
Then start tclsh again, and type:
pkg_mkIndex directory where directory is the full path to the xmlrpc0.3
directory just created.
Inside xmlrpc0.3, you should now see a "pkgIndex.tcl" file.
If all is well, in a tclsh you should now be able to type:
package require xmlrpc
Documentation:
Documentation can be found in the source(xmlrpc.tcl).
Samples:
To try the samples provided, just start testserver.tcl
and then run testclient.tcl.
|