From: Daniel M. <tub...@us...> - 2003-07-21 15:34:01
|
Update of /cvsroot/epp-rtk/domtools In directory sc8-pr-cvs1:/tmp/cvs-serv3231 Modified Files: README Log Message: added more info to the README -- mostly build information Index: README =================================================================== RCS file: /cvsroot/epp-rtk/domtools/README,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** README 21 Jul 2003 14:37:49 -0000 1.3 --- README 21 Jul 2003 15:33:59 -0000 1.4 *************** *** 3,10 **** --- 3,53 ---- (C) 2001-2003 GNR Ltd. + What is this? + ------------- + Domtools is mainly a utility library for assorted functions that simplifies using DOM, in particular the Xerces parser, but with some code intended for output of DOM trees, and generation of DOM trees, as well as a wrapper for common DOM functionality to make it easier to switch XML parsers. + + In order to compile the toolkit, you need to have the following installed: + + * A C++ compiler, preferrably gcc. + * GNU build tools (make, etc...) + * Xerces-C 1.7.0 (Available from + http://xml.apache.org/dist/xerces-c/stable/archives/ ) + NB: Versions 2.* are not compatible because the xerces api has changed. + Versions lower than 1.7.0 might work, but this has not been tested. + + + Building instructions: + ---------------------- + + 1) Make sure Xerces-C is installed. + + 2) Run ./configure from this directory. This will search for required + dependencies in your system. Configure will look for Xerces-C headers + first in /usr/local/xerces/include, then in standard locations. + + To tell configure to look in different places for Xerces-C, use these: + + ./configure --with-xerces-include=/path/to/xerces/include \ + --with-xerces-lib=/the/xerces/lib/file.so + + Xerces has two configure options because the naming of the xerces + library (.so) sometimes includes the release number. Just using + a "path to xerces" value would not have been sufficient. + + Configure also accepts a "--enable-debug" flag to turn on gdb + support. + + 3) Run "make". This will build the RTK libraries in the following locations: + + src/libdomtools.a + + 4) Then run "make install". This will install the domtools headers in PREFIX/include/domtools, + were "PREFIX" is "/usr/local/domtools" by default (use configure's --prefix=/another/path to + change this). The libraries are installed in PREFIX/lib. + |