From: Forest W <lyr...@ti...> - 2003-03-27 19:45:29
|
Now that I have tclxml building, I am trying to build a compiled implementation of tcldom on red hat linux 7.3. =46ollowing the instructions in the README file, I am able to configure, make, and install from the tcldom-2.6 directory. However, the libxml2 build fails, as does the TclDOMPro build. Within the tcldom/src-libxml2 directory, the configure script appears to run okay, finding my tcl and libxml2 directories in the places I specify. However, running make results in a mess of errors, beginning with this one: In file included from tcldom-libxml2.c:21: tcldom-libxml2.h:23:20: tcldom.h: No such file or directory tcldom.h exists in the tcldom directory (which is the parent of my build dir) and in ${prefix}/include, but it isn't being found. This occurs even when I use the --with-Tcldom configure switch. How do I get a successful build in tcldom/src-libxml2? As an alternative, I tried building TclDOMPro (in tcldom/src). That doesn't work either, because it requires expat, yet doesn't look for it correctly. The source files in tcldom/src are trying to #include <xmlparse.h>, which is a header file in the tclxml distribution of expat. That's fine, because that's the version I just built and want to use. However, tcldom/src/configure looks for an expat library matching a pattern like "libexpat*", which is the library built by the stand-alone distribution of expat. The library built by the tclxml distribution is called libTclexpat2.6, so it is not found. Other than the file name, are these libraries compatible? Wouldn't it make sense to have the tcldompro configure script and source files recognize the same distribution of expat? |