Ian Harding wrote:
This is how I had to do it. I don't know why having it in the AOLserver tcl directory doesn't work...set tcl_library [file join /usr/pkg/lib tcl${tcl_version}] source [file join $tcl_library init.tcl] package require pdflib 4.0
Thanks! Here is what I had, and what I did: lib/rmadilo lib/rmadilo/error.tcl lib/rmadilo/tree.tcl lib/rmadilo/utility.tcl lib/rmadilo/parse.tcl lib/rmadilo/rmadilo.tcl Each tcl file had a namespace initialization and some procs. I created init.tcl in the same directory like this: set tcl_lib "/usr/local/aolserver/lib/rmadilo" source $tcl_lib/error.tcl source $tcl_lib/tree.tcl etc. Then I created a file in my AOLserver tcl directory /web/aolserver-test/tcl that did this: set tcl_lib "/usr/local/aolserver/lib/rmadilo" lappend ::auto_path $tcl_lib source $tcl_lib/init.tcl package require rmadilo Apparently the lappend command is required. Commands are not found later on if this isn't set. But the package require command doesn't seem to be needed! --Tom Jackson
