Re: problems intsalling perl-CPAN

2011-07-21 Thread Peter Dimitrios
I had a similar problem when a CentOS 5.6 instance upgraded its perl
version via a yum update.   I managed to get rid of the OIO::Code
error: Cannot use 'pure perl' version of Scalar::Util - 'weaken'
missing by forcing CPAN to compile the latest module (cpan force
install Scalar::Util) after installing native OS code versions (yum
install perl-Class-InsideOut perl-Scalar-Defer).
  _peter (Peter Dimitrios, petedag...@gmail.com and peterdimitr...@computer.org)


Re: problems intsalling perl-CPAN

2011-07-21 Thread jjzamani
The first error is when you run yum install perl-CPAN you got PACKAGE NOT FOUND

Regards
--Mensaje original--
De: Peter Dimitrios
Para: vcl-user@incubator.apache.org
Responder a: vcl-user@incubator.apache.org
Asunto: Re: problems intsalling perl-CPAN
Enviado: 21 de jul, 2011 15:18

I had a similar problem when a CentOS 5.6 instance upgraded its perl
version via a yum update.   I managed to get rid of the OIO::Code
error: Cannot use 'pure perl' version of Scalar::Util - 'weaken'
missing by forcing CPAN to compile the latest module (cpan force
install Scalar::Util) after installing native OS code versions (yum
install perl-Class-InsideOut perl-Scalar-Defer).
  _peter (Peter Dimitrios, petedag...@gmail.com and peterdimitr...@computer.org)


Juan José Zamanillo

Re: problems intsalling perl-CPAN

2011-07-15 Thread Andy Kurth
I haven't seen this before.  You could try installing/updating the
module listed in the error via the following command:
cpan Scalar::Util

-Andy

On Mon, Jul 11, 2011 at 10:33 PM, Juan Jose Zamanillo jjzam...@itesm.mx wrote:
 when I run the script for install  perl modules I get errors when the script
 try to install de perl-CPAN modules, and when I try to start the vcld daemon
 I get the following error:

 [root@labvcl ~]# /sbin/service vcld start
 Starting vcld daemon:
 Uncaught exception from user code:
        OIO::Code error: Cannot use 'pure perl' version of Scalar::Util -
 'weaken' missing
 Info: Upgrade/reinstall your version of Scalar::Util
 Package: VCL::DataStructure
 File: /usr/local/vcl/bin/../lib/VCL/DataStructure.pm
 Line: 79
 Compilation failed in require at
 /usr/local/vcl/bin/../lib/VCL/DataStructure.pm line 79.
 BEGIN failed--compilation aborted at
 /usr/local/vcl/bin/../lib/VCL/DataStructure.pm line 79.
 Compilation failed in require at /usr/local/vcl/bin/vcld line 62.
 BEGIN failed--compilation aborted at /usr/local/vcl/bin/vcld line 62.
 at /usr/local/vcl/bin/vcld line 62
 Use of uninitialized value in hash dereference at
 /usr/lib/perl5/site_perl/5.8.8/Object/InsideOut.pm line 891.
 Use of uninitialized value in array dereference at
 /usr/lib/perl5/site_perl/5.8.8/Object/InsideOut.pm line 990.
                                                          [FAILED]
 thanks in Advance

 Regards