In the mean time the problem is solved. I did an update to the macports tree, as I saw that many packages were outdated. Before this I did NOT use the system libxml2 because the autogen.sh said it can't find it so I changed configure.ac to use the internal libxml2 for Darwin OS too.
After the macports tree update and another git clone autogen.sh found the system's libxml2 and those errors did not appear any more. Thank you for your replies. -- View this message in context: http://nabble.documentfoundation.org/LibreOffice-fails-to-build-on-Mac-OS-tp4107660p4107877.html Sent from the Dev mailing list archive at Nabble.com. _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice