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
on the cl results with:
Any clues would be appreciated 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 |
Veteran
Joined: 18 Jan 2007
Posts: 1183
Location: Massachusetts USA
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.
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:
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 Since installing gentoo, my life has become one long emerge |
Retired Dev
Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China
Veteran
Joined: 03 Mar 2012
Posts: 1600
Location: US
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. |
Apprentice
Joined: 28 Apr 2003
Posts: 220
Location: Sweden — Stockholm
Posted: Fri Dec 20, 2013 3:06 pm Post subject: | ||
|
||
Thanks, works like a charm |
n00b
Joined: 30 Sep 2004
Posts: 51
Apprentice
Joined: 03 Apr 2013
Posts: 179
n00b
Joined: 28 Dec 2013
Posts: 1
l33t
Joined: 21 Dec 2004
Posts: 683
Location: San Diego, CA
n00b
Joined: 29 Jun 2013
Posts: 5
Watchman
Joined: 23 May 2008
Posts: 5864
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. |
Apprentice
Joined: 10 Sep 2013
Posts: 194
n00b
Joined: 18 Jun 2004
Posts: 9
Location: New Melle
Advocate
Joined: 18 Feb 2005
Posts: 2479
Location: イタリアのロディで
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 |
n00b
Joined: 18 Oct 2011
Posts: 55
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) |
Apprentice
Joined: 10 Sep 2013
Posts: 194
Posted: Fri Jan 31, 2014 5:24 am Post subject: | ||
|
||
Thanks , this again solves my problem (in another computer) But can any shed light on what does this command actually do ? |
n00b
Joined: 06 Feb 2014
Posts: 1
Location: Upstate NY
Guru
Joined: 30 Sep 2004
Posts: 488
Location: Wales, UK
Posted: Thu Feb 06, 2014 7:44 pm Post subject: | ||||
|
||||
I am sure if my understanding needs improving, someone will be along soon! |
n00b
Joined: 17 Sep 2005
Posts: 24
Location: switzerland
Apprentice
Joined: 19 Feb 2007
Posts: 265
Location: California
Veteran
Joined: 31 Jul 2003
Posts: 1132
Display posts from previous:
- Index
- » Newbie Corner
- » [Solved] error: XML::Parser perl module is required for intltool
Pages: 1
#1 2020-08-23 14:07:56
- Spheerys
- Member
- Registered: 2012-05-01
- Posts: 80
[Solved] error: XML::Parser perl module is required for intltool
Hi,
I have an annoying error and I don’t find the way to solved it.
During several package installation, I get this error :
checking for perl >= 5.8.1... 5.30.3
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
==> ERROR : An error was occurring during the build().
Abord…
As root, I have ran :
I get this result : https://pb.spheerys.fr/?1cee6bc7f8161cd … /IdipfXNA=
After I did a sudo pacman -S perl-xml-parser to reinstall perl-xml-parser but if the package is well installed, I get this warning (maybe is significant or not) :
WARNING: '/usr/lib/perl5/5.32' contains data from at least 41 packages which will NOT be used by the installed perl interpreter.
-> Run the following command to get a list of affected packages: pacman -Qqo '/usr/lib/perl5/5.32'
Howevern I still can’t install the initial package because the configure: error: XML::Parser perl module is required for intltool is still there..
What did I miss ?
Last edited by Spheerys (2020-08-23 20:26:16)
#2 2020-08-23 16:49:24
- Trilby
- Inspector Parrot
- Registered: 2011-11-29
- Posts: 27,833
- Website
Re: [Solved] error: XML::Parser perl module is required for intltool
It looks like something may be wrong with your perl install. What’s the output of each of the following:
type perl
pacman -Qo /bin/perl
type intltoolize
pacman -Qo /bin/intltoolize
Last edited by Trilby (2020-08-23 16:52:19)
«UNIX is simple and coherent…» — Dennis Ritchie, «GNU’s Not UNIX» — Richard Stallman
#3 2020-08-23 19:38:19
- Spheerys
- Member
- Registered: 2012-05-01
- Posts: 80
Re: [Solved] error: XML::Parser perl module is required for intltool
type perl :
perl is /opt/lampp/bin//perl
whereis perl :
perl: /usr/bin/perl /opt/lampp/bin/perl /usr/share/man/man1/perl.1perl.gz
pacman -Qo /usr/bin/perl :
/usr/bin/perl appartient à perl 5.32.0-1
type intltoolize :
intltoolize is /usr/bin/intltoolize
pacman -Qo /usr/bin/intltoolize :
/usr/bin/intltoolize appartient à intltool 0.51.0-6
#4 2020-08-23 20:08:10
- Trilby
- Inspector Parrot
- Registered: 2011-11-29
- Posts: 27,833
- Website
Re: [Solved] error: XML::Parser perl module is required for intltool
The first one highlights the problem. Do you / why do you need that perl in /opt/? If you need to keep it, you’ll likely need to update it to a current version (or alternatively remove it from or lower it’s priority in your PATH).
«UNIX is simple and coherent…» — Dennis Ritchie, «GNU’s Not UNIX» — Richard Stallman
#5 2020-08-23 20:25:48
- Spheerys
- Member
- Registered: 2012-05-01
- Posts: 80
Re: [Solved] error: XML::Parser perl module is required for intltool
lampp bring it !
I made this :
sudo ln -s /usr/bin/perl /opt/lampp/bin/perl
And it solved the problem !
Thanks !
#6 2020-08-23 20:54:10
- Trilby
- Inspector Parrot
- Registered: 2011-11-29
- Posts: 27,833
- Website
Re: [Solved] error: XML::Parser perl module is required for intltool
That seems like a dangerous workaround. Again, do you need that content in /opt? Why? If you really do, it should be lower, not higher priority in PATH compared to /usr/bin. Having /opt/lampp/bin as lower priority than /usr/bin would have the same end result as your symlink but with none of the side effects of potentially breaking what you have under /opt/lampp (or being overwritten the next time you update/reinstall whatever put that stuff there).
«UNIX is simple and coherent…» — Dennis Ritchie, «GNU’s Not UNIX» — Richard Stallman
#7 2020-08-28 18:28:21
- Spheerys
- Member
- Registered: 2012-05-01
- Posts: 80
Re: [Solved] error: XML::Parser perl module is required for intltool
You’re right.
I changed my PATH on my .zshrc
Last edited by Spheerys (2020-08-28 18:35:24)
0
1
здравствуйте, в общем это emerge —ask app-portage/layman
дает ошибку:
checking for perl >= 5.8.1... 5.24.0
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/x11-libs/gtksourceview-2.10.5-r3/work/gtksourceview-2.10.5/config.log
* ERROR: x11-libs/gtksourceview-2.10.5-r3::gentoo failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 115: Called src_configure
* environment, line 3027: Called gnome2_src_configure '--disable-glade-catalog'
* environment, line 2205: Called econf '--disable-gtk-doc' '--disable-maintainer-mode' '--enable-compile-warnings=minimum' '--docdir=/usr/share/doc/gtksourceview-2.10.5-r3' '--disable-glade-catalog'
* phase-helpers.sh, line 662: Called __helpers_die 'econf failed'
* isolated-functions.sh, line 117: Called die
* The specific snippet of code:
* die "$@"
*
* If you need support, post the output of `emerge --info '=x11-libs/gtksourceview-2.10.5-r3::gentoo'`,
* the complete build log and the output of `emerge -pqv '=x11-libs/gtksourceview-2.10.5-r3::gentoo'`.
* The complete build log is located at '/var/tmp/portage/x11-libs/gtksourceview-2.10.5-r3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-libs/gtksourceview-2.10.5-r3/temp/environment'.
* Working directory: '/var/tmp/portage/x11-libs/gtksourceview-2.10.5-r3/work/gtksourceview-2.10.5'
* S: '/var/tmp/portage/x11-libs/gtksourceview-2.10.5-r3/work/gtksourceview-2.10.5'
>>> Failed to emerge x11-libs/gtksourceview-2.10.5-r3, Log file:
>>> '/var/tmp/portage/x11-libs/gtksourceview-2.10.5-r3/temp/build.log'
* Messages for package x11-libs/gtksourceview-2.10.5-r3:
* ERROR: x11-libs/gtksourceview-2.10.5-r3::gentoo failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 115: Called src_configure
* environment, line 3027: Called gnome2_src_configure '--disable-glade-catalog'
* environment, line 2205: Called econf '--disable-gtk-doc' '--disable-maintainer-mode' '--enable-compile-warnings=minimum' '--docdir=/usr/share/doc/gtksourceview-2.10.5-r3' '--disable-glade-catalog'
* phase-helpers.sh, line 662: Called __helpers_die 'econf failed'
* isolated-functions.sh, line 117: Called die
* The specific snippet of code:
* die "$@"
*
* If you need support, post the output of `emerge --info '=x11-libs/gtksourceview-2.10.5-r3::gentoo'`,
* the complete build log and the output of `emerge -pqv '=x11-libs/gtksourceview-2.10.5-r3::gentoo'`.
* The complete build log is located at '/var/tmp/portage/x11-libs/gtksourceview-2.10.5-r3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-libs/gtksourceview-2.10.5-r3/temp/environment'.
* Working directory: '/var/tmp/portage/x11-libs/gtksourceview-2.10.5-r3/work/gtksourceview-2.10.5'
* S: '/var/tmp/portage/x11-libs/gtksourceview-2.10.5-r3/work/gtksourceview-2.10.5'
до этого пересобирал(как посоветовали) perl из-за другой ошибки:
emerge -C $(qlist -IC virtual/perl-)
emerge --ask perl
и ncurses:
emerge -C sys-libs/ncurses
emerge -1 =sys-libs/ncurses-5.9-r4
emerge -1u =sys-libs/ncurses-6.0