You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@vcl.apache.org by Juan Jose Zamanillo <jj...@itesm.mx> on 2011/07/12 04:33:27 UTC

problems intsalling perl-CPAN

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

Re: problems intsalling perl-CPAN

Posted by Aaron Peeler <aa...@ncsu.edu>.
Hello,

What errors are you getting when you try to run the
install_perl_libs.pl? The perl modules have to be installed before
vcld can start.

Thanks,
Aaron

On Mon, Jul 11, 2011 at 10:33 PM, Juan Jose Zamanillo <jj...@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
>



-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.

Re: problems intsalling perl-CPAN

Posted by Peter Dimitrios <pe...@gmail.com>.
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, PeteDaGuru@gmail.com and peterdimitrios@computer.org)

Re: problems intsalling perl-CPAN

Posted by Andy Kurth <an...@ncsu.edu>.
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 <jj...@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
>