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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

>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).

Ralf


-- 
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux