You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(3) |
Dec
(18) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(11) |
Feb
(2) |
Mar
(1) |
Apr
(4) |
May
(23) |
Jun
(17) |
Jul
(1) |
Aug
(17) |
Sep
(4) |
Oct
(14) |
Nov
(1) |
Dec
(2) |
2002 |
Jan
|
Feb
(2) |
Mar
(15) |
Apr
|
May
(19) |
Jun
(2) |
Jul
(8) |
Aug
(24) |
Sep
(21) |
Oct
(17) |
Nov
(11) |
Dec
(20) |
2003 |
Jan
(17) |
Feb
(19) |
Mar
(21) |
Apr
(13) |
May
(14) |
Jun
(7) |
Jul
(4) |
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(3) |
2004 |
Jan
(5) |
Feb
(2) |
Mar
|
Apr
(3) |
May
(1) |
Jun
(5) |
Jul
(12) |
Aug
(3) |
Sep
(14) |
Oct
(1) |
Nov
(4) |
Dec
(3) |
2005 |
Jan
(1) |
Feb
(6) |
Mar
(3) |
Apr
|
May
(2) |
Jun
(3) |
Jul
|
Aug
(1) |
Sep
(1) |
Oct
(2) |
Nov
|
Dec
|
2006 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
2007 |
Jan
(1) |
Feb
(7) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
(2) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
(4) |
May
|
Jun
|
Jul
|
Aug
(3) |
Sep
(8) |
Oct
(1) |
Nov
|
Dec
|
From: Steve B. <Ste...@zv...> - 2002-11-27 20:00:48
|
Before I launch into a new project unnecessarily, has anyone integrated TclXSLT into one of the Apache Tcl modules? mod_tcl, websh, whatever. What I'd like is an application framework that allows on-the-fly generation of documents using XSL stylesheets. The system must cache documents; source documents, compiled stylesheets, result documents. The caching can be on-disk (of results), or in-memory (of DOM trees and compiled stylesheets), or both. Of course, I'd like to be able to configure the operation of the cache (size, TTL, etc). Using TclXSLT would allow me to make use of Tcl extensions from the stylesheet. Apache is required since it is already in use in the project, and I'm looking for an evolution, rather than a revolution, to this project. Of course, adding TclXSLT to tclhttpd is a no-brainer (anyone done that? That might be useful for prototyping). Cheers, Steve Ball -- Steve Ball | XSLT Standard Library | Training & Seminars Zveno Pty Ltd | Web Tcl Complete | XML XSL Schemas http://www.zveno.com/ | TclXML TclDOM | Tcl, Web Development Ste...@zv... +---------------------------+--------------------- Ph. +61 2 6242 4099 | Mobile (0413) 594 462 | Fax +61 2 6242 4099 |
From: Steve B. <Ste...@zv...> - 2002-11-04 12:18:27
|
The upcoming v2.4 release has had *alot* of work on the build system - you'll find it much improved (all credit to Andreas Kupries @ ActiveState). I'm doing some final checks right now before cutting the release. In the meantime, pull the CVS tree. HTHs, Steve Ball GMX wrote: > Hi all, > > System: Debian woody 3.0 > > I get the following error message, when trying to to compile tcldom2.3: > > debian:/usr/local/share/tcldom-2.3# > ./configure --with-xml2 --with-tcl=/usr/lib/tcl8.3 --prefix=/usr > loading cache ./config.cache > checking for gcc... (cached) cc > checking whether the C compiler (cc ) works... yes > checking whether the C compiler (cc ) is a cross-compiler... no > checking whether we are using GNU C... (cached) yes > checking whether cc accepts -g... (cached) yes > checking for a BSD compatible install... (cached) /usr/bin/install -c > checking whether make sets ${MAKE}... (cached) yes > checking for ranlib... (cached) ranlib > checking for Cygwin environment... (cached) no > checking for object suffix... (cached) o > checking for mingw32 environment... (cached) no > checking for executable suffix... (cached) no > checking for Tcl configuration... (cached) found > /usr/lib/tcl8.3/tclConfig.sh > checking for existence of /usr/lib/tcl8.3/tclConfig.sh... loading > checking for tclsh... (cached) /usr/bin/tclsh8.3 > checking for tclstub library... -L/usr/lib -ltclstub8.3 > checking for building with threads... no (default) > checking how to build libraries... shared > checking for build with symbols... no > creating ./config.status > creating Makefile > creating src-libxml2/Makefile > creating library/pkgIndex.tcl > > debian:/usr/local/share/tcldom-2.3# make > ... > In file included from ./tcldom.c:21: > tcldom.h:23: tcl.h: No such file or directory > make: *** [tcldom.o] Error 1 > > The header files are in /usr/include/tcl8.3, however, I couldn't find an > option to point to this path? (should be --with-tclinclude or so?) > > Regards Oliver > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ApacheCon, November 18-21 in > Las Vegas (supported by COMDEX), the only Apache event to be > fully supported by the ASF. http://www.apachecon.com > _______________________________________________ > Tclxml-users mailing list > Tcl...@li... > https://lists.sourceforge.net/lists/listinfo/tclxml-users -- Steve Ball | XSLT Standard Library | Training & Seminars Zveno Pty Ltd | Web Tcl Complete | XML XSL Schemas http://www.zveno.com/ | TclXML TclDOM | Tcl, Web Development Ste...@zv... +---------------------------+--------------------- Ph. +61 2 6242 4099 | Mobile (0413) 594 462 | Fax +61 2 6242 4099 |
From: GMX <oli...@gm...> - 2002-11-04 10:10:23
|
Hi all, System: Debian woody 3.0 I get the following error message, when trying to to compile tcldom2.3: debian:/usr/local/share/tcldom-2.3# ./configure --with-xml2 --with-tcl=/usr/lib/tcl8.3 --prefix=/usr loading cache ./config.cache checking for gcc... (cached) cc checking whether the C compiler (cc ) works... yes checking whether the C compiler (cc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether cc accepts -g... (cached) yes checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether make sets ${MAKE}... (cached) yes checking for ranlib... (cached) ranlib checking for Cygwin environment... (cached) no checking for object suffix... (cached) o checking for mingw32 environment... (cached) no checking for executable suffix... (cached) no checking for Tcl configuration... (cached) found /usr/lib/tcl8.3/tclConfig.sh checking for existence of /usr/lib/tcl8.3/tclConfig.sh... loading checking for tclsh... (cached) /usr/bin/tclsh8.3 checking for tclstub library... -L/usr/lib -ltclstub8.3 checking for building with threads... no (default) checking how to build libraries... shared checking for build with symbols... no creating ./config.status creating Makefile creating src-libxml2/Makefile creating library/pkgIndex.tcl debian:/usr/local/share/tcldom-2.3# make ... In file included from ./tcldom.c:21: tcldom.h:23: tcl.h: No such file or directory make: *** [tcldom.o] Error 1 The header files are in /usr/include/tcl8.3, however, I couldn't find an option to point to this path? (should be --with-tclinclude or so?) Regards Oliver |
From: Steve B. <Ste...@zv...> - 2002-11-01 20:51:42
|
The TclDOM CVS head has some known problems which cause crashes, in particular the event handling code. I'm working on those right now. Also, running the tests is a bit tricky. You have to make sure that the constraints are specified correctly. I'll add a README to the tests directory. Be aware that the libxml2 implementation is not as full-featured as the Tcl implementation - writing C code takes alot more time than writing Tcl code (whoever would have thought? :-) This should change fairly quickly as the waX Me Lyrical project is ramping up and requires a more complete libxml2 package. Finally, the test suite itself needs some work. Not all of the tests pass, but the "failures" often do not indicate a problem with the package itself. A previous message of mine goes into more detail (check the archive), but basically the different modules often serialize their results in different, but legal, ways. For example, <Test attr="value"></Test> is entirely equivalent to <Test attr='value'/> but the test suite will show that as an error because it is doing a character-by-character comparison. HTHs, Steve Ball Larry W. Virden wrote: > when I hand edit and replace the NONE with the right directory > I get a .so file. Then, when I run a > $ make test > > I get: > > $ make test > (echo 'package ifneeded dom::libxml2 2.4 \ > [list load [file join $dir libtcldomxml2.4g.so]]'\ > ) > pkgIndex.tcl > echo load ./libtcldomxml2.4g.so \; cd > /vol/tclsrcsol/tcl84/tcldom/src-libxml2/tests \; source all | > TCL_LIBRARY=`echo /vol/tclsrcsol/tcl84/tcl/library` > LD_LIBRARY_PATH=".:/vol/tcl84binsol/lib:/usr/dt/lib:/usr/openwin/lib:/usr/lib:/cas/lib/sun4" > LIBPATH=".:/vol/tcl84binsol/lib:" SHLIB_PATH=".:/vol/tcl84binsol/lib:" > PATH=".:/vol/tcl84binsol/lib:/opt/SUNWspro/bin:/volws/lwv26/ldatae/bin:/projects/sprs_lwv/sol26/bin:/projects/sprs_lwv/sol26/bin/mime:/projects/sprs_lwv/sol2/bin:/projects/sprs_lwv/bin:/projects/sprs_lwv/bin/mime:/home/lwv26/bin/D.news:/usr/perl5/bin:/projects/gnu/sparc-sun-solaris2.6/bin:/usr/tcl84/bin:/usr/tcl83/bin:/vol/tclsrcsol/TclDevKit/bin:/projects/xopsrc/sun4/bin:/projects/xopsrc/bin:/usr/atria/bin:/projects/intranet/bin:/projects/clearcase/bin:/vol/adobe/Acrobat4.05/bin:/usr/perl5/lib/site_perl/5.005/sun4-solaris/auto/Image/Magick/bin:/opt/sfw/bin:/usr/openwin/demo:/home/lwv26/bin/D.aws:/home/lwv26/bin/sol2:/home/lwv26/bin/D.frontend:/home/lwv26/bin/D.ksh! > :/cas/test/bin/sun4:/projects/sprs > _lwv/bin/sol2:/usr/j2se/bin:/usr/java/bin:/home/lwv26/bin/sun4:/usr/local/bin:/usr/dt/bin:/usr/openwin/bin:/bin:/cas/bin/sun4:/cas/abin/sun4:/cas/X11/sun4/bin:/usr/ccs/bin:/lprod/bin:/usr/sbin:/usr/ucb:/cas/tools/bin/sun4:/cas/X11/sun4/tools/bin:/home/lwv26/bin:/opt/EMCpower/bin:/etc:/cas/tools/pdbin/sun4:/home/lwv26/bin/D.mistypes:/home/lwv26/bin/D.toys:/home/lwv26/bin/D.tools:/projects/npd/npdweb/bin-sol2" > TCLLIBPATH="." /vol/tcl84binsol/lib/../bin/tclsh8.4 > couldn't load file "./libtcldomxml2.4g.so": ld.so.1: > /vol/tcl84binsol/lib/../bin/tclsh8.4: fatal: libxml2.so.2: open > failed: No such file or directory > > The problem here is that the -R flag for the directories into which the > shared libraries resides was not provided during the link. I don't know > the voodoo to get this part right. > > Next, after hand editing the Makefile to get this to work, I try make test > and find that there is no tests directory. So I link the higher level > tests directory into the xml2 directory. I do a make test again and > find that the Makefile tries to "source all" instead of "source all.tcl". > I hand edit that in and get this : > > $ make test > (echo 'package ifneeded dom::libxml2 2.4 \ > [list load [file join $dir libtcldomxml2.4g.so]]'\ > ) > pkgIndex.tcl > echo load ./libtcldomxml2.4g.so \; cd > /vol/tclsrcsol/tcl84/tcldom/src-libxml2/tests \; source all.tcl | > TCL_LIBRARY=`echo /vol/tclsrcsol/tcl84/tcl/library` > LD_LIBRARY_PATH=".:/vol/tcl84binsol/lib:/usr/dt/lib:/usr/openwin/lib:/usr/lib:/cas/lib/sun4" > LIBPATH=".:/vol/tcl84binsol/lib:" SHLIB_PATH=".:/vol/tcl84binsol/lib:" > PATH=".:/vol/tcl84binsol/lib:/opt/SUNWspro/bin:/volws/lwv26/ldatae/bin:/projects/sprs_lwv/sol26/bin:/projects/sprs_lwv/sol26/bin/mime:/projects/sprs_lwv/sol2/bin:/projects/sprs_lwv/bin:/projects/sprs_lwv/bin/mime:/home/lwv26/bin/D.news:/usr/perl5/bin:/projects/gnu/sparc-sun-solaris2.6/bin:/usr/tcl84/bin:/usr/tcl83/bin:/vol/tclsrcsol/TclDevKit/bin:/projects/xopsrc/sun4/bin:/projects/xopsrc/bin:/usr/atria/bin:/projects/intranet/bin:/projects/clearcase/bin:/vol/adobe/Acrobat4.05/bin:/usr/perl5/lib/site_perl/5.005/sun4-solaris/auto/Image/Magick/bin:/opt/sfw/bin:/usr/openwin/demo:/home/lwv26/bin/D.aws:/home/lwv26/bin/sol2:/home/lwv26/bin/D.frontend:/home/lwv26/bin/D! > .ksh:/cas/test/bin/sun4:/projects/ > sprs_lwv/bin/sol2:/usr/j2se/bin:/usr/java/bin:/home/lwv26/bin/sun4:/usr/local/bin:/usr/dt/bin:/usr/openwin/bin:/bin:/cas/bin/sun4:/cas/abin/sun4:/cas/X11/sun4/bin:/usr/ccs/bin:/lprod/bin:/usr/sbin:/usr/ucb:/cas/tools/bin/sun4:/cas/X11/sun4/tools/bin:/home/lwv26/bin:/opt/EMCpower/bin:/etc:/cas/tools/pdbin/sun4:/home/lwv26/bin/D.mistypes:/home/lwv26/bin/D.toys:/home/lwv26/bin/D.tools:/projects/npd/npdweb/bin-sol2" > TCLLIBPATH="." /vol/tcl84binsol/lib/../bin/tclsh8.4 > DOMImplementation.test > Loaded dom version 2.4 via { > if {[catch {package require dom::generic 2.4}]} { > package require dom::tclgeneric > } else { > catch {package require dom::c} > catch {package require dom::libxml2 2.4} > } > package provide dom 2.4 > > # Both the C and pure Tcl versions of the generic layer > # make use of the Tcl implementation. > > package require dom::tcl > } > > ==== DOMImplementation-1.1 hasFeature create FAILED > ==== Contents of test case: > > ::dom::DOMImplementation hasFeature create 1.0 > > ---- Result was: > method "hasFeature" not yet implemented > ---- Result should have been (exact matching): > 1 > ---- Test generated error; Return code was: 1 > ---- Return code should have been one of: 0 2 > ==== DOMImplementation-1.1 FAILED > > > ==== DOMImplementation-1.2 hasFeature create wrong version FAILED > ==== Contents of test case: > > ::dom::DOMImplementation hasFeature create 2.0 > > ---- Result was: > method "hasFeature" not yet implemented > ---- Result should have been (exact matching): > 0 > ---- Test generated error; Return code was: 1 > ---- Return code should have been one of: 0 2 > ==== DOMImplementation-1.2 FAILED > > > ==== DOMImplementation-1.3 hasFeature destroy FAILED > ==== Contents of test case: > > ::dom::DOMImplementation hasFeature destroy 1.0 > > ---- Result was: > method "hasFeature" not yet implemented > ---- Result should have been (exact matching): > 1 > ---- Test generated error; Return code was: 1 > ---- Return code should have been one of: 0 2 > ==== DOMImplementation-1.3 FAILED > > > ==== DOMImplementation-1.4 hasFeature parse FAILED > ==== Contents of test case: > > ::dom::DOMImplementation hasFeature parse 1.0 > > ---- Result was: > method "hasFeature" not yet implemented > ---- Result should have been (exact matching): > 1 > ---- Test generated error; Return code was: 1 > ---- Return code should have been one of: 0 2 > ==== DOMImplementation-1.4 FAILED > > > ==== DOMImplementation-1.5 hasFeature serialize FAILED > ==== Contents of test case: > > ::dom::DOMImplementation hasFeature serialize 1.0 > > ---- Result was: > method "hasFeature" not yet implemented > ---- Result should have been (exact matching): > 1 > ---- Test generated error; Return code was: 1 > ---- Return code should have been one of: 0 2 > ==== DOMImplementation-1.5 FAILED > > > ==== DOMImplementation-1.6 hasFeature unknown feature FAILED > ==== Contents of test case: > > ::dom::DOMImplementation hasFeature unknown 1.0 > > ---- Result was: > method "hasFeature" not yet implemented > ---- Result should have been (exact matching): > 0 > ---- Test generated error; Return code was: 1 > ---- Return code should have been one of: 0 2 > ==== DOMImplementation-1.6 FAILED > > Segmentation Fault - core dumped > make: *** [test] Error 139 > $ dbx $(whence tclsh8.4) ../tests/core > Reading tclsh8.4 > core file header read successfully > Reading ld.so.1 > Reading libtcl8.4g.so > Reading libdl.so.1 > Reading libsocket.so.1 > Reading libnsl.so.1 > Reading libm.so.1 > Reading libc.so.1 > Reading libmp.so.2 > Reading libc_psr.so.1 > Reading libtcldomxml2.4g.so > Reading libxml2.so.2 > Reading libTcldom2.4g.so > Reading libTclxml2.4g.so > program terminated by signal SEGV (no mapping at the fault address) > Current function is HashStringKey > 1021 c = *string; > (dbx 1) where > =>[1] HashStringKey(tablePtr = 0x7ef68, keyPtr = 0x2e657665), line > 1021 in "tclHash.c" > [2] Tcl_FindHashEntry(tablePtr = 0x7ef68, key = 0x2e657665 ""), line > 303 in "tclHash.c" > [3] TclDOMDeleteEvent(clientData = 0xb8e08, objPtr = 0xc0ab8), line > 1063 in "tcldom-libxml2.c" > [4] Tcl_DeleteCommandFromToken(interp = 0x236c0, cmd = 0xbb4b0), > line 2460 in "tclBasic.c" > [5] Tcl_DeleteCommand(interp = 0x236c0, cmdName = 0xc0ab8 > "doc1.event0"), line 2347 in "tclBasic.c" > [6] TclDOMDestroyEvent(event = 0xb8e08, objPtr = 0xd9870), line 1077 > in "tcldom-libxml2.c" > [7] TclDOMEventCommand(clientData = (nil), interp = 0x236c0, objc = > 0, objv = 0xefffa904), line 3993 in "tcldom-libxml2.c" > [8] TclDOMDocumentCommand(dummy = (nil), interp = 0x236c0, objc = 4, > objv = 0xefffab50), line 2178 in "tcldom-libxml2.c" > [9] TclEvalObjvInternal(interp = 0x236c0, objc = 4, objv = > 0xefffab50, command = 0xb1efb "dom::document createElement $doc top]\n > set node1 [dom::document createElement $root node]\n set node2 > [dom::document createElement $root node]\n dom::node removeChild > $root $node1\n dom::DOMImplementation destroy $node1\n\n > dom::DOMImplementation serialize $doc\n", length = 36, flags = 0), > line 3048 in "tclBasic.c" > [10] Tcl_EvalEx(interp = 0x236c0, script = 0xb1efb "dom::document > createElement $doc top]\n set node1 [dom::document createElement > $root node]\n set node2 [dom::document createElement $root node]\n > dom::node removeChild $root $node1\n dom::DOMImplementation > destroy $node1\n\n dom::DOMImplementation serialize $doc\n", > numBytes = 36, flags = 0), line 3647 in "tclBasic.c" > [11] Tcl_EvalTokensStandard(interp = 0x236c0, tokenPtr = 0xefffaf58, > count = 1), line 3362 in "tclBasic.c" > [12] Tcl_EvalEx(interp = 0x236c0, script = 0xb1ec0 "\n set doc > [dom::DOMImplementation create]\n set root [dom::document > createElement $doc top]\n set node1 [dom::document createElement > $root node]\n set node2 [dom::document createElement $root node]\n > dom::node removeChild $root $node1\n dom::DOMImplementation > destroy $node1\n\n dom::DOMImplementation serialize $doc\n", > numBytes = 331, flags = 262144), line 3629 in "tclBasic.c" > [13] Tcl_EvalObjEx(interp = 0x236c0, objPtr = 0xd48e8, flags = > 262144), line 3932 in "tclBasic.c" > [14] Tcl_UplevelObjCmd(dummy = (nil), interp = 0x236c0, objc = 1, > objv = 0x25ad0), line 674 in "tclProc.c" > [15] TclEvalObjvInternal(interp = 0x236c0, objc = 3, objv = 0x25ac8, > command = (nil), length = 0, flags = 0), line 3048 in "tclBasic.c" > [16] TclExecuteByteCode(interp = 0x236c0, codePtr = 0xb7510), line > 1431 in "tclExecute.c" > [17] TclCompEvalObj(interp = 0x236c0, objPtr = 0x4e868), line 1008 > in "tclExecute.c" > [18] TclObjInterpProc(clientData = 0x69780, interp = 0x236c0, objc = > 3, objv = 0xb91b0), line 1082 in "tclProc.c" > [19] TclEvalObjvInternal(interp = 0x236c0, objc = 3, objv = 0xb91b0, > command = 0xef75375c "", length = 0, flags = 262144), line 3048 in > "tclBasic.c" > [20] Tcl_EvalObjv(interp = 0x236c0, objc = 3, objv = 0xb91b0, flags > = 262144), line 3162 in "tclBasic.c" > [21] Tcl_EvalObjEx(interp = 0x236c0, objPtr = 0xd49a8, flags = > 262144), line 3929 in "tclBasic.c" > [22] Tcl_UplevelObjCmd(dummy = (nil), interp = 0x236c0, objc = 1, > objv = 0x25ac4), line 674 in "tclProc.c" > [23] TclEvalObjvInternal(interp = 0x236c0, objc = 3, objv = 0x25abc, > command = (nil), length = 0, flags = 0), line 3048 in "tclBasic.c" > [24] TclExecuteByteCode(interp = 0x236c0, codePtr = 0xb2510), line > 1431 in "tclExecute.c" > [25] TclCompEvalObj(interp = 0x236c0, objPtr = 0x4a1c0), line 1008 > in "tclExecute.c" > [26] TclObjInterpProc(clientData = 0x694d8, interp = 0x236c0, objc = > 3, objv = 0xcf868), line 1082 in "tclProc.c" > [27] TclEvalObjvInternal(interp = 0x236c0, objc = 3, objv = 0xcf868, > command = 0xef75375c "", length = 0, flags = 262144), line 3048 in > "tclBasic.c" > [28] Tcl_EvalObjv(interp = 0x236c0, objc = 3, objv = 0xcf868, flags > = 262144), line 3162 in "tclBasic.c" > [29] Tcl_EvalObjEx(interp = 0x236c0, objPtr = 0xd4390, flags = > 262144), line 3929 in "tclBasic.c" > [30] Tcl_UplevelObjCmd(dummy = (nil), interp = 0x236c0, objc = 1, > objv = 0x25ab8), line 674 in "tclProc.c" > [31] TclEvalObjvInternal(interp = 0x236c0, objc = 3, objv = 0x25ab0, > command = (nil), length = 0, flags = 0), line 3048 in "tclBasic.c" > [32] TclExecuteByteCode(interp = 0x236c0, codePtr = 0xb49c0), line > 1431 in "tclExecute.c" > [33] TclCompEvalObj(interp = 0x236c0, objPtr = 0x51050), line 1008 > in "tclExecute.c" > [34] TclObjInterpProc(clientData = 0x696e0, interp = 0x236c0, objc = > 9, objv = 0xefffcb98), line 1082 in "tclProc.c" > [35] InvokeImportedCmd(clientData = 0x637c8, interp = 0x236c0, objc > = 9, objv = 0xefffcb98), line 1478 in "tclNamesp.c" > [36] TclEvalObjvInternal(interp = 0x236c0, objc = 9, objv = > 0xefffcb98, command = 0x7f999 "# Bug fix #453741\ntest > DOMImplementation-3.5 {destroy an element node} -match regexp -body > {\n set doc [dom::DOMImplementation create]\n set root > [dom::document createElement $doc top]\n set node1 [dom::document > createElement $root node]\n set node2 [dom::document createElement > $root node]\n dom::node removeChild $root $node1\n > dom::DOMImplementation destroy $node1\n\n dom::DOMImplementation > serialize $doc\n} -result {<\?xml > version=("|')1\.0("|')\?>\n\n}\n\nset ::tcl" ..., length = 502, flags > = 0), line 3048 in "tclBasic.c" > [37] Tcl_EvalEx(interp = 0x236c0, script = 0x7efb0 "# Commands > covered: ::dom::DOMImplementation\n#\n# This file contains a > collection of tests for one or more of the \n# TclDOM commands. > Sourcing this file into Tcl runs the tests and\n# generates output for > errors. No output means no errors were found.\n#\n# Copyright (c) > 1998 Zveno Pty Ltd.\n#\n# $Id: DOMImplementation.test,v 1.7 2002/08/30 > 07:49:55 balls Exp $\n\npackage require tcltest ; namespace import > -force ::tcltest::*\nsource testutils.tcl\ntestPackage dom\n\ntest > DOMImplementation-1.1 {hasFeature create} -bo" ..., numBytes = 3670, > flags = 0), line 3647 in "tclBasic.c" > [38] Tcl_FSEvalFile(interp = 0x236c0, pathPtr = 0x6c1e8), line 1371 > in "tclIOUtil.c" > [39] Tcl_SourceObjCmd(dummy = (nil), interp = 0x236c0, objc = 2, > objv = 0x25aa8), line 1032 in "tclCmdMZ.c" > [40] TclEvalObjvInternal(interp = 0x236c0, objc = 2, objv = 0x25aa8, > command = (nil), length = 0, flags = 0), line 3048 in "tclBasic.c" > [41] TclExecuteByteCode(interp = 0x236c0, codePtr = 0x7c7c8), line > 1431 in "tclExecute.c" > [42] TclCompEvalObj(interp = 0x236c0, objPtr = 0x4a298), line 1008 > in "tclExecute.c" > [43] Tcl_EvalObjEx(interp = 0x236c0, objPtr = 0x4a298, flags = 0), > line 3944 in "tclBasic.c" > [44] Tcl_CatchObjCmd(dummy = (nil), interp = 0x236c0, objc = 3, objv > = 0x25a9c), line 254 in "tclCmdAH.c" > [45] TclEvalObjvInternal(interp = 0x236c0, objc = 3, objv = 0x25a9c, > command = (nil), length = 0, flags = 0), line 3048 in "tclBasic.c" > [46] TclExecuteByteCode(interp = 0x236c0, codePtr = 0x7c6a8), line > 1431 in "tclExecute.c" > [47] TclCompEvalObj(interp = 0x236c0, objPtr = 0x542e8), line 1008 > in "tclExecute.c" > [48] Tcl_EvalObjEx(interp = 0x236c0, objPtr = 0x542e8, flags = 0), > line 3944 in "tclBasic.c" > [49] Tcl_ForeachObjCmd(dummy = (nil), interp = 0x236c0, objc = 4, > objv = 0xefffd948), line 1858 in "tclCmdAH.c" > [50] TclEvalObjvInternal(interp = 0x236c0, objc = 4, objv = > 0xefffd948, command = 0x734db "\n# source each of the specified > tests\nforeach file [lsort [::tcltest::getMatchingFiles]] {\n^Iset > tail [file tail $file]\n^Iputs stdout $tail\n^Iif {[catch {source > $file} msg]} {\n^I^Iputs stdout $msg\n^I}\n}\n\n# > cleanup\n::tcltest::cleanupTests 1\nreturn\n", length = 197, flags = > 0), line 3048 in "tclBasic.c" > [51] Tcl_EvalEx(interp = 0x236c0, script = 0x73328 "# This file > contains a top-level script to run all of the Tcl\n# tests. Execute > it by invoking "source all" when running tclTest\n# in this > directory.\n#\n# Copyright (c) 2000 Ajuba Solutions\n#\n# SCCS: @(#) > all 1.8 97/08/01 11:07:14\n\nif {[lsearch [namespace children] > ::tcltest] == -1} {\n^Ipackage require tcltest\n^Inamespace import > ::tcltest::*\n}\n\nset ::tcltest::testSingleFile false\nset > ::tcltest::testsDirectory [file dir [info script]]\n\n# source each of > the specified tests\nforeach file [lsort [::tcltest::getMatc" ..., > numBytes = 676, flags = 0), line 3647 in "tclBasic.c" > [52] Tcl_FSEvalFile(interp = 0x236c0, pathPtr = 0x45ef8), line 1371 > in "tclIOUtil.c" > [53] Tcl_SourceObjCmd(dummy = (nil), interp = 0x236c0, objc = 2, > objv = 0x25a94), line 1032 in "tclCmdMZ.c" > [54] TclEvalObjvInternal(interp = 0x236c0, objc = 2, objv = 0x25a94, > command = (nil), length = 0, flags = 0), line 3048 in "tclBasic.c" > [55] TclExecuteByteCode(interp = 0x236c0, codePtr = 0x43520), line > 1431 in "tclExecute.c" > [56] TclCompEvalObj(interp = 0x236c0, objPtr = 0x2bf28), line 1008 > in "tclExecute.c" > [57] Tcl_EvalObjEx(interp = 0x236c0, objPtr = 0x2bf28, flags = > 131072), line 3944 in "tclBasic.c" > [58] Tcl_RecordAndEvalObj(interp = 0x236c0, cmdPtr = 0x2bf28, flags > = 131072), line 142 in "tclHistory.c" > [59] Tcl_Main(argc = 1, argv = 0xefffe3ac, appInitProc = 0x109e0 = > &Tcl_AppInit(Tcl_Interp *interp)), line 390 in "tclMain.c" > [60] main(argc = 1, argv = 0xefffe3ac), line 90 in "tclAppInit.c" > (dbx 2) -- Steve Ball | XSLT Standard Library | Training & Seminars Zveno Pty Ltd | Web Tcl Complete | XML XSL Schemas http://www.zveno.com/ | TclXML TclDOM | Tcl, Web Development Ste...@zv... +---------------------------+--------------------- Ph. +61 2 6242 4099 | Mobile (0413) 594 462 | Fax +61 2 6242 4099 |
From: Andreas K. <and...@Ac...> - 2002-11-01 18:29:32
|
> -----Original Message----- > From: Larry W. Virden [mailto:lv...@ca...] > Sent: Friday, November 01, 2002 10:21 AM > To: Andreas Kupries > Cc: tcl...@li...; Jeff Hobbs > Subject: Re: [Tclxml-users] ideas sought regarding tcldom's xml2 > configuration > > > > Hopefully I haven't trimmed too much off > > From: "Andreas Kupries" <and...@ac...> > > > > > It looks with the --with-Tcldom=/usr/tcl84/lib is not working in the > > > > src-xml2 directory. > > > > > > > > I'm still trying to figure out the problem here - there > doesn't _appear_ > > > > to be much use of the relevant variables in configure: > > > > Note: > > Of the three spellings in my answer (Tcldom, TclDom, tcldom) > > only the first is correct, and the others should have been like > > the first. > > > > I note: > > --with-Tcldom=/usr/tcl84/lib > > > > Is that the same directory we would get through --prefix/lib > > and/or --exec-prefix/lib ? > > Also, was the Tcldom base package installed before configuring the sub > > package in src-libxml2 ? > > > > > > All the Tcl 8.4 related extensions, etc. that I install go into > /usr/tcl84. > All my extensions are configured with a --prefix=/usr/tcl84 . > I built tcldom with that, did a make and then a make install. Then I > went to the src-xml2 directory attempted a configure, and found that > it generated a series of error msgs because I had not supplied various > --with flags, --with-xml2-* I believe ? > etc. It seems to me that the configures should look > first in the $exec_prefix, and then, if $prefix is different, in that > directory, for the things it is seeking before erroring. The --with-xml2-* code looks in Headers Shared libs ------------------------------------------- --with-xml2-include --with-xml2-lib prefix/include exec_prefix/lib /usr/include /usr/lib /usr/local/include /usr/local/lib ------------------------------------------- I do not believe that the system should search shared libs in prefix/lib. We are talking about platform dependent files here, and prefix is platform independent. Doesn't standard code in configure set exec_prefix to prefix if only prefix is specified ? -- Andreas Kupries <and...@Ac...> Developer @ http://www.ActiveState.com |
From: Larry W. V. <lv...@ca...> - 2002-11-01 18:21:36
|
Hopefully I haven't trimmed too much off From: "Andreas Kupries" <and...@ac...> > > > It looks with the --with-Tcldom=/usr/tcl84/lib is not working in the > > > src-xml2 directory. > > > > > > I'm still trying to figure out the problem here - there doesn't _appear_ > > > to be much use of the relevant variables in configure: > > Note: > Of the three spellings in my answer (Tcldom, TclDom, tcldom) > only the first is correct, and the others should have been like > the first. > > I note: > --with-Tcldom=/usr/tcl84/lib > > Is that the same directory we would get through --prefix/lib > and/or --exec-prefix/lib ? > Also, was the Tcldom base package installed before configuring the sub > package in src-libxml2 ? > > All the Tcl 8.4 related extensions, etc. that I install go into /usr/tcl84. All my extensions are configured with a --prefix=/usr/tcl84 . I built tcldom with that, did a make and then a make install. Then I went to the src-xml2 directory attempted a configure, and found that it generated a series of error msgs because I had not supplied various --with flags, etc. It seems to me that the configures should look first in the $exec_prefix, and then, if $prefix is different, in that directory, for the things it is seeking before erroring. -- Tcl - The glue of a new generation. <URL: http://wiki.tcl.tk/ > Larry W. Virden <mailto:lv...@ca...> <URL: http://www.purl.org/NET/lvirden/> Even if explicitly stated to the contrary, nothing in this posting should be construed as representing my employer's opinions. -><- |
From: Andreas K. <and...@Ac...> - 2002-11-01 18:02:57
|
> -----Original Message----- > From: Andreas Kupries [mailto:aku...@sh...] > Sent: Friday, November 01, 2002 7:35 AM > To: Larry W. Virden > Cc: tcl...@li...; Andreas Kupries > Subject: Re: [Tclxml-users] ideas sought regarding tcldom's xml2 > configuration Additional notes and questions and the end. > > Currently I am using this configure invocation: > > /vol/tclsrcsol/tcl84/tcldom/src-libxml2/configure > --prefix=/usr/tcl84 --enabl > > e-shared --enable-symbols > --with-libxml2-include=/projects/intranet/include/libx > > ml2 --with-libxml2-lib=/projects/intranet/lib > --with-Tcldom=/usr/tcl84/lib --wit > > I do not remember to have added commands to configure.in to implement > the option --with-tcldom. From my POV this option does not exist and > is not supported. ... Hm ... Wait ... > > It could come from the TEA_LOAD_CONFIG(TclDom) call which is used to > load the configuration file of Tcldom. Or the immediately preceding > call to locate this configuration file (I do not remember the name of > that macro right now). > > This means that your problem indicates some bug in these two TEA 2 > macros themselves. > > Note: I didn't specify --with-tcldom in my own builds, but installed > tcldom before compiling the libxml2 sub-package. With that I had no > trouble. > > > h-tcl=/usr/tcl84/lib > > > > and during the make I get this error: > > > > /usr/ccs/bin/ld -G -z text -o libtcldomxml2.4g.so > tcldom-libxml2.o tcldomxmlStubInit.o tcldomxmlStubLib.o > -L/usr/tcl84/lib -ltclstub8.4g -L/projects/intranet/lib -lxml2 > -LNONE/lib/Tcldom2.4 -lTcldomstub2.4g > > > > ^^^^^^^^^^^^^^^^^^^^ > > ld: fatal: library -lTcldomstub2.4g: not found > > ld: fatal: File processing errors. No output written to > libtcldomxml2.4g.so > > make: *** [libtcldomxml2.4g.so] Error 1 > > > > > > notice the -LNONE/lib/Tcldom2.4 - NONE is not a directory that > I have specified. > > It looks with the --with-Tcldom=/usr/tcl84/lib is not working in the > > src-xml2 directory. > > > > I'm still trying to figure out the problem here - there doesn't _appear_ > > to be much use of the relevant variables in configure: Note: Of the three spellings in my answer (Tcldom, TclDom, tcldom) only the first is correct, and the others should have been like the first. I note: --with-Tcldom=/usr/tcl84/lib Is that the same directory we would get through --prefix/lib and/or --exec-prefix/lib ? Also, was the Tcldom base package installed before configuring the sub package in src-libxml2 ? -- Andreas Kupries <and...@Ac...> Developer @ http://www.ActiveState.com |
From: Larry W. V. <lv...@ca...> - 2002-11-01 16:18:22
|
From: Andreas Kupries <aku...@sh...> > >> Currently I am using this configure invocation: >> /vol/tclsrcsol/tcl84/tcldom/src-libxml2/configure --prefix=/usr/tcl84 --enabl >> e-shared --enable-symbols --with-libxml2-include=/projects/intranet/include/libx >> ml2 --with-libxml2-lib=/projects/intranet/lib --with-Tcldom=/usr/tcl84/lib --wit > >I do not remember to have added commands to configure.in to implement >the option --with-tcldom. From my POV this option does not exist and >is not supported. ... Hm ... Wait ... > >It could come from the TEA_LOAD_CONFIG(TclDom) call which is used to >load the configuration file of Tcldom. Or the immediately preceding >call to locate this configuration file (I do not remember the name of >that macro right now). I know I had to add that flag or my configure failed - for some reason, TEA and TEA 2 based extensions do not, by default look for what they need in $prefix and $exec_prefix - in my opinion, they should look there before reporting that a flag is needed. > Note: I didn't specify --with-tcldom in my own builds, but installed > tcldom before compiling the libxml2 sub-package. With that I had no > trouble. I installed it first myself - but as I mention above, the configure doesn't appear to look in the directory where things are installed... -- Tcl - The glue of a new generation. <URL: http://wiki.tcl.tk/ > Larry W. Virden <mailto:lv...@ca...> <URL: http://www.purl.org/NET/lvirden/> Even if explicitly stated to the contrary, nothing in this posting should be construed as representing my employer's opinions. -><- |
From: Andreas K. <aku...@sh...> - 2002-11-01 15:56:50
|
> Currently I am using this configure invocation: > /vol/tclsrcsol/tcl84/tcldom/src-libxml2/configure --prefix=/usr/tcl84 --enabl > e-shared --enable-symbols --with-libxml2-include=/projects/intranet/include/libx > ml2 --with-libxml2-lib=/projects/intranet/lib --with-Tcldom=/usr/tcl84/lib --wit I do not remember to have added commands to configure.in to implement the option --with-tcldom. From my POV this option does not exist and is not supported. ... Hm ... Wait ... It could come from the TEA_LOAD_CONFIG(TclDom) call which is used to load the configuration file of Tcldom. Or the immediately preceding call to locate this configuration file (I do not remember the name of that macro right now). This means that your problem indicates some bug in these two TEA 2 macros themselves. Note: I didn't specify --with-tcldom in my own builds, but installed tcldom before compiling the libxml2 sub-package. With that I had no trouble. > h-tcl=/usr/tcl84/lib > > and during the make I get this error: > > /usr/ccs/bin/ld -G -z text -o libtcldomxml2.4g.so tcldom-libxml2.o tcldomxmlStubInit.o tcldomxmlStubLib.o -L/usr/tcl84/lib -ltclstub8.4g -L/projects/intranet/lib -lxml2 -LNONE/lib/Tcldom2.4 -lTcldomstub2.4g > ^^^^^^^^^^^^^^^^^^^^ > ld: fatal: library -lTcldomstub2.4g: not found > ld: fatal: File processing errors. No output written to libtcldomxml2.4g.so > make: *** [libtcldomxml2.4g.so] Error 1 > > > notice the -LNONE/lib/Tcldom2.4 - NONE is not a directory that I have specified. > It looks with the --with-Tcldom=/usr/tcl84/lib is not working in the > src-xml2 directory. > > I'm still trying to figure out the problem here - there doesn't _appear_ > to be much use of the relevant variables in configure: > > $ gegrep Tcldom_STUB_LIB_SPEC configure > Tcldom_STUB_LIB_SPEC=${Tcldom_BUILD_STUB_LIB_SPEC} > SHLIB_LD_LIBS="${SHLIB_LD_LIBS} ${Tcldom_STUB_LIB_SPEC}" > s%@Tcldom_STUB_LIB_SPEC@%$Tcldom_STUB_LIB_SPEC%g > $ gegrep -i Tcldom_BUILD_STUB_LIB_SPEC configure > Tcldom_STUB_LIB_SPEC=${Tcldom_BUILD_STUB_LIB_SPEC} > $ gegrep NONE configure > build=NONE > exec_prefix=NONE > host=NONE > nonopt=NONE > prefix=NONE > program_prefix=NONE > program_suffix=NONE > target=NONE > x_includes=NONE > x_libraries=NONE > if test "x$nonopt" != xNONE; then > if test "x$prefix" != xNONE; then > if test "${prefix}" = "NONE"; then > if test "${exec_prefix}" = "NONE" -a x"${prefix_default}" = x"yes" ; then > with_xml2include=NONE > with_xml2lib=NONE > with_iconvlib=NONE > test "x$prefix" = xNONE && prefix=$ac_default_prefix > test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' > > I don't see any of these variables in use above in initializing the > STUB_LIB_SPEC... -- So long, Andreas Kupries <aku...@sh...> <http://www.purl.org/NET/akupries/> Developer @ <http://www.activestate.com/> ------------------------------------------------------------------------------- |
From: Larry W. V. <lv...@ca...> - 2002-11-01 11:26:11
|
when I hand edit and replace the NONE with the right directory I get a .so file. Then, when I run a $ make test I get: $ make test (echo 'package ifneeded dom::libxml2 2.4 \ [list load [file join $dir libtcldomxml2.4g.so]]'\ ) > pkgIndex.tcl echo load ./libtcldomxml2.4g.so \; cd /vol/tclsrcsol/tcl84/tcldom/src-libxml2/tests \; source all | TCL_LIBRARY=`echo /vol/tclsrcsol/tcl84/tcl/library` LD_LIBRARY_PATH=".:/vol/tcl84binsol/lib:/usr/dt/lib:/usr/openwin/lib:/usr/lib:/cas/lib/sun4" LIBPATH=".:/vol/tcl84binsol/lib:" SHLIB_PATH=".:/vol/tcl84binsol/lib:" PATH=".:/vol/tcl84binsol/lib:/opt/SUNWspro/bin:/volws/lwv26/ldatae/bin:/projects/sprs_lwv/sol26/bin:/projects/sprs_lwv/sol26/bin/mime:/projects/sprs_lwv/sol2/bin:/projects/sprs_lwv/bin:/projects/sprs_lwv/bin/mime:/home/lwv26/bin/D.news:/usr/perl5/bin:/projects/gnu/sparc-sun-solaris2.6/bin:/usr/tcl84/bin:/usr/tcl83/bin:/vol/tclsrcsol/TclDevKit/bin:/projects/xopsrc/sun4/bin:/projects/xopsrc/bin:/usr/atria/bin:/projects/intranet/bin:/projects/clearcase/bin:/vol/adobe/Acrobat4.05/bin:/usr/perl5/lib/site_perl/5.005/sun4-solaris/auto/Image/Magick/bin:/opt/sfw/bin:/usr/openwin/demo:/home/lwv26/bin/D.aws:/home/lwv26/bin/sol2:/home/lwv26/bin/D.frontend:/home/lwv26/bin/D.ksh! :/cas/test/bin/sun4:/projects/sprs _lwv/bin/sol2:/usr/j2se/bin:/usr/java/bin:/home/lwv26/bin/sun4:/usr/local/bin:/usr/dt/bin:/usr/openwin/bin:/bin:/cas/bin/sun4:/cas/abin/sun4:/cas/X11/sun4/bin:/usr/ccs/bin:/lprod/bin:/usr/sbin:/usr/ucb:/cas/tools/bin/sun4:/cas/X11/sun4/tools/bin:/home/lwv26/bin:/opt/EMCpower/bin:/etc:/cas/tools/pdbin/sun4:/home/lwv26/bin/D.mistypes:/home/lwv26/bin/D.toys:/home/lwv26/bin/D.tools:/projects/npd/npdweb/bin-sol2" TCLLIBPATH="." /vol/tcl84binsol/lib/../bin/tclsh8.4 couldn't load file "./libtcldomxml2.4g.so": ld.so.1: /vol/tcl84binsol/lib/../bin/tclsh8.4: fatal: libxml2.so.2: open failed: No such file or directory The problem here is that the -R flag for the directories into which the shared libraries resides was not provided during the link. I don't know the voodoo to get this part right. Next, after hand editing the Makefile to get this to work, I try make test and find that there is no tests directory. So I link the higher level tests directory into the xml2 directory. I do a make test again and find that the Makefile tries to "source all" instead of "source all.tcl". I hand edit that in and get this : $ make test (echo 'package ifneeded dom::libxml2 2.4 \ [list load [file join $dir libtcldomxml2.4g.so]]'\ ) > pkgIndex.tcl echo load ./libtcldomxml2.4g.so \; cd /vol/tclsrcsol/tcl84/tcldom/src-libxml2/tests \; source all.tcl | TCL_LIBRARY=`echo /vol/tclsrcsol/tcl84/tcl/library` LD_LIBRARY_PATH=".:/vol/tcl84binsol/lib:/usr/dt/lib:/usr/openwin/lib:/usr/lib:/cas/lib/sun4" LIBPATH=".:/vol/tcl84binsol/lib:" SHLIB_PATH=".:/vol/tcl84binsol/lib:" PATH=".:/vol/tcl84binsol/lib:/opt/SUNWspro/bin:/volws/lwv26/ldatae/bin:/projects/sprs_lwv/sol26/bin:/projects/sprs_lwv/sol26/bin/mime:/projects/sprs_lwv/sol2/bin:/projects/sprs_lwv/bin:/projects/sprs_lwv/bin/mime:/home/lwv26/bin/D.news:/usr/perl5/bin:/projects/gnu/sparc-sun-solaris2.6/bin:/usr/tcl84/bin:/usr/tcl83/bin:/vol/tclsrcsol/TclDevKit/bin:/projects/xopsrc/sun4/bin:/projects/xopsrc/bin:/usr/atria/bin:/projects/intranet/bin:/projects/clearcase/bin:/vol/adobe/Acrobat4.05/bin:/usr/perl5/lib/site_perl/5.005/sun4-solaris/auto/Image/Magick/bin:/opt/sfw/bin:/usr/openwin/demo:/home/lwv26/bin/D.aws:/home/lwv26/bin/sol2:/home/lwv26/bin/D.frontend:/home/lwv26/bin/D! .ksh:/cas/test/bin/sun4:/projects/ sprs_lwv/bin/sol2:/usr/j2se/bin:/usr/java/bin:/home/lwv26/bin/sun4:/usr/local/bin:/usr/dt/bin:/usr/openwin/bin:/bin:/cas/bin/sun4:/cas/abin/sun4:/cas/X11/sun4/bin:/usr/ccs/bin:/lprod/bin:/usr/sbin:/usr/ucb:/cas/tools/bin/sun4:/cas/X11/sun4/tools/bin:/home/lwv26/bin:/opt/EMCpower/bin:/etc:/cas/tools/pdbin/sun4:/home/lwv26/bin/D.mistypes:/home/lwv26/bin/D.toys:/home/lwv26/bin/D.tools:/projects/npd/npdweb/bin-sol2" TCLLIBPATH="." /vol/tcl84binsol/lib/../bin/tclsh8.4 DOMImplementation.test Loaded dom version 2.4 via { if {[catch {package require dom::generic 2.4}]} { package require dom::tclgeneric } else { catch {package require dom::c} catch {package require dom::libxml2 2.4} } package provide dom 2.4 # Both the C and pure Tcl versions of the generic layer # make use of the Tcl implementation. package require dom::tcl } ==== DOMImplementation-1.1 hasFeature create FAILED ==== Contents of test case: ::dom::DOMImplementation hasFeature create 1.0 ---- Result was: method "hasFeature" not yet implemented ---- Result should have been (exact matching): 1 ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ==== DOMImplementation-1.1 FAILED ==== DOMImplementation-1.2 hasFeature create wrong version FAILED ==== Contents of test case: ::dom::DOMImplementation hasFeature create 2.0 ---- Result was: method "hasFeature" not yet implemented ---- Result should have been (exact matching): 0 ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ==== DOMImplementation-1.2 FAILED ==== DOMImplementation-1.3 hasFeature destroy FAILED ==== Contents of test case: ::dom::DOMImplementation hasFeature destroy 1.0 ---- Result was: method "hasFeature" not yet implemented ---- Result should have been (exact matching): 1 ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ==== DOMImplementation-1.3 FAILED ==== DOMImplementation-1.4 hasFeature parse FAILED ==== Contents of test case: ::dom::DOMImplementation hasFeature parse 1.0 ---- Result was: method "hasFeature" not yet implemented ---- Result should have been (exact matching): 1 ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ==== DOMImplementation-1.4 FAILED ==== DOMImplementation-1.5 hasFeature serialize FAILED ==== Contents of test case: ::dom::DOMImplementation hasFeature serialize 1.0 ---- Result was: method "hasFeature" not yet implemented ---- Result should have been (exact matching): 1 ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ==== DOMImplementation-1.5 FAILED ==== DOMImplementation-1.6 hasFeature unknown feature FAILED ==== Contents of test case: ::dom::DOMImplementation hasFeature unknown 1.0 ---- Result was: method "hasFeature" not yet implemented ---- Result should have been (exact matching): 0 ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ==== DOMImplementation-1.6 FAILED Segmentation Fault - core dumped make: *** [test] Error 139 $ dbx $(whence tclsh8.4) ../tests/core Reading tclsh8.4 core file header read successfully Reading ld.so.1 Reading libtcl8.4g.so Reading libdl.so.1 Reading libsocket.so.1 Reading libnsl.so.1 Reading libm.so.1 Reading libc.so.1 Reading libmp.so.2 Reading libc_psr.so.1 Reading libtcldomxml2.4g.so Reading libxml2.so.2 Reading libTcldom2.4g.so Reading libTclxml2.4g.so program terminated by signal SEGV (no mapping at the fault address) Current function is HashStringKey 1021 c = *string; (dbx 1) where =>[1] HashStringKey(tablePtr = 0x7ef68, keyPtr = 0x2e657665), line 1021 in "tclHash.c" [2] Tcl_FindHashEntry(tablePtr = 0x7ef68, key = 0x2e657665 ""), line 303 in "tclHash.c" [3] TclDOMDeleteEvent(clientData = 0xb8e08, objPtr = 0xc0ab8), line 1063 in "tcldom-libxml2.c" [4] Tcl_DeleteCommandFromToken(interp = 0x236c0, cmd = 0xbb4b0), line 2460 in "tclBasic.c" [5] Tcl_DeleteCommand(interp = 0x236c0, cmdName = 0xc0ab8 "doc1.event0"), line 2347 in "tclBasic.c" [6] TclDOMDestroyEvent(event = 0xb8e08, objPtr = 0xd9870), line 1077 in "tcldom-libxml2.c" [7] TclDOMEventCommand(clientData = (nil), interp = 0x236c0, objc = 0, objv = 0xefffa904), line 3993 in "tcldom-libxml2.c" [8] TclDOMDocumentCommand(dummy = (nil), interp = 0x236c0, objc = 4, objv = 0xefffab50), line 2178 in "tcldom-libxml2.c" [9] TclEvalObjvInternal(interp = 0x236c0, objc = 4, objv = 0xefffab50, command = 0xb1efb "dom::document createElement $doc top]\n set node1 [dom::document createElement $root node]\n set node2 [dom::document createElement $root node]\n dom::node removeChild $root $node1\n dom::DOMImplementation destroy $node1\n\n dom::DOMImplementation serialize $doc\n", length = 36, flags = 0), line 3048 in "tclBasic.c" [10] Tcl_EvalEx(interp = 0x236c0, script = 0xb1efb "dom::document createElement $doc top]\n set node1 [dom::document createElement $root node]\n set node2 [dom::document createElement $root node]\n dom::node removeChild $root $node1\n dom::DOMImplementation destroy $node1\n\n dom::DOMImplementation serialize $doc\n", numBytes = 36, flags = 0), line 3647 in "tclBasic.c" [11] Tcl_EvalTokensStandard(interp = 0x236c0, tokenPtr = 0xefffaf58, count = 1), line 3362 in "tclBasic.c" [12] Tcl_EvalEx(interp = 0x236c0, script = 0xb1ec0 "\n set doc [dom::DOMImplementation create]\n set root [dom::document createElement $doc top]\n set node1 [dom::document createElement $root node]\n set node2 [dom::document createElement $root node]\n dom::node removeChild $root $node1\n dom::DOMImplementation destroy $node1\n\n dom::DOMImplementation serialize $doc\n", numBytes = 331, flags = 262144), line 3629 in "tclBasic.c" [13] Tcl_EvalObjEx(interp = 0x236c0, objPtr = 0xd48e8, flags = 262144), line 3932 in "tclBasic.c" [14] Tcl_UplevelObjCmd(dummy = (nil), interp = 0x236c0, objc = 1, objv = 0x25ad0), line 674 in "tclProc.c" [15] TclEvalObjvInternal(interp = 0x236c0, objc = 3, objv = 0x25ac8, command = (nil), length = 0, flags = 0), line 3048 in "tclBasic.c" [16] TclExecuteByteCode(interp = 0x236c0, codePtr = 0xb7510), line 1431 in "tclExecute.c" [17] TclCompEvalObj(interp = 0x236c0, objPtr = 0x4e868), line 1008 in "tclExecute.c" [18] TclObjInterpProc(clientData = 0x69780, interp = 0x236c0, objc = 3, objv = 0xb91b0), line 1082 in "tclProc.c" [19] TclEvalObjvInternal(interp = 0x236c0, objc = 3, objv = 0xb91b0, command = 0xef75375c "", length = 0, flags = 262144), line 3048 in "tclBasic.c" [20] Tcl_EvalObjv(interp = 0x236c0, objc = 3, objv = 0xb91b0, flags = 262144), line 3162 in "tclBasic.c" [21] Tcl_EvalObjEx(interp = 0x236c0, objPtr = 0xd49a8, flags = 262144), line 3929 in "tclBasic.c" [22] Tcl_UplevelObjCmd(dummy = (nil), interp = 0x236c0, objc = 1, objv = 0x25ac4), line 674 in "tclProc.c" [23] TclEvalObjvInternal(interp = 0x236c0, objc = 3, objv = 0x25abc, command = (nil), length = 0, flags = 0), line 3048 in "tclBasic.c" [24] TclExecuteByteCode(interp = 0x236c0, codePtr = 0xb2510), line 1431 in "tclExecute.c" [25] TclCompEvalObj(interp = 0x236c0, objPtr = 0x4a1c0), line 1008 in "tclExecute.c" [26] TclObjInterpProc(clientData = 0x694d8, interp = 0x236c0, objc = 3, objv = 0xcf868), line 1082 in "tclProc.c" [27] TclEvalObjvInternal(interp = 0x236c0, objc = 3, objv = 0xcf868, command = 0xef75375c "", length = 0, flags = 262144), line 3048 in "tclBasic.c" [28] Tcl_EvalObjv(interp = 0x236c0, objc = 3, objv = 0xcf868, flags = 262144), line 3162 in "tclBasic.c" [29] Tcl_EvalObjEx(interp = 0x236c0, objPtr = 0xd4390, flags = 262144), line 3929 in "tclBasic.c" [30] Tcl_UplevelObjCmd(dummy = (nil), interp = 0x236c0, objc = 1, objv = 0x25ab8), line 674 in "tclProc.c" [31] TclEvalObjvInternal(interp = 0x236c0, objc = 3, objv = 0x25ab0, command = (nil), length = 0, flags = 0), line 3048 in "tclBasic.c" [32] TclExecuteByteCode(interp = 0x236c0, codePtr = 0xb49c0), line 1431 in "tclExecute.c" [33] TclCompEvalObj(interp = 0x236c0, objPtr = 0x51050), line 1008 in "tclExecute.c" [34] TclObjInterpProc(clientData = 0x696e0, interp = 0x236c0, objc = 9, objv = 0xefffcb98), line 1082 in "tclProc.c" [35] InvokeImportedCmd(clientData = 0x637c8, interp = 0x236c0, objc = 9, objv = 0xefffcb98), line 1478 in "tclNamesp.c" [36] TclEvalObjvInternal(interp = 0x236c0, objc = 9, objv = 0xefffcb98, command = 0x7f999 "# Bug fix #453741\ntest DOMImplementation-3.5 {destroy an element node} -match regexp -body {\n set doc [dom::DOMImplementation create]\n set root [dom::document createElement $doc top]\n set node1 [dom::document createElement $root node]\n set node2 [dom::document createElement $root node]\n dom::node removeChild $root $node1\n dom::DOMImplementation destroy $node1\n\n dom::DOMImplementation serialize $doc\n} -result {<\?xml version=("|')1\.0("|')\?>\n<!DOCTYPE top>\n<top><node/></top>}\n\nset ::tcl" ..., length = 502, flags = 0), line 3048 in "tclBasic.c" [37] Tcl_EvalEx(interp = 0x236c0, script = 0x7efb0 "# Commands covered: ::dom::DOMImplementation\n#\n# This file contains a collection of tests for one or more of the \n# TclDOM commands. Sourcing this file into Tcl runs the tests and\n# generates output for errors. No output means no errors were found.\n#\n# Copyright (c) 1998 Zveno Pty Ltd.\n#\n# $Id: DOMImplementation.test,v 1.7 2002/08/30 07:49:55 balls Exp $\n\npackage require tcltest ; namespace import -force ::tcltest::*\nsource testutils.tcl\ntestPackage dom\n\ntest DOMImplementation-1.1 {hasFeature create} -bo" ..., numBytes = 3670, flags = 0), line 3647 in "tclBasic.c" [38] Tcl_FSEvalFile(interp = 0x236c0, pathPtr = 0x6c1e8), line 1371 in "tclIOUtil.c" [39] Tcl_SourceObjCmd(dummy = (nil), interp = 0x236c0, objc = 2, objv = 0x25aa8), line 1032 in "tclCmdMZ.c" [40] TclEvalObjvInternal(interp = 0x236c0, objc = 2, objv = 0x25aa8, command = (nil), length = 0, flags = 0), line 3048 in "tclBasic.c" [41] TclExecuteByteCode(interp = 0x236c0, codePtr = 0x7c7c8), line 1431 in "tclExecute.c" [42] TclCompEvalObj(interp = 0x236c0, objPtr = 0x4a298), line 1008 in "tclExecute.c" [43] Tcl_EvalObjEx(interp = 0x236c0, objPtr = 0x4a298, flags = 0), line 3944 in "tclBasic.c" [44] Tcl_CatchObjCmd(dummy = (nil), interp = 0x236c0, objc = 3, objv = 0x25a9c), line 254 in "tclCmdAH.c" [45] TclEvalObjvInternal(interp = 0x236c0, objc = 3, objv = 0x25a9c, command = (nil), length = 0, flags = 0), line 3048 in "tclBasic.c" [46] TclExecuteByteCode(interp = 0x236c0, codePtr = 0x7c6a8), line 1431 in "tclExecute.c" [47] TclCompEvalObj(interp = 0x236c0, objPtr = 0x542e8), line 1008 in "tclExecute.c" [48] Tcl_EvalObjEx(interp = 0x236c0, objPtr = 0x542e8, flags = 0), line 3944 in "tclBasic.c" [49] Tcl_ForeachObjCmd(dummy = (nil), interp = 0x236c0, objc = 4, objv = 0xefffd948), line 1858 in "tclCmdAH.c" [50] TclEvalObjvInternal(interp = 0x236c0, objc = 4, objv = 0xefffd948, command = 0x734db "\n# source each of the specified tests\nforeach file [lsort [::tcltest::getMatchingFiles]] {\n^Iset tail [file tail $file]\n^Iputs stdout $tail\n^Iif {[catch {source $file} msg]} {\n^I^Iputs stdout $msg\n^I}\n}\n\n# cleanup\n::tcltest::cleanupTests 1\nreturn\n", length = 197, flags = 0), line 3048 in "tclBasic.c" [51] Tcl_EvalEx(interp = 0x236c0, script = 0x73328 "# This file contains a top-level script to run all of the Tcl\n# tests. Execute it by invoking "source all" when running tclTest\n# in this directory.\n#\n# Copyright (c) 2000 Ajuba Solutions\n#\n# SCCS: @(#) all 1.8 97/08/01 11:07:14\n\nif {[lsearch [namespace children] ::tcltest] == -1} {\n^Ipackage require tcltest\n^Inamespace import ::tcltest::*\n}\n\nset ::tcltest::testSingleFile false\nset ::tcltest::testsDirectory [file dir [info script]]\n\n# source each of the specified tests\nforeach file [lsort [::tcltest::getMatc" ..., numBytes = 676, flags = 0), line 3647 in "tclBasic.c" [52] Tcl_FSEvalFile(interp = 0x236c0, pathPtr = 0x45ef8), line 1371 in "tclIOUtil.c" [53] Tcl_SourceObjCmd(dummy = (nil), interp = 0x236c0, objc = 2, objv = 0x25a94), line 1032 in "tclCmdMZ.c" [54] TclEvalObjvInternal(interp = 0x236c0, objc = 2, objv = 0x25a94, command = (nil), length = 0, flags = 0), line 3048 in "tclBasic.c" [55] TclExecuteByteCode(interp = 0x236c0, codePtr = 0x43520), line 1431 in "tclExecute.c" [56] TclCompEvalObj(interp = 0x236c0, objPtr = 0x2bf28), line 1008 in "tclExecute.c" [57] Tcl_EvalObjEx(interp = 0x236c0, objPtr = 0x2bf28, flags = 131072), line 3944 in "tclBasic.c" [58] Tcl_RecordAndEvalObj(interp = 0x236c0, cmdPtr = 0x2bf28, flags = 131072), line 142 in "tclHistory.c" [59] Tcl_Main(argc = 1, argv = 0xefffe3ac, appInitProc = 0x109e0 = &Tcl_AppInit(Tcl_Interp *interp)), line 390 in "tclMain.c" [60] main(argc = 1, argv = 0xefffe3ac), line 90 in "tclAppInit.c" (dbx 2) -- Tcl - The glue of a new generation. <URL: http://wiki.tcl.tk/ > Larry W. Virden <mailto:lv...@ca...> <URL: http://www.purl.org/NET/lvirden/> Even if explicitly stated to the contrary, nothing in this posting should be construed as representing my employer's opinions. -><- |
From: Larry W. V. <lv...@ca...> - 2002-11-01 11:17:56
|
Currently I am using this configure invocation: /vol/tclsrcsol/tcl84/tcldom/src-libxml2/configure --prefix=/usr/tcl84 --enabl e-shared --enable-symbols --with-libxml2-include=/projects/intranet/include/libx ml2 --with-libxml2-lib=/projects/intranet/lib --with-Tcldom=/usr/tcl84/lib --wit h-tcl=/usr/tcl84/lib and during the make I get this error: /usr/ccs/bin/ld -G -z text -o libtcldomxml2.4g.so tcldom-libxml2.o tcldomxmlStubInit.o tcldomxmlStubLib.o -L/usr/tcl84/lib -ltclstub8.4g -L/projects/intranet/lib -lxml2 -LNONE/lib/Tcldom2.4 -lTcldomstub2.4g ^^^^^^^^^^^^^^^^^^^^ ld: fatal: library -lTcldomstub2.4g: not found ld: fatal: File processing errors. No output written to libtcldomxml2.4g.so make: *** [libtcldomxml2.4g.so] Error 1 notice the -LNONE/lib/Tcldom2.4 - NONE is not a directory that I have specified. It looks with the --with-Tcldom=/usr/tcl84/lib is not working in the src-xml2 directory. I'm still trying to figure out the problem here - there doesn't _appear_ to be much use of the relevant variables in configure: $ gegrep Tcldom_STUB_LIB_SPEC configure Tcldom_STUB_LIB_SPEC=${Tcldom_BUILD_STUB_LIB_SPEC} SHLIB_LD_LIBS="${SHLIB_LD_LIBS} ${Tcldom_STUB_LIB_SPEC}" s%@Tcldom_STUB_LIB_SPEC@%$Tcldom_STUB_LIB_SPEC%g $ gegrep -i Tcldom_BUILD_STUB_LIB_SPEC configure Tcldom_STUB_LIB_SPEC=${Tcldom_BUILD_STUB_LIB_SPEC} $ gegrep NONE configure build=NONE exec_prefix=NONE host=NONE nonopt=NONE prefix=NONE program_prefix=NONE program_suffix=NONE target=NONE x_includes=NONE x_libraries=NONE if test "x$nonopt" != xNONE; then if test "x$prefix" != xNONE; then if test "${prefix}" = "NONE"; then if test "${exec_prefix}" = "NONE" -a x"${prefix_default}" = x"yes" ; then with_xml2include=NONE with_xml2lib=NONE with_iconvlib=NONE test "x$prefix" = xNONE && prefix=$ac_default_prefix test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' I don't see any of these variables in use above in initializing the STUB_LIB_SPEC... -- Tcl - The glue of a new generation. <URL: http://wiki.tcl.tk/ > Larry W. Virden <mailto:lv...@ca...> <URL: http://www.purl.org/NET/lvirden/> Even if explicitly stated to the contrary, nothing in this posting should be construed as representing my employer's opinions. -><- |
From: Larry W. V. <lv...@ca...> - 2002-10-31 17:37:00
|
Well, after discussing matters with a helpful friend, I have reached a point of at least being able to build tcldom code again. Several steps went on today - directly relating to tcldom were things like finding I had to rerun autoconf myself - apparently there was some change to configure.in and a new configure wasn't being generated. Then, when I DID run autoconrf, I got the error: $ autoconf configure:3905: error: do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs. LIBOBJS' This apparently occurs because I have version 2.53 of autoconf - relatively newer than the tcl community is used to using. I hope someone takes a look at this warning to see what should be upgraded. Even with this error, I find that the configure generated is now able to build the Config.sh file. The test suite still fails - but at least the libraries are building. -- Tcl - The glue of a new generation. <URL: http://wiki.tcl.tk/ > Larry W. Virden <mailto:lv...@ca...> <URL: http://www.purl.org/NET/lvirden/> Even if explicitly stated to the contrary, nothing in this posting should be construed as representing my employer's opinions. -><- |
From: Larry W. V. <lv...@ca...> - 2002-10-31 16:30:48
|
From: Andreas Kupries <aku...@sh...> > It should be created during configure of the toplevel package, > from TcldomConfig.sh.in, which should be in the toplevel directory. For some reason, it isn't currently being created . I wonder why not. There's nothing in the config.log file or output during runtime to indicate a problem. -- Tcl - The glue of a new generation. <URL: http://wiki.tcl.tk/ > Larry W. Virden <mailto:lv...@ca...> <URL: http://www.purl.org/NET/lvirden/> Even if explicitly stated to the contrary, nothing in this posting should be construed as representing my employer's opinions. -><- |
From: Andreas K. <aku...@sh...> - 2002-10-31 16:10:14
|
> With the tcldom CVS head, make install looks for a TcldomConfig.sh but > one never gets created during configure or make all . What step do I need > to take to create one? It should be created during configure of the toplevel package, from TcldomConfig.sh.in, which should be in the toplevel directory. -- So long, Andreas Kupries <aku...@sh...> <http://www.purl.org/NET/akupries/> Developer @ <http://www.activestate.com/> ------------------------------------------------------------------------------- |
From: Larry W. V. <lv...@ca...> - 2002-10-31 11:15:03
|
The following appears to be necessary to get the Makefile closer to running the test suite. --- Makefile.in.orig Thu Oct 31 06:13:50 2002 +++ Makefile.in Thu Oct 31 06:13:59 2002 @@ -260,3 +260,3 @@ test: binaries libraries - echo load ./$(Tcldom_LIB_FILE) \; cd $(srcdir)/tests \; source all | $(TCLSH) $(TESTFLAGS) + echo load ./$(Tcldom_LIB_FILE) \; cd $(srcdir)/tests \; source all.tcl | $(TCLSH) $(TESTFLAGS) -- Tcl - The glue of a new generation. <URL: http://wiki.tcl.tk/ > Larry W. Virden <mailto:lv...@ca...> <URL: http://www.purl.org/NET/lvirden/> Even if explicitly stated to the contrary, nothing in this posting should be construed as representing my employer's opinions. -><- |
From: Larry W. V. <lv...@ca...> - 2002-10-31 11:12:12
|
With the tcldom CVS head, make install looks for a TcldomConfig.sh but one never gets created during configure or make all . What step do I need to take to create one? -- Tcl - The glue of a new generation. <URL: http://wiki.tcl.tk/ > Larry W. Virden <mailto:lv...@ca...> <URL: http://www.purl.org/NET/lvirden/> Even if explicitly stated to the contrary, nothing in this posting should be construed as representing my employer's opinions. -><- |
From: Steve B. <Ste...@zv...> - 2002-10-15 21:24:00
|
Hi Larry, Wait a day or two (at least) for the CVS snapshot to catch up with changes to the code. Yesterday I updated all of the packages to v2.4 and at one point TclDOM wouldn't load because it was looking for TclXML v2.4, which hadn't yet been updated (it is now). There are now three people working on the build/install system, so hopefully it won't take too long to get these problems sorted out. Cheers, Steve Ball You wrote: > I have the latest TclDOM code from the cvs (the > snapshot tar file that ActiveState creates for > us daily). > > $ gtar xfz Tars/tcldom-20021014.tar.gz > $ cd tcldom > $ autoconf > configure:3904: error: do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs. LIBOBJS' > $ $PWD/configure --prefix=/usr/tcl84 --enable-symbols --enable-shared --with-xml2 > checking for correct TEA configuration... ok > checking for Tcl configuration... found /vol/tclsrcsol/tcl84/tcl/unix/tclConfig.sh > checking for existence of /vol/tclsrcsol/tcl84/tcl/unix/tclConfig.sh... loading > checking for gcc... cc > checking for C compiler default output... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... no > checking whether cc accepts -g... yes > checking for a BSD-compatible install... /projects/gnu/sparc-sun-solaris2.6/bin/ginstall -c > checking whether make sets ${MAKE}... yes > checking for ranlib... ranlib > checking for Tcl public headers... /usr/tcl84/include > checking for building with threads... no (default) > checking how to build libraries... shared > checking how to run the C preprocessor... cc -E > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... no > checking for unistd.h... yes > checking if 64bit support is enabled... no > checking if 64bit Sparc VIS support is requested... no > checking system version (for dynamic loading)... SunOS-5.6 > checking for dlopen in -ldl... yes > checking for ar... ar > checking for build with symbols... yes > checking for tclsh... /vol/tclsrcsol/tcl84/tcl/unix/tclsh > configure: creating ./config.status > config.status: creating Makefile > config.status: creating library/pkgIndex.tcl > cc -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STR > UCT_DIRENT64=1 -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DWORDS_BIGENDIAN=1 > -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL= > 1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SY > S_PARAM_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZ > NAME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BL > KSIZE=1 -Dstrtod=fixstrtod -DSTDC_HEADERS=1 -Dsocklen_t=unsigned -DNO_UNION_WAIT > =1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -D_REENTRANT=1 -D_POSIX_PTHREAD_SEMANT > ICS=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DPACKAGE_NAME=\"\" -DPACKAGE_T > ARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\ > " -DVERSION=\"2.4\" -DTCLDOM_VERSION=\"2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H > =1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DH > AVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -D_REENTRANT=1 -D_POSIX_PT > HREAD_SEMANTICS=1 -DUSE_TCL_STUBS=1 -I"/usr/tcl84/include" -g -KPIC -c `e > cho tcldom.c` -o tcldom.o > "tcldom.c", line 210: warning: argument #3 is incompatible with prototype: > prototype: pointer to pointer to const char : "unknown", line 0 > argument : pointer to pointer to char > "tcldom.c", line 285: warning: argument #3 is incompatible with prototype: > prototype: pointer to pointer to const char : "unknown", line 0 > argument : pointer to pointer to char > rm -f libTcldom2.4g.so > /usr/ccs/bin/ld -G -z text -o libTcldom2.4g.so tcldom.o -L/vol/tclsrcsol/tcl8 > 4/tcl/unix -ltclstub8.4g > : libTcldom2.4g.so > $make install > /projects/gnu/sparc-sun-solaris2.6/bin/ginstall -c libTcldom2.4g.so /usr/tcl84/lib/Tcldom2.4/libTcldom2.4g.so > : /usr/tcl84/lib/Tcldom2.4/libTcldom2.4g.so > if test "x1" = "x1"; then \ > /projects/gnu/sparc-sun-solaris2.6/bin/ginstall -c -m 644 library/pkgIndex.tcl /usr/tcl84/lib/Tcldom2.4; \ > fi > Installing header files in /usr/tcl84/include > Installing /vol/tclsrcsol/tcl84/tcldom/tcldom.h > Installing /vol/tclsrcsol/tcl84/tcldom/library/dom.tcl > Installing /vol/tclsrcsol/tcl84/tcldom/library/domimpl.tcl > Installing /vol/tclsrcsol/tcl84/tcldom/library/dommap.tcl > Installing /vol/tclsrcsol/tcl84/tcldom/library/xmlswitch.tcl > libraries done > $ wish ./install.tcl > Build data file is missing. > Attempting to build from /vol/tclsrcsol/tcl84/tcldom/config.status > > with a dialog box that says "Warning: An error occurred > while parsing the build config > status data. > No macros > found > > then the TclDOM 2.4 Installer appears with a warning > that > No files matching pattern "./docs/*.html" were found > > > > After I complete the process, I then type: > > $ tclsh > % package require TclDOM > error reading package index file /usr/tcl84/lib/tcldom-2.4/pkgIndex.tcl: expected version number but got "@VERSION@" > error reading package index file /usr/tcl84/lib/tcldom-2.4/pkgIndex.tcl: expected version number but got "@VERSION@" > can't find package TclDOM > % > > > I tried to follow the README file - is there some step I missed? -- Steve Ball | XSLT Standard Library | Training & Seminars Zveno Pty Ltd | Web Tcl Complete | XML XSL Schemas http://www.zveno.com/ | TclXML TclDOM | Tcl, Web Development Ste...@zv... +---------------------------+--------------------- Ph. +61 2 6242 4099 | Mobile (0413) 594 462 | Fax +61 2 6242 4099 |
From: Larry W. V. <lv...@ca...> - 2002-10-15 11:44:15
|
I tried hand editing in the @VERSION@ number into the pkgIndex.tcl - and discovered that a second variable, @Tcldom_LIB_FILE@, also was not expanded. -- Tcl - The glue of a new generation. <URL: http://wiki.tcl.tk/ > Larry W. Virden <mailto:lv...@ca...> <URL: http://www.purl.org/NET/lvirden/> Even if explicitly stated to the contrary, nothing in this posting should be construed as representing my employer's opinions. -><- |
From: Larry W. V. <lv...@ca...> - 2002-10-15 11:42:52
|
I have libxml2 and libxslt installed - however, they are in a non-standard location. When I attempt to configure Tclxslt, I have LDFLAGS and CFLAGS set to the appropriate -I and -L values. configure however reports: $ $PWD/configure --prefix=/usr/tcl84 --enable-symbols --enable-shared checking for gcc... cc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... no checking whether cc accepts -g... yes checking for a BSD-compatible install... /projects/gnu/sparc-sun-solaris2.6/bin/ginstall -c checking whether make sets ${MAKE}... yes checking for ranlib... ranlib checking build system type... sparc-sun-solaris2.6 checking host system type... sparc-sun-solaris2.6 checking for Tcl configuration... found /vol/tclsrcsol/tcl84/tcl/unix/tclConfig.sh checking for existence of /vol/tclsrcsol/tcl84/tcl/unix/tclConfig.sh... loading checking for tcldom library... -L/usr/tcl84/lib -ltcldom2.3 checking for xslt library... configure: error: not found and the config.log doesn't help - it just shows the same error without explanation. -- Tcl - The glue of a new generation. <URL: http://wiki.tcl.tk/ > Larry W. Virden <mailto:lv...@ca...> <URL: http://www.purl.org/NET/lvirden/> Even if explicitly stated to the contrary, nothing in this posting should be construed as representing my employer's opinions. -><- |
From: Larry W. V. <lv...@ca...> - 2002-10-15 11:25:14
|
I have the latest TclDOM code from the cvs (the snapshot tar file that ActiveState creates for us daily). $ gtar xfz Tars/tcldom-20021014.tar.gz $ cd tcldom $ autoconf configure:3904: error: do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs. LIBOBJS' $ $PWD/configure --prefix=/usr/tcl84 --enable-symbols --enable-shared --with-xml2 checking for correct TEA configuration... ok checking for Tcl configuration... found /vol/tclsrcsol/tcl84/tcl/unix/tclConfig.sh checking for existence of /vol/tclsrcsol/tcl84/tcl/unix/tclConfig.sh... loading checking for gcc... cc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... no checking whether cc accepts -g... yes checking for a BSD-compatible install... /projects/gnu/sparc-sun-solaris2.6/bin/ginstall -c checking whether make sets ${MAKE}... yes checking for ranlib... ranlib checking for Tcl public headers... /usr/tcl84/include checking for building with threads... no (default) checking how to build libraries... shared checking how to run the C preprocessor... cc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... no checking for unistd.h... yes checking if 64bit support is enabled... no checking if 64bit Sparc VIS support is requested... no checking system version (for dynamic loading)... SunOS-5.6 checking for dlopen in -ldl... yes checking for ar... ar checking for build with symbols... yes checking for tclsh... /vol/tclsrcsol/tcl84/tcl/unix/tclsh configure: creating ./config.status config.status: creating Makefile config.status: creating library/pkgIndex.tcl cc -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STR UCT_DIRENT64=1 -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DWORDS_BIGENDIAN=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL= 1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SY S_PARAM_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZ NAME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BL KSIZE=1 -Dstrtod=fixstrtod -DSTDC_HEADERS=1 -Dsocklen_t=unsigned -DNO_UNION_WAIT =1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -D_REENTRANT=1 -D_POSIX_PTHREAD_SEMANT ICS=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DPACKAGE_NAME=\"\" -DPACKAGE_T ARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\ " -DVERSION=\"2.4\" -DTCLDOM_VERSION=\"2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H =1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DH AVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -D_REENTRANT=1 -D_POSIX_PT HREAD_SEMANTICS=1 -DUSE_TCL_STUBS=1 -I"/usr/tcl84/include" -g -KPIC -c `e cho tcldom.c` -o tcldom.o "tcldom.c", line 210: warning: argument #3 is incompatible with prototype: prototype: pointer to pointer to const char : "unknown", line 0 argument : pointer to pointer to char "tcldom.c", line 285: warning: argument #3 is incompatible with prototype: prototype: pointer to pointer to const char : "unknown", line 0 argument : pointer to pointer to char rm -f libTcldom2.4g.so /usr/ccs/bin/ld -G -z text -o libTcldom2.4g.so tcldom.o -L/vol/tclsrcsol/tcl8 4/tcl/unix -ltclstub8.4g : libTcldom2.4g.so $make install /projects/gnu/sparc-sun-solaris2.6/bin/ginstall -c libTcldom2.4g.so /usr/tcl84/lib/Tcldom2.4/libTcldom2.4g.so : /usr/tcl84/lib/Tcldom2.4/libTcldom2.4g.so if test "x1" = "x1"; then \ /projects/gnu/sparc-sun-solaris2.6/bin/ginstall -c -m 644 library/pkgIndex.tcl /usr/tcl84/lib/Tcldom2.4; \ fi Installing header files in /usr/tcl84/include Installing /vol/tclsrcsol/tcl84/tcldom/tcldom.h Installing /vol/tclsrcsol/tcl84/tcldom/library/dom.tcl Installing /vol/tclsrcsol/tcl84/tcldom/library/domimpl.tcl Installing /vol/tclsrcsol/tcl84/tcldom/library/dommap.tcl Installing /vol/tclsrcsol/tcl84/tcldom/library/xmlswitch.tcl libraries done $ wish ./install.tcl Build data file is missing. Attempting to build from /vol/tclsrcsol/tcl84/tcldom/config.status with a dialog box that says "Warning: An error occurred while parsing the build config status data. No macros found then the TclDOM 2.4 Installer appears with a warning that No files matching pattern "./docs/*.html" were found After I complete the process, I then type: $ tclsh % package require TclDOM error reading package index file /usr/tcl84/lib/tcldom-2.4/pkgIndex.tcl: expected version number but got "@VERSION@" error reading package index file /usr/tcl84/lib/tcldom-2.4/pkgIndex.tcl: expected version number but got "@VERSION@" can't find package TclDOM % I tried to follow the README file - is there some step I missed? -- Tcl - The glue of a new generation. <URL: http://wiki.tcl.tk/ > Larry W. Virden <mailto:lv...@ca...> <URL: http://www.purl.org/NET/lvirden/> Even if explicitly stated to the contrary, nothing in this posting should be construed as representing my employer's opinions. -><- |
From: Derek F. <fo...@hu...> - 2002-10-14 14:19:34
|
> I wrote some stuff to basically copy the node information (as opposed to > the nodes themselves). I'm not sure it's full featured-- the documents I'm > dealing with tend not to have text attached but rather to be just name > value pairs in the tags themselves. But if it doesn't work for your needs, > maybe it's something you can easily extend-- take a look at the copyNode > procedure. Thanks for that bit of code. My own version currently does elements, attributes, text and comments. That's all I need for now. If I need anything more I'll use yours instead. :o) -- 3:13pm up 7:50, 1 user, load average: 0.24, 0.13, 0.07 |
From: Derek F. <fo...@hu...> - 2002-10-14 13:59:52
|
> I've used "::dom::document importNode" function in the same case, check > whether this function exists in your dom implementation. Alas, my requirement for ActiveTcl bites me once again. importNode is "not yet implemented". :o( I'm currently carving out a routine to deep duplicate a node into another tree using the create*** routines. It's going to be fiddly to get the details right. I don't suppose anyone's got one already written have they? -- 2:55pm up 7:32, 1 user, load average: 0.15, 0.05, 0.01 |
From: Moisei R. <mra...@il...> - 2002-10-14 13:36:14
|
Hi, I've used "::dom::document importNode" function in the same case, check whether this function exists in your dom implementation. Pay attention the deep option is boolean and means recursive/not recusrsive import but not the real deep level. the sample is like following: set xmlStr1 {<DOC1> <E11 a1="1"/> <E12 a2="2"/></DOC1>} set xmlStr2 {<DOC2> <E21 a1="1"/> <E22 a2="2"/></DOC2>} set doc1 [::dom::DOMImplementation parse $xmlStr1 -parser expat] set doc2 [::dom::DOMImplementation parse $xmlStr2 -parser expat] set origNode [::dom::document cget $doc2 -documentElement] set importedNode [::dom::document importNode $doc1 $origNode -deep 1] ;# deep is boolean set targetNode [::dom::document cget $doc1 -documentElement] ::dom::DOMImplementation destroy $doc2 dom::node appendChild $targetNode $importedNode ::dom::DOMImplementation serialize $doc1 and here is with the results: % set xmlStr1 {<DOC1> <E11 a1="1"/> <E12 a2="2"/></DOC1>} <DOC1> <E11 a1="1"/> <E12 a2="2"/></DOC1> % set xmlStr2 {<DOC2> <E21 a1="1"/> <E22 a2="2"/></DOC2>} <DOC2> <E21 a1="1"/> <E22 a2="2"/></DOC2> % set doc1 [::dom::DOMImplementation parse $xmlStr1 -parser expat] node1 % set doc2 [::dom::DOMImplementation parse $xmlStr2 -parser expat] node7 % set origNode [::dom::document cget $doc2 -documentElement] node8 % set importedNode [::dom::document importNode $doc1 $origNode -deep 1] node13 % set targetNode [::dom::document cget $doc1 -documentElement] node2 % ::dom::DOMImplementation destroy $doc2 ;# the imported node exists even after the original doc is destroyed % dom::node appendChild $targetNode $importedNode % ::dom::DOMImplementation serialize $doc1 <?xml version='1.0'?> <!DOCTYPE DOC1> <DOC1> <E11 a1='1'/> <E12 a2='2'/><DOC2> <E21 a1='1'/> <E22 a2 ='2'/></DOC2></DOC1> % Enjoy, Best Regards, Moisei Derek Fountain <fo...@hu...> To: tcl...@li... Sent by: cc: tcl...@li...urc Subject: [Tclxml-users] Move node from one tree to another eforge.net 10/14/2002 03:09 PM I have parsed two XML documents into 2 trees and I want to move a node (and its children) from a point in one tree to a point in the other. Cutting the required node out with "dom::node removeChild" is easy, but when I want to place it in it's new tree I get an error saying "new node must be in the same document". Well, OK, I was kind of expecting that. What do I need to do to make this cut/paste work as required? -- 2:05pm up 6:42, 1 user, load average: 0.00, 0.07, 0.07 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Tclxml-users mailing list Tcl...@li... https://lists.sourceforge.net/lists/listinfo/tclxml-users |
From: Derek F. <fo...@hu...> - 2002-10-14 13:10:01
|
I have parsed two XML documents into 2 trees and I want to move a node (and its children) from a point in one tree to a point in the other. Cutting the required node out with "dom::node removeChild" is easy, but when I want to place it in it's new tree I get an error saying "new node must be in the same document". Well, OK, I was kind of expecting that. What do I need to do to make this cut/paste work as required? -- 2:05pm up 6:42, 1 user, load average: 0.00, 0.07, 0.07 |
From: Larry W. V. <lv...@ca...> - 2002-10-08 11:53:52
|
From: Steve Ball <Ste...@zv...> > Yesterday I updated my CVS tree with Andreas' changes. > How recently have you updated? The last cvs head update at the activestate ftp site was dated Oct. 3; that's the version I am using currently. -- Tcl - The glue of a new generation. <URL: http://wiki.tcl.tk/ > Larry W. Virden <mailto:lv...@ca...> <URL: http://www.purl.org/NET/lvirden/> Even if explicitly stated to the contrary, nothing in this posting should be construed as representing my employer's opinions. -><- |