Australian Technology

Go nuclear on Gentoo’s Perl

Takeaway: When Perl starts halting your Gentoo update process, sometimes the machete is a better option than the scalpel.

It had been several weeks since I’d last updated my Gentoo machine, and I found that several GNOME packages were failing with the following error:

checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool

After exploring the usual avenues of revdep-rebuild and re-emerging the XML-Parser and expat, no complete solution to the failed updates was found.

Gentoo comes armed with the perl-cleaner utility that allows easy rebuilding of Perl-dependent packages.

It was time to get nuclear. Rather than fiddling around, trying to find the offending bad links and modules, I simply used:

perl-cleaner --reallyall

After rebuilding over 200 Perl-dependent packages, many of which were virtual packages and involved no actual compilation, and giving the machine an hour or so to complete the process, the GNOME updates emerged without any further issues.

Such are the ways of a source-based distribution.

Get IT Tips, news, and reviews delivered directly to your inbox by subscribing to TechRepublic’s free newsletters.

Chris Duckett

About Chris Duckett

Programmer and journalist Chris Duckett is the Editor for TechRepublic Australia.

Chris Duckett

Chris Duckett
Chris started his journalistic adventure in 2006 as the Editor of Builder AU after originally joining the company as a programmer. He left CBS Interactive in 2010 to follow his deep desire to study the snowdrifts and culinary delights of Canada and returned to CBS in 2011 as the Editor of TechRepublic Australia, determined to meld together his programming and journalistic tendencies once and for all.
2
Comments

Join the conversation!

Follow via:
RSS
Email Alert