List:General Discussion« Previous MessageNext Message »
From:Lewis Ashley Foster Date:December 13 2005 12:50pm
Subject:Re: install trouble, perl DBI
View as plain text  
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:
>From: "Lewis Ashley Foster" <lfoster@stripped>
>
> >
> > I'm trying to get mySQL installed on my machine but im having a bit of
> > trouble, obviously :)
> >
> > When i come to install mySQL server as below:
> >
> > rpm -ivh MySQL-server-standard-5.0.16-0.rhel3.i386.rpm
> >
> > I get this result:
> >
> > warning: MySQL-server-standard-5.0.16-0.rhel3.i386.rpm: V3 DSA signature:
> > NOKEY, key ID 5072e1f5
> > error: Failed dependencies:
> >          perl(DBI) is needed by MySQL-server-standard-5.0.16-0.rhel3
> >      Suggested resolutions:
> >          perl-DBI-1.32-5.i386.rpm
> >
> > But I have already installed perl dbi 1.40 like this with no errors:
> >
> > rpm -ivh perl-DBI-1.40-5.src.rpm
> >
> > I really cant think how to get round this, unless i downgrade the dbi to
> > 1.32 but that seems daft.
> >
>
>Hi,
>
>Try this command:
>
>perl -MDBI -e1
>
>If it will tell you that it can't find the  DBI module, this means that DBI
>was not properly installed.
>If it will give no results, this means that you have the DBI module
>installed, so try the following command:
>
>perl -M'DBI 999' -e1
>
>It will give an error telling that you don't have DBI version 999 installed
>but only the version ... and here it will tell the version number.
>
>If it is a newer version that the version required by MySQL RPM, then
>perhaps there is an error in the format of the version of DBI, or most
>probably in the way MySQL checks that version and don't like a newer one.
>
>You have some solutions:
>
>1. Manually edit the file DBI.pm after it is installed on the computer and
>write the older version instead. Then install MySQL and then change the
>version back in DBI.pm file.
>The newer DBI will surely work with MySQL.
>
>2. Install the older version of DBI, install MySQL, then install again the
>latest version of DBI module. If rpm doesn't allow you to do this because
>you might need to remove the older version of DBI, you can download the
>module DBI from search.cpan.org, and compile and install it using:
>
>perl Makefile.pl
>make
>make test
>make install
>
>or use the command:
>
>cpan
>
>(But in this case you will need to answer to some configuration settings)
>Then do:
>
>cpan> install DBI
>
>This will download and install the latest version of DBI.
>
>Teddy

Lewis Foster - Web Student

Schlumberger Cambridge Research
High Cross, Madingley Road, Cambridge CB3 0EL, UK

Phone:  +44 (0) 1223 315576
Email:          lfoster@stripped

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