Roy Terry wrote:
> "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.
>
This last part is probably more than you really need to do.
Please see the response I provided to this thread earlier today for
instructions on how to properly wrap the Tclxml extension.
Dennis LaBelle (The freeWrap Guy)
Received on Sun Apr 30 02:24:01 2006