My *nix world

XML::Parser perl module is required for intltool

If it happens to get the following error message while you are compiling some program from source code:

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

then you should know the real problem lays in the fact that some Perl module is missing. It could be right the XML::Parser module in spite of being installed.

How to debug this problem:

  • run the command bellow and read carefully the error message; it could show you the module that is not installed
  • once you have found which module is missing or not configured/installed you can bring up the CPAN tool:
  • ..then you can install it:

where you can specify the command/module that needs to be configured/installed.

That should fix your problem.

Please let me know if you have trouble with this or if you have found other solution. I would happily update/upgrade my post with your suggestion too.

Now, if you think that this article was interesting don't forget to rate it. It shows me that you care and thus I will continue write about these things.

 
The following two tabs change content below.
XML::Parser perl module is required for intltool

Eugen Mihailescu

Founder/programmer/one-man-show at Cubique Software
Always looking to learn more about *nix world, about the fundamental concepts of math, physics, electronics. I am also passionate about programming, database and systems administration. 16+ yrs experience in software development, designing enterprise systems, IT support and troubleshooting.
XML::Parser perl module is required for intltool

Latest posts by Eugen Mihailescu (see all)

Tagged on: , ,

12 thoughts on “XML::Parser perl module is required for intltool

  1. Konstantinos Giannoukos

    Thank you very much! I build my own LFS system and I stuck to the installation package intltool although Ι installed package xml-parser. I ran these commands above and the problem was solved.

  2. lola

    I got this error when trying to install a tarball through ./configure. I ran the commands you posted, but I still get the same error. Any idea as to what else I could do?

    1. Eugen Mihailescu Post author

      If you just copy-paste the Perl module(s) I mentioned then perhaps you didn't fixed the module that is missing on your system, instead you fixed a module (eg. XML::Parser) that was missing on my system. Find out the missing module(s) in your error message and try install/fix that.

  3. Hani

    When I used the command "perl -e shell -MCPAN" and got to the stage of looking for CPAN mirrors near, I got the message "can't call method "http" on unblessed reference at 'local folder/FirstTime.pm line 1868'"

  4. Hani

    Oh, I solved the problem by choosing 'no' to automatically allow CPAN to search for CPAN mirrors near me. I had to choose the URL from the list

  5. Sumit kumar suman

    Hi Eugen,
    I am getting this message after running very 1st command .
    root [ /sources ]# perl -e "require XML::Parser"
    Can't load module XML::Parser::Expat, dynamic loading not available in this perl.
    Can you please suggest some solution as i have installed and reinstall perl 5 more than 3 times again i am getting same error.
    So,please help me here .any suggestion.

Leave a Reply

Your email address will not be published. Required fields are marked *

Follow

Get every new post on this blog delivered to your Inbox.

Join other followers: