error: XML::Parser perl module is required for intltool

Thorsten Leemhuis fedora at leemhuis.info
Fri Jul 14 09:00:32 UTC 2006


Ralf Corsepius schrieb:
> On Fri, 2006-07-14 at 09:39 +0200, Thorsten Leemhuis wrote:
>> Not that it matters much, but:
>>
>> Paul Howarth schrieb:
>>> On Fri, 2006-07-14 at 18:57 +1200, Michael J. Knox wrote:
>>>> Ralf Corsepius wrote:
>>> In virtually all of these cases, the right thing to add as a buildreq is
>>> actually intltool really, since XML::Parser is being checked for in the
>>> configure script to ensure that intltool will work. 
>> Yes. But intltool is included in some (a lot of?) packages so...
>>> Adding intltool as a
>>> buildreq will automatically pull in XML::Parser.
>> ...will add a package as buildreq that's not used at all during build.

Maybe I should have mentioned here...

"So adding
BuildRequires: perl(XML::Parser)
is IMHO the better solution"

...because I fail to understand what you want to tell me with:

>>From the OP's original posting:
> ..
>  checking for intltool >= 0.18... 0.34.1 found
> ..
> 
> # rpm -ql intltool | xargs grep XML | grep require
> /usr/bin/intltool-extract:    my $ret = eval 'require XML::Parser';
> /usr/bin/intltool-merge:    my $ret = eval 'require XML::Parser';
> /usr/bin/intltool-merge:    my $ret = eval 'require XML::Parser';
> /usr/bin/intltool-update:"xml(?:\\.in)*|".      # http://www.w3.org/XML/ (Note: .in is not required)
> /usr/share/aclocal/intltool.m4:   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
> /usr/share/aclocal/intltool.m4:       AC_MSG_ERROR([XML::Parser perl module is required for intltool])
> /usr/share/doc/intltool-0.34.2/ChangeLog:       of intltool that require the XML::Parser perl module
> /usr/share/doc/intltool-0.34.2/ChangeLog:        needed to merge XML files, so do not require it when building
> /usr/share/intltool/intltool-extract.in:    my $ret = eval 'require XML::Parser';
> /usr/share/intltool/intltool-merge.in:    my $ret = eval 'require XML::Parser';
> /usr/share/intltool/intltool-merge.in:    my $ret = eval 'require XML::Parser';
> /usr/share/intltool/intltool-update.in:"xml(?:\\.in)*|".        # http://www.w3.org/XML/ (Note: .in is not required)
> 
> => intltool uses perl(XML::Parser) as a mandatory plugin all over the
> place (Note the AC_MSG_ERROR).

CU
thl




More information about the fedora-extras-list mailing list