You are not logged in.
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 :
cpan XML::XPath
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)
Offline
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
Offline
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
Offline
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
Offline
lampp bring it !
I made this :
sudo ln -s /usr/bin/perl /opt/lampp/bin/perl
And it solved the problem !
Thanks !
Offline
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
Offline
You're right.
I changed my PATH on my .zshrc
Last edited by Spheerys (2020-08-28 18:35:24)
Offline