GQ requires XML::Parser
ryandesign at macports.org
Mon Sep 16 22:05:10 UTC 2019
On Sep 15, 2019, at 23:36, Dave Horsfall wrote:
> Trying to install the GQ LDAP browser I traced the failure to the Perl module "XML::Parser" being required.
Often, an error message seen when running a ./configure script saying that XML::Parser is required is erroneous, and actually means that that configure script contains boilerplate code to detect the presence of intltool--code which incorrectly believes that it should check for the presence of XML::Parser. It should not. intltool uses XML::Parser internally, but that is of no concern to any programs that will be using intltool, and specifically, the version of perl that was used to build intltool in MacPorts may not be the version of perl that the user has set as the default now. We have patched intltool in MacPorts not to do that when generating its boilerplate code , but unfortunately, the buggy code gets copied into every configure script generated with the broken intltool (for example, the intltool installed on every non-MacPorts-using developer's system), so you may have to run autoreconf (or run the project's ./autogen.sh or ./bootstrap script if it has one) to regenerate the configure script correctly.
Wouldn't it be great if we could get that patch incorporated into the upstream intltool sources?
More information about the macports-users