AOLserver Chat Logs

2007/04/10

IRC [00:16] *** holycow parted the chat.
IRC [00:31] *** holycow joined the chat.
IRC [00:59] *** holycow parted the chat.
IRC [02:22] *** cacrus joined the chat.
IRC [03:00] *** cacrus parted the chat.
IRC [03:08] *** cacrus joined the chat.
IRC [06:30] *** holycow joined the chat.
IRC [08:19] *** partymola joined the chat.
IRC [10:37] *** daguz joined the chat.
IRC [10:39] <daguz> Howdy: I am creating a dom object. Then I want to pass reference to it in a proc. I create via: set something [ dom:DOMImplementation create] ... then I want to pass something to a proc. In the proc I tried upvar $arg localreference.
IRC [10:40] <cacrus> I am receiving this error on loading cnszlib module "couldn't load file "libnszlib.so": /software/aol/aol45/lib/libnszlib.so: undefined symbol: compressBound " . I have posted this question on mailing list as well , but I thought maybe someone could help here
IRC [10:40] <cacrus> I have tried loading nszlib module in module section as well as loading libnszlib library by load command , both produce same error
IRC [10:41] <Dossy> daguz: what are you using? tDOM?
IRC [10:41] <Dossy> cacrus: you see my email? what version of zlib do you have installed?
IRC [10:41] <cacrus> Dossy: let me check
IRC [10:41] <Dossy> rpm -qvh zlib
IRC [10:41] <Dossy> or whatever.
IRC [10:41] * Dossy isn't a RPM person.
IRC [10:41] <cacrus> zlib-1.1.4-8.1
IRC [10:41] <cacrus> zlib-devel-1.1.4-8.1
IRC [10:42] <cacrus> yes I can do that :)
IRC [10:42] <Dossy> OK, there's your problem.
IRC [10:42] <cacrus> so you think its due to old version of zlib
IRC [10:42] <Dossy> AOLserver's nszlib should probably check the /version/ of zlib that's installed at compile time.
IRC [10:42] <Dossy> And fail to compile if the wrong version of zlib is installed.
IRC [10:42] <Dossy> Yes, definitely.
IRC [10:43] <Dossy> No doubt about it. compressBound() was introduced in zlib 1.2.x
IRC [10:43] <cacrus> is there a configure parameter to allow different version of zlib to be used , than the on e installed on the machine
IRC [10:43] <Dossy> not sure. you could probably hack the Makefile
IRC [10:43] <Dossy> include a -L/path/to/zlib
IRC [10:43] <Dossy> but then you also need to make sure LD_LIBRARY_PATH is set right so that version of libz.so is loaded
IRC [10:43] <Dossy> can't you just upgrade the zlib package?
IRC [10:44] <cacrus> I will try all that ,
IRC [10:44] <cacrus> I don't think it willbe an issue,
IRC [10:44] <cacrus> thanks , I really appreciate it
IRC [10:45] <Dossy> Sure, good luck. :)
IRC [10:50] <daguz> Dossy: yes, tdom is what I am using.
IRC [10:51] <Dossy> daguz: tDOM hands you an opaque handle. What's the problem?
IRC [10:52] <daguz> I call the proc, I see that it passes the handle (ie: node1)
IRC [10:52] <daguz> but then I cannot serialize it.
IRC [10:57] *** cacrus parted the chat.
IRC [11:21] <Dossy> define "serialize"
IRC [11:21] <Dossy> what are you trying to do? do you have actual code you can share/
IRC [11:22] <daguz> dom::DOMImplementation serialize $doc
IRC [11:22] <daguz> oops...
IRC [11:22] <daguz> dom colon colon DOMImplementation serialize
IRC [11:26] <daguz> better code would be :
IRC [11:26] <daguz> set something [ dom :: DOMImplementation create]
IRC [11:26] <daguz> requestProc $something
IRC [11:26] <daguz> proc requestProc {args} {
IRC [11:26] <daguz> dom :: DOMImplementation serialize $args
IRC [11:26] <daguz> }
IRC [11:27] <daguz> # I also tried upvar $args subtree
IRC [11:27] <daguz> and then reference subtree
IRC [11:28] <Dossy> % package require tdom
IRC [11:28] <Dossy> 0.8.0
IRC [11:28] <Dossy> % dom::DOMImplementation
IRC [11:28] <Dossy> invalid command name "dom::DOMImplementation"
IRC [11:29] <Dossy> What are you talking about?
IRC [11:29] <daguz> oh.. gee.. maybe it is loading tcldom? I guess so.
IRC [11:30] <Dossy> oh, I have no idea about tcldom.
IRC [11:30] <daguz> very sorry.
IRC [11:30] <Dossy> wish I could help. you could try in #tcl.
IRC [13:42] *** holycow parted the chat.
IRC [13:44] *** holycow joined the chat.
IRC [16:11] *** partymola parted the chat.
IRC [21:47] *** holycow parted the chat.
IRC [22:05] *** partymola joined the chat.