libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DBISON_LOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DUSEJAVA=0 -DUSEJEXE=0 -DGETTEXTJEXEDIR=\"/usr/local/lib/gettext\" -DGETTEXTJAR=\"/usr/local/share/gettext/gettext.jar\" -DLIBDIR=\"/usr/local/lib\" -DGETTEXTDATADIR=\"/usr/local/share/gettext\" -DPROJECTSDIR=\"/usr/local/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 locating-rule.c -fPIC -DPIC -o .libs/libgettextsrc_la-locating-rule.o libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DBISON_LOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DUSEJAVA=0 -DUSEJEXE=0 -DGETTEXTJEXEDIR=\"/usr/local/lib/gettext\" -DGETTEXTJAR=\"/usr/local/share/gettext/gettext.jar\" -DLIBDIR=\"/usr/local/lib\" -DGETTEXTDATADIR=\"/usr/local/share/gettext\" -DPROJECTSDIR=\"/usr/local/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 locating-rule.c -o libgettextsrc_la-locating-rule.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DBISON_LOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DUSEJAVA=0 -DUSEJEXE=0 -DGETTEXTJEXEDIR=\"/usr/local/lib/gettext\" -DGETTEXTJAR=\"/usr/local/share/gettext/gettext.jar\" -DLIBDIR=\"/usr/local/lib\" -DGETTEXTDATADIR=\"/usr/local/share/gettext\" -DPROJECTSDIR=\"/usr/local/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/local/share/locale\" -DBISON_LOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DUSEJAVA=0 -DUSEJEXE=0 -DGETTEXTJEXEDIR=\"/usr/local/lib/gettext\" -DGETTEXTJAR=\"/usr/local/share/gettext/gettext.jar\" -DLIBDIR=\"/usr/local/lib\" -DGETTEXTDATADIR=\"/usr/local/share/gettext\" -DPROJECTSDIR=\"/usr/local/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 -fPIC -DPIC -o .libs/libgettextsrc_la-its.o its.c: In function ‘its_rule_apply’: its.c:313:3: error: unknown type name ‘xmlXPathContext’ xmlXPathContext *context; ^ its.c:314:3: error: unknown type name ‘xmlXPathObject’ xmlXPathObject *object; ^ its.c:323:3: warning: implicit declaration of function ‘xmlXPathNewContext’ [-Wimplicit-function-declaration] context = xmlXPathNewContext (doc); ^ its.c:323:11: warning: assignment makes pointer from integer without a cast [enabled by default] context = xmlXPathNewContext (doc); ^ its.c:336:11: warning: implicit declaration of function ‘xmlXPathRegisterNs’ [-Wimplicit-function-declaration] xmlXPathRegisterNs (context, ns->prefix, ns->href); ^ its.c:340:3: warning: implicit declaration of function ‘xmlXPathEval’ [-Wimplicit-function-declaration] object = xmlXPathEval (BAD_CAST rule->selector, context); ^ its.c:340:10: warning: assignment makes pointer from integer without a cast [enabled by default] object = xmlXPathEval (BAD_CAST rule->selector, context); ^ its.c:343:7: warning: implicit declaration of function ‘xmlXPathFreeContext’ [-Wimplicit-function-declaration] xmlXPathFreeContext (context); ^ its.c:348:13: error: request for member ‘nodesetval’ in something not a structure or union if (object->nodesetval) ^ its.c:350:7: error: unknown type name ‘xmlNodeSet’ xmlNodeSet *nodes = object->nodesetval; ^ its.c:350:33: error: request for member ‘nodesetval’ in something not a structure or union xmlNodeSet *nodes = object->nodesetval; ^ its.c:351:28: error: request for member ‘nodeNr’ in something not a structure or union for (i = 0; i < nodes->nodeNr; i++) ^ its.c:353:32: error: request for member ‘nodeTab’ in something not a structure or union xmlNode *node = nodes->nodeTab[i]; ^ its.c:373:3: warning: implicit declaration of function ‘xmlXPathFreeObject’ [-Wimplicit-function-declaration] xmlXPathFreeObject (object); ^ its.c: In function ‘_its_collect_text_content’: its.c:576:13: warning: implicit declaration of function ‘xmlOutputBufferGetContent’ [-Wimplicit-function-declaration] ccontent = (const char *) xmlOutputBufferGetContent (buffer); ^ its.c:576:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ccontent = (const char *) xmlOutputBufferGetContent (buffer); ^ its.c: In function ‘_its_get_content’: its.c:1540:3: error: unknown type name ‘xmlXPathContext’ xmlXPathContext *context; ^ its.c:1541:3: error: unknown type name ‘xmlXPathObject’ xmlXPathObject *object; ^ its.c:1545:11: warning: assignment makes pointer from integer without a cast [enabled by default] context = xmlXPathNewContext (node->doc); ^ its.c:1566:3: warning: implicit declaration of function ‘xmlXPathSetContextNode’ [-Wimplicit-function-declaration] xmlXPathSetContextNode (node, context); ^ its.c:1567:3: warning: implicit declaration of function ‘xmlXPathEvalExpression’ [-Wimplicit-function-declaration] object = xmlXPathEvalExpression (BAD_CAST pointer, context); ^ its.c:1567:10: warning: assignment makes pointer from integer without a cast [enabled by default] object = xmlXPathEvalExpression (BAD_CAST pointer, context); ^ its.c:1576:17: error: request for member ‘type’ in something not a structure or union switch (object->type) ^ its.c:1578:10: error: ‘XPATH_NODESET’ undeclared (first use in this function) case XPATH_NODESET: ^ its.c:1578:10: note: each undeclared identifier is reported only once for each function it appears in its.c:1580:9: error: unknown type name ‘xmlNodeSet’ xmlNodeSet *nodes = object->nodesetval; ^ its.c:1580:35: error: request for member ‘nodesetval’ in something not a structure or union xmlNodeSet *nodes = object->nodesetval; ^ its.c:1585:30: error: request for member ‘nodeNr’ in something not a structure or union for (i = 0; i < nodes->nodeNr; i++) ^ its.c:1587:61: error: request for member ‘nodeTab’ in something not a structure or union char *content = _its_collect_text_content (nodes->nodeTab[i], ^ its.c:1598:10: error: ‘XPATH_STRING’ undeclared (first use in this function) case XPATH_STRING: ^ its.c:1599:46: error: request for member ‘stringval’ in something not a structure or union result = xstrdup ((const char *) object->stringval); ^ make[5]: *** [libgettextsrc_la-its.lo] Error 1 make[5]: Leaving directory `/tmp/gettext-0.19.6.43-6e6f6.6cMHzV/gettext-0.19.6.43-6e6f6/gettext-tools/src' make[4]: *** [all] Error 2 make[4]: Leaving directory `/tmp/gettext-0.19.6.43-6e6f6.6cMHzV/gettext-0.19.6.43-6e6f6/gettext-tools/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/tmp/gettext-0.19.6.43-6e6f6.6cMHzV/gettext-0.19.6.43-6e6f6/gettext-tools' make[2]: *** [all] Error 2 make[2]: Leaving directory `/tmp/gettext-0.19.6.43-6e6f6.6cMHzV/gettext-0.19.6.43-6e6f6/gettext-tools' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/gettext-0.19.6.43-6e6f6.6cMHzV/gettext-0.19.6.43-6e6f6' make: *** [all] Error 2