Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] XML::Parser perl module is required for intltool
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Thu Jun 14, 2012 2:47 am    Post subject: [SOLVED] XML::Parser perl module is required for intltool Reply with quote

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 :D
_________________
Good luck :wink:

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
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1213
Location: Massachusetts USA

PostPosted: Thu Jun 14, 2012 3:20 am    Post subject: Reply with quote

Is dev-perl/XML-Parser installed?
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Thu Jun 14, 2012 3:44 am    Post subject: Reply with quote

jburns,

Thanks for the reply :D 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 :cry:

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 :D

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 :wink:
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Thu Jun 14, 2012 9:38 am    Post subject: Reply with quote

Next time run perl-cleaner :wink:
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Thu Jun 14, 2012 1:57 pm    Post subject: Reply with quote

yngwin wrote:
Next time run perl-cleaner :wink:

Thanks for that info - it probably would have never occurred to me to do something so simple :D
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
Trovalds
n00b
n00b


Joined: 16 Jun 2011
Posts: 13
Location: Cuiaba/MT - Brazil

PostPosted: Thu Dec 19, 2013 7:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
jenkler
Apprentice
Apprentice


Joined: 28 Apr 2003
Posts: 222
Location: Sweden - Stockholm

PostPosted: Fri Dec 20, 2013 3:06 pm    Post subject: Reply with quote

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 :D
_________________
Hello from me: Jenkler IT AB (swedish) (use google translate). Check out my Linux manpages for web in english.
Back to top
View user's profile Send private message
liutom
n00b
n00b


Joined: 30 Sep 2004
Posts: 51

PostPosted: Tue Dec 24, 2013 11:25 pm    Post subject: Reply with quote

This hint saved my life :-)
Back to top
View user's profile Send private message
Utsuho Reiuji
Apprentice
Apprentice


Joined: 03 Apr 2013
Posts: 179

PostPosted: Fri Dec 27, 2013 6:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
housemouse139
n00b
n00b


Joined: 28 Dec 2013
Posts: 1

PostPosted: Sun Dec 29, 2013 8:47 am    Post subject: Reply with quote

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
View user's profile Send private message
solamour
l33t
l33t


Joined: 21 Dec 2004
Posts: 698
Location: San Diego, CA

PostPosted: Mon Dec 30, 2013 8:51 am    Post subject: Reply with quote

"perl-cleaner --reallyall" solved the problem for me. Thanks everyone for sharing the info.
__
sol
Back to top
View user's profile Send private message
jdowner
n00b
n00b


Joined: 29 Jun 2013
Posts: 5

PostPosted: Mon Dec 30, 2013 1:18 pm    Post subject: Reply with quote

Awesome! This fixed the problem for me too.
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6095
Location: Dallas area

PostPosted: Mon Dec 30, 2013 2:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
diablo465
Apprentice
Apprentice


Joined: 10 Sep 2013
Posts: 194

PostPosted: Tue Dec 31, 2013 7:31 am    Post subject: Reply with quote

Thanks , that also solved my problem
Back to top
View user's profile Send private message
chief1983
n00b
n00b


Joined: 18 Jun 2004
Posts: 9
Location: New Melle

PostPosted: Thu Jan 02, 2014 6:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
bandreabis
Advocate
Advocate


Joined: 18 Feb 2005
Posts: 2489
Location: イタリアのロディで

PostPosted: Sun Jan 05, 2014 12:00 pm    Post subject: Reply with quote

92 packages to reinstall!!
Back to top
View user's profile Send private message
soth
Apprentice
Apprentice


Joined: 12 Sep 2003
Posts: 207

PostPosted: Wed Jan 15, 2014 5:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
AstroFloyd
n00b
n00b


Joined: 18 Oct 2011
Posts: 56

PostPosted: Wed Jan 22, 2014 10:02 am    Post subject: Reply with quote

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? :wink:
Back to top
View user's profile Send private message
Pseudonimo
Guru
Guru


Joined: 10 Mar 2007
Posts: 393

PostPosted: Wed Jan 22, 2014 11:47 am    Post subject: Reply with quote

+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
View user's profile Send private message
diablo465
Apprentice
Apprentice


Joined: 10 Sep 2013
Posts: 194

PostPosted: Fri Jan 31, 2014 5:24 am    Post subject: Reply with quote

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
View user's profile Send private message
hextasy
n00b
n00b


Joined: 06 Feb 2014
Posts: 1
Location: Upstate NY

PostPosted: Thu Feb 06, 2014 12:57 am    Post subject: Reply with quote

128 updates! thanks for this!
Back to top
View user's profile Send private message
paulj
Guru
Guru


Joined: 30 Sep 2004
Posts: 507
Location: Wales, UK

PostPosted: Thu Feb 06, 2014 7:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
Zwisel
n00b
n00b


Joined: 17 Sep 2005
Posts: 24
Location: switzerland

PostPosted: Tue Apr 08, 2014 10:21 am    Post subject: Reply with quote

Thanks a lot, had the same problem.
A
Code:
perl-cleaner --reallyall
solved the problem! :)
Back to top
View user's profile Send private message
huuan
Apprentice
Apprentice


Joined: 19 Feb 2007
Posts: 265
Location: California

PostPosted: Fri Apr 18, 2014 10:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
Jake
Veteran
Veteran


Joined: 31 Jul 2003
Posts: 1132

PostPosted: Mon Apr 28, 2014 7:08 am    Post subject: Reply with quote

93 packages for me. Thanks for the tip.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum