Hi/2. Daiki Ueno wrote: > KO Myung-Hun <kom...@gmail.com> writes: > >>> After merging the ITS branch (wip/ueno/its2), I plan to replace the >>> libexpat dependencies with libxml2 (for tools) and a hand written XML >>> parser (for libgettextpo, maybe ported from GLib's gmarkup.c). So this >>> shouldn't be necessary. >> >> Then, @LTLIBEXPAT@ is removed from libgettextsrc, too ? > > I did that (also merged ITS branch). The relevant commit is: > http://git.sv.gnu.org/cgit/gettext.git/commit/?id=898e184a > > Let me know if this change causes any compatibility problems. > > The main obstacle was format-kde-kuit.c, which is shared between > xgettext and libgettexpo; while we can assume that libxml2 is always > usable from xgettext (through libgettextlib), it may not be usable from > libgettexpo. So, I ported GLib's gmarkup.c as a local Gnulib module: > markup. Currently, the use of the module is limited for libgettexpo for > some reasons (copyright, etc). >
I've tested. But I got the following compilation errors. ----- /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/share/locale\" -DBISON_LOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DUSEJAVA=0 -DUSEJEXE=0 -DGETTEXTJEXEDIR=\"/usr/lib/gettext\" -DGETTEXTJAR=\"/usr/share/gettext/gettext.jar\" -DLIBDIR=\"/usr/lib\" -DGETTEXTDATADIR=\"/usr/share/gettext\" -DPROJECTSDIR=\"/usr/share/gettext/projects\" -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -I../libgrep -I../gnulib-lib -I../gnulib-lib -I../intl -I../../gettext-runtime/intl -g -O2 -c -o libgettextsrc_la-its.lo `test -f 'its.c' || echo './'`its.c libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/share/locale\" -DBISON_LOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DUSEJAVA=0 -DUSEJEXE=0 -DGETTEXTJEXEDIR=\"/usr/lib/gettext\" -DGETTEXTJAR=\"/usr/share/gettext/gettext.jar\" -DLIBDIR=\"/usr/lib\" -DGETTEXTDATADIR=\"/usr/share/gettext\" -DPROJECTSDIR=\"/usr/share/gettext/projects\" -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -I../libgrep -I../gnulib-lib -I../gnulib-lib -I../intl -I../../gettext-runtime/intl -g -O2 -c its.c -DDLL_EXPORT -DPIC -o .libs/libgettextsrc_la-its.o its.c: In function `its_rule_apply': its.c:313: error: `xmlXPathContext' undeclared (first use in this function) its.c:313: error: (Each undeclared identifier is reported only once its.c:313: error: for each function it appears in.) its.c:313: error: `context' undeclared (first use in this function) its.c:314: error: `xmlXPathObject' undeclared (first use in this function) its.c:314: error: `object' undeclared (first use in this function) its.c:323: warning: implicit declaration of function `xmlXPathNewContext' its.c:336: warning: implicit declaration of function `xmlXPathRegisterNs' its.c:340: warning: implicit declaration of function `xmlXPathEval' its.c:343: warning: implicit declaration of function `xmlXPathFreeContext' its.c:350: error: `xmlNodeSet' undeclared (first use in this function) its.c:350: error: `nodes' undeclared (first use in this function) its.c:373: warning: implicit declaration of function `xmlXPathFreeObject' its.c: In function `_its_collect_text_content': its.c:576: warning: implicit declaration of function `xmlOutputBufferGetContent' its.c: In function `_its_get_content': its.c:1540: error: `xmlXPathContext' undeclared (first use in this function) its.c:1540: error: `context' undeclared (first use in this function) its.c:1541: error: `xmlXPathObject' undeclared (first use in this function) its.c:1541: error: `object' undeclared (first use in this function) its.c:1566: warning: implicit declaration of function `xmlXPathSetContextNode' its.c:1567: warning: implicit declaration of function `xmlXPathEvalExpression' its.c:1578: error: `XPATH_NODESET' undeclared (first use in this function) its.c:1580: error: `xmlNodeSet' undeclared (first use in this function) its.c:1580: error: `nodes' undeclared (first use in this function) its.c:1598: error: `XPATH_STRING' undeclared (first use in this function) make.exe[5]: *** [libgettextsrc_la-its.lo] Error 1 ----- -- KO Myung-Hun Using Mozilla SeaMonkey 2.7.2 Under OS/2 Warp 4 for Korean with FixPak #15 In VirtualBox v4.1.32 on Intel Core i7-3615QM 2.30GHz with 8GB RAM Korean OS/2 User Community : http://www.ecomstation.co.kr