in reply to installation of CGI::Application::Plugin::Authentication failed

Install a Scalar::Util which provides weaken
  • Comment on Re: installation of CGI::Application::Plugin::Authentication failed

Replies are listed 'Best First'.
Re^2: installation of CGI::Application::Plugin::Authentication failed
by Anonymous Monk on Oct 10, 2008 at 08:21 UTC
    cpan> install Scalar::Util
    Scalar::Util is up to date.
    ??
    Same errors as before on Suse 10.3
      perl Makefile.PL -xs make make test perl -Mblib -MScalar::Util=weaken -e weaken() make install perl -Mblib -MScalar::Util=weaken -e weaken()
        Thanks.
        It looks that my Scalar::Util is broken somehow. Since there is no .packlist file for Scalar I removed:
        rm -rf ./5.8.8/i586-linux-thread-multi/Scalar ./5.8.8/Scalar install Scalar::Util<br> worked fine.
        with
        cpan> install CGI::Application::Plugin::Authentication
        I get the same error as on Debian:
        t/02_config.................ok 1/69 # Failed test 'config dies when RENDER_LOGIN is passed a hashref' # at t/02_config.t line 93. # expecting: Regexp ((?-xism:parameter RENDER_LOGIN is not a coderef)) # found: Bizarre copy of ARRAY in sassign at /usr/lib/perl5/5.8.8/Carp +/Heavy.pm line 45. t/02_config.................NOK 31# Looks like you failed 1 test of 69 +. t/02_config.................dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 31 Failed 1/69 tests, 98.55% okay
        Is this a bug?
        ok.
        done some research.
        Installed original Scalar::Util from Suse
        -> got 255 errors removed distributions Scalar::Util and do a
        cpan> install Scalar::Util
        all errors except one is gone. Seems the Suse rpm is somewhat buggy.