Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#8696 - Error installing perl-libxml

Attached to Project: Community Packages
Opened by Anarconda (Anarconda) - Sunday, 18 November 2007, 22:04 GMT
Last edited by Sergej Pupykin (sergej) - Sunday, 06 January 2008, 08:02 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After install perl-libxml pacman shows:

:: Installing SAX XML Parsers
Can't locate loadable object for module XML::LibXML::Common in @INC (@INC contains: /usr/lib/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at /usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/XML/LibXML.pm line 12
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/XML/LibXML.pm line 12.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/XML/LibXML.pm line 12.
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/XML/LibXML/SAX/Parser.pm line 8.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/XML/LibXML/SAX/Parser.pm line 8.
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/XML/SAX.pm line 147.
Can't locate loadable object for module XML::LibXML::Common in @INC (@INC contains: /usr/lib/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at /usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/XML/LibXML.pm line 12
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/XML/LibXML.pm line 12.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/XML/LibXML.pm line 12.
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/XML/LibXML/SAX.pm line 10.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/XML/LibXML/SAX.pm line 10.
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/XML/SAX.pm line 147.


Additional info:
* package version(s)
perl-xml-namespacesupport-1.09-2
perl-xml-sax-0.16-1
perl-libxml-1.65-1

* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Sergej Pupykin (sergej)
Sunday, 06 January 2008, 08:02 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed by dsa
Comment by Roman Kyrylych (Romashka) - Monday, 19 November 2007, 16:27 GMT Comment by Anarconda (Anarconda) - Monday, 19 November 2007, 18:58 GMT
I tried updating perl to 5.8.8-9 from testing but it doesn't work. I created a directory /usr/lib/perl5/site_perl/5.8.8 and copied files in 'current' into it but it doesn't work either.

Then, please, what can I do next?
Comment by Roman Kyrylych (Romashka) - Tuesday, 20 November 2007, 07:49 GMT
No, you should create /usr/lib/perl5/site_perl/current and symlinks to it:
# ls -l /usr/lib/perl5/site_perl/
total 4
lrwxrwxrwx 1 root root 7 2007-10-19 15:49 5.8.0 -> current
lrwxrwxrwx 1 root root 7 2007-10-19 15:49 5.8.1 -> current
lrwxrwxrwx 1 root root 7 2007-10-19 15:49 5.8.2 -> current
lrwxrwxrwx 1 root root 7 2007-10-19 15:49 5.8.3 -> current
lrwxrwxrwx 1 root root 7 2007-10-19 15:49 5.8.4 -> current
lrwxrwxrwx 1 root root 7 2007-10-19 15:49 5.8.5 -> current
lrwxrwxrwx 1 root root 7 2007-10-19 15:49 5.8.6 -> current
lrwxrwxrwx 1 root root 7 2007-10-19 15:49 5.8.7 -> current
lrwxrwxrwx 1 root root 7 2007-10-19 15:49 5.8.8 -> current
drwxr-xr-x 5 root root 4096 2007-11-19 10:40 current
# ls -l /usr/lib/perl5/
total 8
lrwxrwxrwx 1 root root 7 2007-10-19 15:49 5.8.0 -> current
lrwxrwxrwx 1 root root 7 2007-10-19 15:49 5.8.1 -> current
lrwxrwxrwx 1 root root 7 2007-10-19 15:49 5.8.2 -> current
lrwxrwxrwx 1 root root 7 2007-10-19 15:49 5.8.3 -> current
lrwxrwxrwx 1 root root 7 2007-10-19 15:49 5.8.4 -> current
lrwxrwxrwx 1 root root 7 2007-10-19 15:49 5.8.5 -> current
lrwxrwxrwx 1 root root 7 2007-10-19 15:49 5.8.6 -> current
lrwxrwxrwx 1 root root 7 2007-10-19 15:49 5.8.7 -> current
lrwxrwxrwx 1 root root 7 2007-10-19 15:49 5.8.8 -> current
drwxr-xr-x 43 root root 4096 2007-11-07 02:37 current
drwxr-xr-x 3 root root 4096 2007-10-20 13:01 site_perl
Comment by Anarconda (Anarconda) - Tuesday, 20 November 2007, 09:18 GMT
This is my directory list right now:

[root@Gaia site_perl]# ls -l /usr/lib/perl5/site_perl/
total 1
lrwxrwxrwx 1 root root 7 oct 10 16:08 5.8.0 -> current
lrwxrwxrwx 1 root root 7 oct 10 16:08 5.8.1 -> current
lrwxrwxrwx 1 root root 7 oct 10 16:08 5.8.2 -> current
lrwxrwxrwx 1 root root 7 oct 10 16:08 5.8.3 -> current
lrwxrwxrwx 1 root root 7 oct 10 16:08 5.8.4 -> current
lrwxrwxrwx 1 root root 7 oct 10 16:08 5.8.5 -> current
lrwxrwxrwx 1 root root 7 oct 10 16:08 5.8.6 -> current
lrwxrwxrwx 1 root root 7 oct 10 16:08 5.8.7 -> current
lrwxrwxrwx 1 root root 8 nov 19 19:49 5.8.8 -> current
drwxr-xr-x 15 root root 496 nov 18 16:28 current
[root@Gaia site_perl]# ls -l /usr/lib/perl5/
total 4
lrwxrwxrwx 1 root root 7 oct 10 16:08 5.8.0 -> current
lrwxrwxrwx 1 root root 7 oct 10 16:08 5.8.1 -> current
lrwxrwxrwx 1 root root 7 oct 10 16:08 5.8.2 -> current
lrwxrwxrwx 1 root root 7 oct 10 16:08 5.8.3 -> current
lrwxrwxrwx 1 root root 7 oct 10 16:08 5.8.4 -> current
lrwxrwxrwx 1 root root 7 oct 10 16:08 5.8.5 -> current
lrwxrwxrwx 1 root root 7 oct 10 16:08 5.8.6 -> current
lrwxrwxrwx 1 root root 7 oct 10 16:08 5.8.7 -> current
lrwxrwxrwx 1 root root 7 oct 10 16:08 5.8.8 -> current
drwxr-xr-x 44 root root 3856 nov 19 19:33 current
drwxr-xr-x 3 root root 288 nov 19 19:49 site_perl
[root@Gaia site_perl]#

but it still doesn't work. Am I doing something wrong? TIA.
Comment by Anarconda (Anarconda) - Thursday, 22 November 2007, 12:55 GMT
After a little research I solved the problem removing perl-libxml-common, installing XML-LibXML-Common-0.13 in the way recommend from CPAN, I mean following instructions at http://cpan.org/modules/INSTALL.html and after that re-installing perl-libxml (and yes this install again perl-libxml-common) and now it's working. Seems to me that the problem is perl-libxml-common. Anyway, thanks for all.
Comment by DaNiMoTh (DaNiMoTh) - Thursday, 20 December 2007, 14:56 GMT
on i686 (and perl 5.8.8-9) I haven't this problem

Loading...