"tony summerfelt" <snowzone5@hotmail.com> wrote in message
news:l8hg02dg53l6cmfjka6t7j047o9lha9gg8@4ax.com...
> On Thu, 02 Mar 2006 20:52:05 GMT, "Roy Terry" <royterry@earthlink.net>
> wrote:
>
> >Puzzled you didn't use a package require as the
> >extension has large-ish pkgIndex.tcl file.
>
> i did. i followed the documentation.
>
> >Sounds Ok. But w/o code there's no way to assist
> >for possible errors.
>
> i'm not sure this will make it easier for you, but here's the code:
>
>
> lappend auto_path c:/lang/tcl/lib/tclxml2.6
Have you verified that after you
"used the freewrap_load method" that the
full set of files under tclxml2.6 was created
in the directory on drive C of the test machine?
> package require xml
> load ./tclxml26.dll
I've never seen a package that required
a load after a package require. I believe
that is an error in your code. Can you
point to documentation for tclxml that
states otherwise?
The docs I see in the ActiveState
help for tclxml do not show a load.
>
>
> and i try to wrap with:
>
> freewrap xmltest.tcl tclxml26.dll-f c:/lang/tcl/lib/tclxml26
This looks wrong. The freewrap "-f" option takes a
file containing a list of files. You appear to be
supplying a directory name. In order for this
to work you need to collect the file names into
a text file and supply the text file name to
the -f option.
This should be pretty easy as all the files
of tclxml appear to be in the same directory.
>
> and i've used the freewrap_load method also.
The freewrap_load proc included in the freewrap
doc file is not sufficient for tclxml as it has
multiple files. I suggest taking freewrap_load
as instructive example. But to get the library
you want loaded you should plan to explicitly unload
every file to the local disk using a loop and
a call to ::freewrap::unpack for every
file.
If all this dicussion is seeming too opaque then
finding some wrapper that already includes the
package may be the right path for you.
>
>
>
> http://home.cogeco.ca/~tsummerfelt1
> telnet://ventedspleen.dyndns.org
Received on Sun Apr 30 02:22:57 2006