Configuring extensions checking whether to enable LIBXML support... yes checking libxml2 install dir... /usr/local checking for xml2-config path... /usr/local/bin/xml2-config checking whether libxml build works... no configure: error: build test failed. Please check the config.log for details. ===> Script "configure" failed unexpectedly.