Archive::All failure to install

Ask a Question related to PERL Modules, Design and Development.

  1. #1

    Default Archive::All failure to install

    Quite a lot of modules fail to install, this is the latest on my linux
    system with Perl 5.8.0.

    1. Using CPAN, how can you force an install? and
    2. Any suggestions as how I can fix the failed blessing?
    The word "bless" doesn't appear in the package and line 85 is the end of
    the new subroutine.

    TIA

    Owen

    (rcook@pcug.org.au)

    ------------------------------------------------------------------


    CPAN.pm: Going to build M/MS/MSCHWERN/Archive-Any-0.03.tar.gz

    <snip>

    PERL_DL_NONLAZY=1 /usr/bin/perl5.8.0 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
    t/00compile....ok
    t/Any..........ok 2/0Attempt to bless into a reference at /usr/lib/perl5/site_perl/5.8.0/Archive/Tar.pm line 85.
    # Looks like your test died just after 2.
    t/Any..........dubious
    Test returned status 255 (wstat 65280, 0xff00)
    Scalar found where operator expected at (eval 151) line 1, near "'int' $__val"
    (Missing operator before $__val?)
    after all the subtests completed successfully
    Failed Test Stat Wstat Total Fail Failed List of Failed
    --------------------------------------------------------------------
    t/Any.t 255 65280 2 0 0.00% ??
    Failed 1/2 test scripts, 50.00% okay. 0/5 subtests failed, 100.00% okay.
    make: *** [test_dynamic] Error 2
    /usr/bin/make test -- NOT OK
    Running make install
    make test had returned bad status, won't install without force


    Owen Guest

  2. Similar Questions and Discussions

    1. INF Install failure reason unknown
      I have a Compaq presario r3000 I recently had a corupted hardrive and had a tech guy fix it for me, I tried to reinstall flash player and I get INF...
    2. Install failure
      This is a problem with the CFMX 6.1 uninstall. It doesn't know that the CFIDE in your web root isn't its own, so it goes ahead and removes it. ...
    3. AI 8 install failure on WinXP
      An attempt to install AI 8 on Win XP resulted in failure: Autorun screen came up, but nothing when I selected install 8.0.1. I tried win program...
    4. CPAN install failure...
      Hi, I just tried to install HTML::Parser on my Redhat9 system and I got the following. Should I just force it? if so how is that done... ...
    5. KDE log in failure after PHP install
      I installed the RPM for PHP using WebMin and then created a test .php3 test file. I followed instructions to add the php modules to httpd.conf and...
  3. #2

    Default Re: Archive::All failure to install

    On Thu, 18 Sep 2003 04:13:37 -0500, Owen wrote:
    > Quite a lot of modules fail to install, this is the latest on my linux
    > system with Perl 5.8.0.
    Same here today.

    Going to try some hacking on it now.

    --Eric
    Eric Wilhelm Guest

  4. #3

    Default Re: Archive::All failure to install

    On Thu, 18 Sep 2003 04:13:37 -0500, Owen wrote:
    > ok 2/0Attempt to bless into a reference at
    > /usr/lib/perl5/site_perl/5.8.0/Archive/Tar.pm line 85.
    for me that is on line 87 (Archive::Tar::VERSION = "1.04")
    and the error is:
    Can't locate object method "read" via package
    "Archive::Tar=HASH(0x81ee8c4)"

    looks like this:
    my $obj = bless { _data => [ ], _file => 'Unknown' }, shift;

    The problem doesn't seem to be in Archive::Any, but I don't see why bless
    doesn't seem to be working.

    I added the following in Archive::Tar::new()

    87 my $thing = shift;
    88 my $thing = ref($thing) || $thing;
    89 my $obj = bless { _data => [ ], _file => 'Unknown' }, $thing;

    This seems to take care of it.

    Is this a bug in Archive::Tar ? or is there something funky in
    Archive::Any which I am not catching?

    --Eric
    Eric Wilhelm Guest

  5. #4

    Default Re: Archive::All failure to install

    On Sun, 28 Sep 2003 21:30:08 -0500, Eric Wilhelm wrote:
    > 87 my $thing = shift;
    > 88 my $thing = ref($thing) || $thing;
    sorry, should have made that "mine" only once:
    > 87 my $thing = shift;
    > 88 $thing = ref($thing) || $thing;
    Eric Wilhelm Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139