Ask a Question related to PERL Modules, Design and Development.
-
Owen #1
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
-
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... -
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. ... -
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... -
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... ... -
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... -
Eric Wilhelm #2
Re: Archive::All failure to install
On Thu, 18 Sep 2003 04:13:37 -0500, Owen wrote:
Same here today.> Quite a lot of modules fail to install, this is the latest on my linux
> system with Perl 5.8.0.
Going to try some hacking on it now.
--Eric
Eric Wilhelm Guest
-
Eric Wilhelm #3
Re: Archive::All failure to install
On Thu, 18 Sep 2003 04:13:37 -0500, Owen wrote:
for me that is on line 87 (Archive::Tar::VERSION = "1.04")> ok 2/0Attempt to bless into a reference at
> /usr/lib/perl5/site_perl/5.8.0/Archive/Tar.pm line 85.
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
-
Eric Wilhelm #4
Re: Archive::All failure to install
On Sun, 28 Sep 2003 21:30:08 -0500, Eric Wilhelm wrote:
sorry, should have made that "mine" only once:> 87 my $thing = shift;
> 88 my $thing = ref($thing) || $thing;
> 87 my $thing = shift;
> 88 $thing = ref($thing) || $thing;Eric Wilhelm Guest



Reply With Quote

