I'm trying to build current master. Since April 26 something was changed. [build BIN] postprocess [build MOD] postprocess [build CXX] test/source/xmltesttools.cxx /Volumes/lo-build/test/source/xmltesttools.cxx: In member function ‘void XmlTestTools::assertXPathChildren(xmlDoc*, const rtl::OString&, int)’: /Volumes/lo-build/test/source/xmltesttools.cxx:77: error: ‘xmlChildElementCount’ was not declared in this scope make[1]: *** [/Volumes/lo-build/workdir/CxxObject/test/source/xmltesttools.o] Error 1
Douglas, First you, might try to `git pull` and build again. If the problem persists ... You will probably get a faster answer by sending your question to the dev list; this list available through nabble <http://nabble.documentfoundation.org/Dev-f1639786.html> or the list of LibreOffice mail lists <http://www.libreoffice.org/get-help/mailing-lists/>. Please tell us the commit id that you are trying to build, the platform you are building on, and the contents of your autogen.lastrun. FWIW, on my debian-wheezy 64-bit, xmlChildElementCount is defined in /usr/include/libxml2/libxml/tree, line 1236. HTH, Terry.
First I tried commit 867aa217e6bcb543, now I tried commit a93bb27aa46c8441. Problem is still here. I'm building on Mac OS X 10.5 @PowerPC. autogen.lastrun: --prefix=/usr --mandir=/usr/share/man --with-macosx-sdk=10.5 --with-build-version=Built by Douglas Mencken for PowerPC --with-vendor=Unaffiliated Hackers --disable-firebird-sdbc --disable-pdfimport --disable-sdremote --enable-eot --enable-epm --with-package-format=dmg
checking which libxml to use... external xmlChildElementCount was introduced with libxml2 2.7.3. Looks like my "external" one is older than that. Need to modify configure.ac to use bundled version of libxml2 and libxslt instead of system's.
Assigning this to myself.
This patch solved this issue: https://gerrit.libreoffice.org/gitweb?p=core.git;a=commitdiff;h=e5934962bd55970c54b399351559e90d02b75b6b