List:General Discussion« Previous MessageNext Message »
From:Gleb Paharenko Date:December 13 2005 2:04pm
Subject:Re: install trouble, perl DBI
View as plain text  
Hello.

> the first error, cant find Time/HiRes.pm....then later on 56/56 tests

Now it is rather a pure Perl problem than MySQL. However, have you
installed Time/HiRes.pm? As far as I know, you can use 'force install
...' instead of just 'install' command in the cpan shell. This should
continue the install even if few tests failed.



Lewis Ashley Foster wrote:
> 
> Ok, i had a look at the perl DBI installations and tried "make
> test"....i think this explains a thing or two!
> 
> Both 1.32 and 1.49 fail massively it seems. I'll go for version 1.32 so
> the output for the make test on 1.32 is below.
> 
> I seriously have no idea where to start with this lot, t/40 seems to be
> the first error, cant find Time/HiRes.pm....then later on 56/56 tests
> failed...how can it go so wrong?
> 
> Any ideas how I can begin to sort this out? Please let me know if i
> should post this on a perl mailing list instead.
> 
> Thanks for any pointers,
> 
> Lewis.
> 
> 
> [root@rancor DBI-1.32]# make test
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/01basics.............ok
> t/02dbidrv.............ok
> t/03hleak..............ok
> t/04mods...............ok
> t/05thrclone...........ok
> t/06attrs..............ok
> t/07kids...............ok
> t/10examp..............ok
> t/15array..............ok
> t/20meta...............ok
> t/30subclass...........ok
> t/40profile............Can't locate Time/HiRes.pm in @INC (@INC
> contains: /opt/www0/src/DBI-1.32/blib/lib
> /opt/www0/src/DBI-1.32/blib/arch
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.0
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.0
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at
> t/40profile.t line 183.
> BEGIN failed--compilation aborted at t/40profile.t line 183.
> Use of uninitialized value in unlink at t/40profile.t line 35.
> t/40profile............dubious
>         Test returned status 2 (wstat 512, 0x200)
> DIED. FAILED tests 1-56
>         Failed 56/56 tests, 0.00% okay
> t/41prof_dump..........ok
> t/42prof_data..........ok
> t/60preparse...........ok
> t/70shell..............ok
> t/80proxy..............skipped
>         all skipped: modules required for proxy are probably not installed
> t/zz_01basics_pp.......         Using DBI::PurePerl (DBI_PUREPERL=2)
> t/zz_01basics_pp.......ok
> t/zz_02dbidrv_pp.......ok
> t/zz_03hleak_pp........ok
> t/zz_04mods_pp.........ok
> t/zz_05thrclone_pp.....ok
> t/zz_06attrs_pp........ok
> t/zz_07kids_pp.........skipped
>         all skipped: $h->{Kids} attribute not supported for DBI::PurePerl
> t/zz_10examp_pp........ok 48/245 Taint mode switching tests skipped
> t/zz_10examp_pp........ok 64/245 Taint attribute tests skipped
> t/zz_10examp_pp........ok
> t/zz_15array_pp........ok
> t/zz_20meta_pp.........ok
> t/zz_30subclass_pp.....ok
> t/zz_40profile_pp......skipped
>         all skipped: profiling not supported for DBI::PurePerl
> t/zz_41prof_dump_pp....skipped
>         all skipped: profiling not supported for DBI::PurePerl
> t/zz_42prof_data_pp....skipped
>         all skipped: profiling not supported for DBI::PurePerl
> t/zz_60preparse_pp.....skipped
>         all skipped: preparse not supported for DBI::PurePerl
> t/zz_70shell_pp........ok
> t/zz_80proxy_pp........skipped
>         all skipped: modules required for proxy are probably not installed
> Failed Test   Stat Wstat Total Fail  Failed  List of Failed
> -------------------------------------------------------------------------------
> 
> t/40profile.t    2   512    56   56 100.00%  1-56
> 7 tests skipped.
> Failed 1/34 test scripts, 97.06% okay. 56/1148 subtests failed, 95.12%
> okay.
> make: *** [test_dynamic] Error 29
> 
> 
> At 18:06 12/12/2005 +0200, Octavian Rasnita wrote:
> 
>>


-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Gleb Paharenko
 / /|_/ / // /\ \/ /_/ / /__   Gleb.Paharenko@stripped
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.NET
       <___/   www.mysql.com



Thread
install trouble, perl DBILewis Ashley Foster12 Dec
  • Re: install trouble, perl DBIOctavian Rasnita12 Dec
    • Re: install trouble, perl DBILewis Ashley Foster13 Dec
      • Re: install trouble, perl DBIGleb Paharenko13 Dec
      • Re: install trouble, perl DBIAlfred Vahau13 Dec
  • Re: install trouble, perl DBIPat Adams12 Dec
  • Re: install trouble, perl DBIGleb Paharenko12 Dec
Re: install trouble, perl DBIImran Chaudhry13 Dec