Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4818 Serge 1
 
2
3
 
4
Expat is a stream-oriented XML parser.  This means that you register
5
handlers with the parser before starting the parse.  These handlers
6
are called when the parser discovers the associated structures in the
7
document being parsed.  A start tag is an example of the kind of
8
structures for which you may register handlers.
9
10
 
11
both precompiled libraries and executables, and source code for
12
developers.
13
14
 
15
the terms of the License contained in the file COPYING distributed
16
with this package.  This license is the same as the MIT/X Consortium
17
license.
18
19
 
20
the release above), are development releases and should be considered
21
as beta software.  Releases with even minor version numbers are
22
intended to be production grade software.
23
24
 
25
you need to run a script that generates the configure script using the
26
GNU autoconf and libtool tools.  To do this, you need to have
27
autoconf 2.58 or newer. Run the script like this:
28
29
 
30
31
 
32
from a source distribution.
33
34
 
35
configuration shell script in the top level distribution directory:
36
37
 
38
39
 
40
can discover by running configure with the --help option).  But the
41
one of most interest is the one that sets the installation directory.
42
By default, the configure script will set things up to install
43
libexpat into /usr/local/lib, expat.h into /usr/local/include, and
44
xmlwf into /usr/local/bin.  If, for example, you'd prefer to install
45
into /home/me/mystuff/lib, /home/me/mystuff/include, and
46
/home/me/mystuff/bin, you can tell configure about that with:
47
48
 
49
50
 
51
line and column numbers and the over-all byte index:
52
53
 
54
55
 
56
and is therefore not recommended for general use - e.g. as part of
57
a Linux distribution - but rather for builds with special requirements.
58
59
 
60
things and "make install" will install things into their proper
61
location.  Have a look at the "Makefile" to learn about additional
62
"make" options.  Note that you need to have write permission into
63
the directories into which things will be installed.
64
65
 
66
information in UTF-16 encoding rather than the default UTF-8, follow
67
these instructions (after having run "make distclean"):
68
69
 
70
           strings as char), run:
71
72
 
73
74
 
75
           run:
76
77
 
78
                           CPPFLAGS=-DXML_UNICODE_WCHAR_T
79
80
 
81
82
 
83
84
 
85
86
 
87
88
 
89
90
 
91
           Or, to save step 2, run "make buildlib LIBRARY=libexpatw.la".
92
93
 
94
           Or, if step 2 was omitted, run "make installlib LIBRARY=libexpatw.la".
95
96
 
97
value for DESTDIR, and the rest of the make file using only DESTDIR.
98
It works as follows:
99
   $ make install DESTDIR=/path/to/image
100
overrides the in-makefile set DESTDIR, while both
101
   $ INSTALL_ROOT=/path/to/image make install
102
   $ make install INSTALL_ROOT=/path/to/image
103
use DESTDIR=$(INSTALL_ROOT), even if DESTDIR eventually is defined in the
104
environment, because variable-setting priority is
105
1) commandline
106
2) in-makefile
107
3) environment
108
109
 
110
of xmlwf and the tests is currently not supported.
111
112
 
113
"/usr/ccs/bin", which is not in the default PATH.  You will need to
114
add this to your path for the "make" command, and probably also switch
115
to GNU make (the "make" found in /usr/ccs/bin does not seem to work
116
properly -- appearantly it does not understand .PHONY directives).  If
117
you're using ksh or bash, use this command to build:
118
119
 
120
121
 
122
can use the probing macro in conftools/expat.m4 to determine how to
123
include Expat.  See the comments at the top of that file for more
124
information.
125
126
 
127
distribution.
128
129
 
130
are links there to connect you to the bug reports page.  If you need
131
to report a bug when you don't have access to a browser, you may also
132
send a bug report by email to expat-bugs@mail.libexpat.org.
133
134
 
135
place on expat-discuss@mail.libexpat.org.  Archives of this list and
136
other Expat-related lists may be found at:
137
138
 
139