View previous topic :: View next topic |
Author |
Message |
BillWho Veteran
Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Thu Jun 14, 2012 2:47 am Post subject: [SOLVED] XML::Parser perl module is required for intltool |
|
|
I'm stumped
I have several ebuilds failing due to this error: checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
Code: | [ebuild NS ] x11-libs/vte-0.32.1 [0.28.2-r203] USE="introspection -debug -doc -glade" 0 kB
[ebuild N ] net-print/libgnomecups-0.2.3-r2 USE="-debug" 0 kB
[ebuild N ] x11-terms/gnome-terminal-3.4.1.1 0 kB
[ebuild N ] gnome-base/libgnomeprint-2.18.8 USE="cups -doc" 0 kB
[ebuild N ] gnome-base/libgnomeprintui-2.18.6 USE="-doc" 0 kB
[ebuild U ] media-sound/pulseaudio-2.0-r1 [2.0] USE="X alsa asyncns avahi caps dbus gdbm glib gnome* gtk%* ipv6 orc ssl tcpd udev webrtc-aec -bluetooth -doc -equalizer -jack -libsamplerate -lirc (-oss) -realtime (-system-wide) -test -xen%" 0 kB
|
In checking the configure file the error occurs at:
Code: | $as_echo_n "checking for XML::Parser... " >&6; }
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
$as_echo "ok" >&6; }
else
as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
fi
fi
|
Issuing Code: | perl -e "require XML::Parser" | on the cl results with:
Code: | root@gentoo-ws490 vte-0.32.1 # perl -e "require XML::Parser"
Can't locate XML/Parser.pm in @INC (@INC contains: /etc/perl /usr/local/lib64/perl5/5.16.0/x86_64-linux /usr/local/lib64/perl5/5.16.0 /usr/lib64/perl5/vendor_perl/5.16.0/x86_64-linux /usr/lib64/perl5/vendor_perl/5.16.0 /usr/lib64/perl5/5.16.0/x86_64-linux /usr/lib64/perl5/5.16.0 .) at -e line 1.
|
If I run the same command on another system that compiled puleaudio, nothing is returned.
Any clues would be appreciated _________________ Good luck
Since installing gentoo, my life has become one long emerge
Last edited by BillWho on Thu Jun 14, 2012 3:45 am; edited 1 time in total |
|
Back to top |
|
|
jburns Veteran
Joined: 18 Jan 2007 Posts: 1213 Location: Massachusetts USA
|
Posted: Thu Jun 14, 2012 3:20 am Post subject: |
|
|
Is dev-perl/XML-Parser installed? |
|
Back to top |
|
|
BillWho Veteran
Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Thu Jun 14, 2012 3:44 am Post subject: |
|
|
jburns,
Thanks for the reply and yes it is. Code: | [IP-] [ ] dev-perl/XML-Parser-2.410.0 |
That's another reason I was scratching the hair out of my head
I just found the problem though - somehow dev-lang/perl-5.16.0:0 was installed on the computer exhibiting the error. The one that was OK was at dev-lang/perl-5.12.4-r2
Here's the equery from both:
Code: | root@gentoo-gateway bill # equery l -p perl
* Searching for perl ...
[-P-] [M ] dev-lang/perl-5.8.8-r8:0
[-P-] [M ] dev-lang/perl-5.10.1:0
[-P-] [ ] dev-lang/perl-5.12.3-r1:0
[-P-] [ ] dev-lang/perl-5.12.4:0
[-P-] [ ] dev-lang/perl-5.12.4-r1:0
[IP-] [ ] dev-lang/perl-5.12.4-r2:0
[-P-] [M ] dev-lang/perl-5.14.1:0
[-P-] [M ] dev-lang/perl-5.14.1-r1:0
[-P-] [M ] dev-lang/perl-5.14.2:0
[-P-] [M ] dev-lang/perl-5.16.0:0
|
Code: | root@gentoo-ws490 vte-0.32.1 # equery l -p perl
* Searching for perl ...
[-P-] [M ] dev-lang/perl-5.8.8-r8:0
[-P-] [M ] dev-lang/perl-5.10.1:0
[-P-] [ ] dev-lang/perl-5.12.3-r1:0
[-P-] [ ] dev-lang/perl-5.12.4:0
[-P-] [ ] dev-lang/perl-5.12.4-r1:0
[-P-] [ ] dev-lang/perl-5.12.4-r2:0
[-P-] [M ] dev-lang/perl-5.14.1:0
[-P-] [M ] dev-lang/perl-5.14.1-r1:0
[-P-] [M ] dev-lang/perl-5.14.2:0
[IP-] [ ] dev-lang/perl-5.16.0:0
|
I unmerged dev-lang/perl-5.16.0, emerged 5.12.4-r2 then masked >dev-lang/perl-5.12.4-r2 and all compiled after that
Now, I'm scratching my head trying to figure out how perl jumped to 5.16 and why it's masked on the other computer when both are the same architecture and using the same repos
Thanks again for your reply _________________ Good luck
Since installing gentoo, my life has become one long emerge |
|
Back to top |
|
|
yngwin Retired Dev
Joined: 19 Dec 2002 Posts: 4572 Location: Suzhou, China
|
Posted: Thu Jun 14, 2012 9:38 am Post subject: |
|
|
Next time run perl-cleaner _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
Back to top |
|
|
BillWho Veteran
Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Thu Jun 14, 2012 1:57 pm Post subject: |
|
|
yngwin wrote: | Next time run perl-cleaner |
Thanks for that info - it probably would have never occurred to me to do something so simple _________________ Good luck
Since installing gentoo, my life has become one long emerge |
|
Back to top |
|
|
Trovalds n00b
Joined: 16 Jun 2011 Posts: 13 Location: Cuiaba/MT - Brazil
|
Posted: Thu Dec 19, 2013 7:15 pm Post subject: |
|
|
Got the same error here on a fresh Gentoo install.
Then I ran "perl-cleaner --reallyall" after read yngwin's tip and everything runs smooth again.
Thanks for help. |
|
Back to top |
|
|
jenkler Apprentice
Joined: 28 Apr 2003 Posts: 222 Location: Sweden - Stockholm
|
Posted: Fri Dec 20, 2013 3:06 pm Post subject: |
|
|
Trovalds wrote: | Got the same error here on a fresh Gentoo install.
Then I ran "perl-cleaner --reallyall" after read yngwin's tip and everything runs smooth again.
Thanks for help. |
Thanks, works like a charm _________________ Hello from me: Jenkler IT AB (swedish) (use google translate). Check out my Linux manpages for web in english. |
|
Back to top |
|
|
liutom n00b
Joined: 30 Sep 2004 Posts: 51
|
Posted: Tue Dec 24, 2013 11:25 pm Post subject: |
|
|
This hint saved my life |
|
Back to top |
|
|
Utsuho Reiuji Apprentice
Joined: 03 Apr 2013 Posts: 179
|
Posted: Fri Dec 27, 2013 6:27 pm Post subject: |
|
|
one perl update and after perl-cleaner --reallyall, I noticed that 64 (!) packages were missing....
And I was wondering why specific packages failed to emerge lately... |
|
Back to top |
|
|
housemouse139 n00b
Joined: 28 Dec 2013 Posts: 1
|
Posted: Sun Dec 29, 2013 8:47 am Post subject: |
|
|
I just installed the module with cpan along with the Zip.pm module that was causing an ebuild to fail as well. I guess perl-cleaner would have done the same thing. |
|
Back to top |
|
|
solamour l33t
Joined: 21 Dec 2004 Posts: 698 Location: San Diego, CA
|
Posted: Mon Dec 30, 2013 8:51 am Post subject: |
|
|
"perl-cleaner --reallyall" solved the problem for me. Thanks everyone for sharing the info.
__
sol |
|
Back to top |
|
|
jdowner n00b
Joined: 29 Jun 2013 Posts: 5
|
Posted: Mon Dec 30, 2013 1:18 pm Post subject: |
|
|
Awesome! This fixed the problem for me too. |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6097 Location: Dallas area
|
Posted: Mon Dec 30, 2013 2:28 pm Post subject: |
|
|
I think the devs should have either put out a news item with the release of the new version of perl
Or put a message into the ebuild Or both.
It's been so long since I had to run perl-cleaner, that I forgot all about it and had to google to find out what to do. _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
diablo465 Apprentice
Joined: 10 Sep 2013 Posts: 194
|
Posted: Tue Dec 31, 2013 7:31 am Post subject: |
|
|
Thanks , that also solved my problem |
|
Back to top |
|
|
chief1983 n00b
Joined: 18 Jun 2004 Posts: 9 Location: New Melle
|
Posted: Thu Jan 02, 2014 6:11 pm Post subject: |
|
|
Yeah I don't even know when I upgraded to 5.16 but I don't recall a message about running this, and it seems to be absolutely necessary to run after an upgrade. Guessing the 5.16 bump in December caught more than a couple people off guard. For Google, I didn't notice any problems until udev-208 was failing to compile with the error checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool. |
|
Back to top |
|
|
bandreabis Advocate
Joined: 18 Feb 2005 Posts: 2490 Location: イタリアのロディで
|
Posted: Sun Jan 05, 2014 12:00 pm Post subject: |
|
|
92 packages to reinstall!! |
|
Back to top |
|
|
soth Apprentice
Joined: 12 Sep 2003 Posts: 207
|
Posted: Wed Jan 15, 2014 5:02 pm Post subject: |
|
|
reallyall solved my problem too. Thanks! _________________ - Never argue with an idiot. They just drag you down to your level and beat you with experience.
Join the adopt an unanswered post initiative today |
|
Back to top |
|
|
AstroFloyd n00b
Joined: 18 Oct 2011 Posts: 56
|
Posted: Wed Jan 22, 2014 10:02 am Post subject: |
|
|
perl-cleaner --reallyall was what I was looking for, thank you.
Total: 160 packages (160 reinstalls), Size of downloads: 0 kB. Did I win anything? |
|
Back to top |
|
|
Pseudonimo Guru
Joined: 10 Mar 2007 Posts: 393
|
Posted: Wed Jan 22, 2014 11:47 am Post subject: |
|
|
+1 Thanks!
(for the perl-cleaner hint, didn't know this tool) _________________ Please search *well* before posting, look for bugs (check all status), use google syntax and *please* read the man pages and think. All obvious steps, frequently ignored. Add [solved] when finished. |
|
Back to top |
|
|
diablo465 Apprentice
Joined: 10 Sep 2013 Posts: 194
|
Posted: Fri Jan 31, 2014 5:24 am Post subject: |
|
|
Quote: | perl-cleaner --reallyall |
Thanks , this again solves my problem (in another computer)
But can any shed light on what does this command actually do ? |
|
Back to top |
|
|
hextasy n00b
Joined: 06 Feb 2014 Posts: 1 Location: Upstate NY
|
Posted: Thu Feb 06, 2014 12:57 am Post subject: |
|
|
128 updates! thanks for this! |
|
Back to top |
|
|
paulj Guru
Joined: 30 Sep 2004 Posts: 511 Location: Wales, UK
|
Posted: Thu Feb 06, 2014 7:44 pm Post subject: |
|
|
diablo465 wrote: | Quote: | perl-cleaner --reallyall |
Thanks , this again solves my problem (in another computer)
But can any shed light on what does this command actually do ? |
I am sure if my understanding needs improving, someone will be along soon!
Until then: perl-cleaner identifies packages installed with the earlier version of perl, and re-emerges them for the latest version you have installed. This avoids any problems arising from changes from one version of perl to the next. It does install a simple man page if you want to see the options available. |
|
Back to top |
|
|
Zwisel n00b
Joined: 17 Sep 2005 Posts: 24 Location: switzerland
|
Posted: Tue Apr 08, 2014 10:21 am Post subject: |
|
|
Thanks a lot, had the same problem.
A Code: | perl-cleaner --reallyall | solved the problem! |
|
Back to top |
|
|
huuan Apprentice
Joined: 19 Feb 2007 Posts: 265 Location: California
|
Posted: Fri Apr 18, 2014 10:20 pm Post subject: |
|
|
Zwisel wrote: | Thanks a lot, had the same problem.
A Code: | perl-cleaner --reallyall | solved the problem! |
+1 for reminding us all. only 84 packages for me. |
|
Back to top |
|
|
Jake Veteran
Joined: 31 Jul 2003 Posts: 1132
|
Posted: Mon Apr 28, 2014 7:08 am Post subject: |
|
|
93 packages for me. Thanks for the tip. |
|
Back to top |
|
|
|