boxofrox has asked for the wisdom of the Perl Monks concerning the following question:
I use dclone() in my perl script and get an "AutoLoader can't find auto/Storable/dclone.al" error. So I'm trying to install the Storable-2.29 module using CPAN, which compiles, but fails on make test.
My system is Ubuntu 11.04.
I've compiled perl-5.8.8 into /usr/local/perl5.8.8 (my company standardizes on 5.8.8, I have no choice on this).
I'm failing to sort this out on my own.
Does anyone know what COW is? (copy on write?)
Any ideas what would cause a COW to not be read-only?
Should I be using an older version of Storable with perl5.8.8? Can you point to a specific version?
If my perl5.8.8 compile options may be the cause, please specify which option you want. My config.sh is 1043 lines and I don't want to spam the thread.
(Edit) Tried >cpan Storable from perl-5.10 (installed with apt-get) and all tests passed
cpan>test Storable Runningtest for module Storable Runningmake for A/AM/AMS/Storable-2.29.tar.gz Is already unwrapped into directory /home/charetjc/.cpan/build/Storabl +e-2.29 Has already been processed within this session Runningmake test PERL_DL_NONLAZY=1/usr/local/perl5.8.8/bin/perl "-MExtUtils::Command::M +M" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/attach_errors.......ok t/attach_singleton....ok t/blessed.............ok t/canonical...........ok t/circular_hook.......ok t/code................ok t/compat01............ok t/compat06............ok t/croak...............ok t/dclone..............ok t/downgrade...........ok t/file_magic..........ok t/forgive.............ok t/freeze..............ok t/integer.............ok t/interwork56.........skipped all skipped: Your IVs are no larger than your longs t/just_plain_nasty....ok t/lock................ok t/malice..............ok t/overload............ok t/recurse.............ok t/restrict............NOK26 #Failed test 'COWs do not become read-only' #in t/restrict.t at line 118. t/restrict............NOK52 #Failed test 'COWs do not become read-only' #in t/restrict.t at line 118. t/restrict............NOK78 #Failed test 'COWs do not become read-only' #in t/restrict.t at line 118. t/restrict............NOK104 #Failed test 'COWs do not become read-only' #in t/restrict.t at line 118. #Looks like you failed 4 tests of 104. t/restrict............dubious Test returned status 4 (wstat 1024, 0x400) DIED.FAILED tests 26, 52, 78, 104 Failed 4/104 tests, 96.15% okay t/retrieve............ok t/sig_die.............ok t/store...............ok t/threads.............ok t/tied................ok t/tied_hook...........ok t/tied_items..........ok t/utf8................ok t/utf8hash............ok t/weak................ok FailedTest Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- +--------- t/restrict.t4 1024 104 4 3.85% 26 52 78 104 1test skipped. Failed1/32 test scripts, 96.88% okay. 4/2352 subtests failed, 99.83% o +kay. make:*** [test_dynamic] Error 255 /usr/bin/make test -- NOT OK
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Error installing Storable: t/restrict fails with 'COWs do not become read-only'
by Khen1950fx (Canon) on Jul 12, 2011 at 00:03 UTC | |
|
Re: Error installing Storable: t/restrict fails with 'COWs do not become read-only'
by boxofrox (Initiate) on Jul 12, 2011 at 19:20 UTC | |
|
Re: Error installing Storable: t/restrict fails with 'COWs do not become read-only'
by locked_user sundialsvc4 (Abbot) on Jul 12, 2011 at 12:53 UTC |