Originally posted by Tom Righele
Hello all-
We are migrating from Windows to Linux and I am having trouble with a custom package I installed called "xmlgen". I put this in the cloverleafcis6.1integratortcllibX12lib folder and my pkgIndex.tcl looks like this:
package ifneeded X12ftp 1.0 [list tclPkgSetup $dir X12ftp 1.0 {{X12ftp.tcl source {::X12ftp::Append ::X12ftp::Cd ::X12ftp::Close ::X12ftp::Delete ::X12ftp::DisplayMsg ::X12ftp::FileSize ::X12ftp::Get ::X12ftp::List ::X12ftp::MkDir ::X12ftp::ModTime ::X12ftp::NList ::X12ftp::Newer ::X12ftp::Open ::X12ftp::Put ::X12ftp::Pwd ::X12ftp::Quote ::X12ftp::Reget ::X12ftp::Rename ::X12ftp::RmDir ::X12ftp::Type}}}]
package ifneeded X12lib 1.0 [list tclPkgSetup $dir X12lib 1.0 {{X12lib.tcl source {::X12lib::buildGS ::X12lib::buildISA ::X12lib::getGroups ::X12lib::getTrans ::X12lib::joinX12 ::X12lib::splitX12}}}]
package ifneeded X12pop3 1.0 [list tclPkgSetup $dir X12pop3 1.0 {{X12pop3.tcl source {}}}]
package ifneeded X12Batch 1.0 [list source [file join $dir X12Batch.tcl]]
package ifneeded xmlgen 1.0 [list source [file join $dir xmlgen.tcl]]
However, in linux, when I tried to add this, I get an error message when testing. I tried using the hcitcl command to see if the package is being seen properly, but I now get this error message:
hcitcl>package require xmlgen
Error: /cloverleaf/cis6.1/integrator/[host]/tclprocs/tclIndex isn't a proper Tcl index fileWhen I do this for any other package, it picks up the version.
Any idea? Do I need to update the tclIndex file somehow in order to have Cloverleaf pick up the xmlgen package?
Thanks for your help!!