From: Steve B. <Ste...@zv...> - 2002-08-16 00:39:53
|
Andreas Kupries wrote: > Here are my experiences after having read the message below. > > 1. Got head of Tcl 8.3.4 branch > 1.a Compiled and installed in playground/sandbox > 2. Got head of tclxml/tcldom > 2.a Ran autoconf > 2.b. Configured with same prefix as tcl, did --enable-xml2 > configure did not find xml2 > > There is nothing in the docs telling us > where we can get libxml2. Stop. README now fixed. > Nit: make distclean leaves two directories behind, library and src-libxml2 > (in the build directory). Can be explained because srcdir contains these > two directories too, often builddir = srcdir. > > I tried a second configure of tcldom, with --disable-xml2. > No errors for that. > > Compilation fails nevertheless because the makefile tried to compile the > sources in src-libxml2 despite the fact that I just told it that libxml2 > is not available. > > That is not acceptable. A configure option which does nothing at all. The autoconf/configure scripts need some work. I'm looking for a volunteer for that. >>2. The sf.net tar file didn't include top level configure - >>is configure supposed to be done elsewhere? The README isn't clear. > > IMHO the source distribution has to have a 'configure'. For a checkout from > the CVS the situation is more fuzzy. I'll make sure the distribution includes a configure in future. >>3. After I ran autoconf to create the configure, configure >>reports this error: >>configure: error: cannot run /bin/ksh config/config.sub > > Not here. Thank heavens something worked! > Speculation: It seems as if the script install still does rely on the > information provided by the configure script. Peter Farmer wrote that part of the install script; he's probably the best one to answer that. >>I'm still uncertain about the purpose of the src and src-xml2 directories; >>the README doesn't mention either. > > The src directory contains the generic tcldom sources. The framework where > parsers etc can plug themselves into. Not quite. The src directory contains the sources for the TclDOMPro implementation (not yet integrated into the package build system - that's Joe English's code). The generic layer sources are tcldom.c and tcldom.h in the top directory. > src-libxml2 contains the glue code wrapping around libxml2 and making it > useable by the tcldom framework in src. Essentially a separate package. Correct. 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 |