Thanks -- I think this hopefully leading me in the right direction. I tried the force install DBomb from the MCPAN -e shell.
It returned a bunch of errors, but none of which I can interpret into an action point, what do you think? The whole thing was a ton of lines, so I'm not going to paste them all but the first group of errors are here:
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_h
+arness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-use................
# Failed test 'use DBomb;'
# at t/00-use.t line 11.
t/00-use................NOK 1# Tried to use 'DBomb'.
+
# Error: Base class package "Class::Data::Inheritable" is empty.
# (Perhaps you need to 'use' the module which defines that package
+ first.)
# at /root/.cpan/build/DBomb-0.20/blib/lib/DBomb/DBH/Owner.pm line 14
# BEGIN failed--compilation aborted at t/00-use.t line 11.
# Compilation failed in require at (eval 4) line 3.
# ...propagated at /usr/lib/perl5/5.8.5/base.pm line 85.
# BEGIN failed--compilation aborted at /root/.cpan/build/DBomb-0.20/bl
+ib/lib/DBomb.pm line 15.
# Compilation failed in require at (eval 3) line 2.
# BEGIN failed--compilation aborted at (eval 3) line 2.
t/00-use................ok 2/30
+
# Failed test 'use DBomb::Base;'
# at t/00-use.t line 13.
# Tried to use 'DBomb::Base'.
# Error: Can't locate object method "mk_classdata" via package "D
+Bomb::Base::Private" at /root/.cpan/build/DBomb-0.20/blib/lib/DBomb/B
+ase/Private.pm line 32.
# Compilation failed in require at (eval 10) line 3.
# ...propagated at /usr/lib/perl5/5.8.5/base.pm line 85.
# BEGIN failed--compilation aborted at t/00-use.t line 13.
# Compilation failed in require at (eval 7) line 2.
# BEGIN failed--compilation aborted at (eval 7) line 2.
t/00-use................ok 30/30# Looks like you failed 2 tests of 30.
+
t/00-use................dubious
+
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1, 3
Failed 2/30 tests, 93.33% okay
t/01-create_queries.....ok
+
t/02-create_database....ok 1/99
+
# Failed test 'use DBomb;'
# at t/02-create_database.t line 184.
# Tried to use 'DBomb'.
# Error: Base class package "Class::Data::Inheritable" is empty.
# (Perhaps you need to 'use' the module which defines that package
+ first.)
# at /root/.cpan/build/DBomb-0.20/blib/lib/DBomb/DBH/Owner.pm line 14
# BEGIN failed--compilation aborted at t/02-create_database.t line 184
+.
# Compilation failed in require at (eval 7) line 3.
# ...propagated at /usr/lib/perl5/5.8.5/base.pm line 85.
# BEGIN failed--compilation aborted at /root/.cpan/build/DBomb-0.20/bl
+ib/lib/DBomb.pm line 15.
# Compilation failed in require at (eval 6) line 2.
# BEGIN failed--compilation aborted at (eval 6) line 2.
t/02-create_database....ok 3/99"my" variable @binds masks earlier decl
+aration in same scope at t/02-create_database.t line 226.
Can't connect to data source , no database driver specified and DBI_DS
+N env var not set at t/02-create_database.t line 190
# Looks like you planned 99 tests but only ran 3.
# Looks like you failed 1 test of 3 run.
# Looks like your test died just after 3.
t/02-create_database....dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2, 4-99
Failed 97/99 tests, 2.02% okay
t/03-execute_queries....ok 1/57
+
# Failed test 'use DBomb;'
# at t/03-execute_queries.t line 9.
# Tried to use 'DBomb'.
# Error: Base class package "Class::Data::Inheritable" is empty.
# (Perhaps you need to 'use' the module which defines that package
+ first.)
# at /root/.cpan/build/DBomb-0.20/blib/lib/DBomb/DBH/Owner.pm line 14
# BEGIN failed--compilation aborted at t/03-execute_queries.t line 9.
# Compilation failed in require at (eval 7) line 3.
# ...propagated at /usr/lib/perl5/5.8.5/base.pm line 85.
# BEGIN failed--compilation aborted at /root/.cpan/build/DBomb-0.20/bl
+ib/lib/DBomb.pm line 15.
# Compilation failed in require at (eval 6) line 2.
# BEGIN failed--compilation aborted at (eval 6) line 2.
t/03-execute_queries....ok 5/57Can't connect to data source , no datab
+ase driver specified and DBI_DSN env var not set at t/03-execute_quer
+ies.t line 17
# Looks like you planned 57 tests but only ran 5.
# Looks like you failed 1 test of 5 run.
# Looks like your test died just after 5.
t/03-execute_queries....dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2, 6-57
Failed 53/57 tests, 7.02% okay
t/04-object-select......ok 1/42
+
# Failed test 'use DBomb;'
# at t/04-object-select.t line 11.
# Tried to use 'DBomb'.
# Error: Base class package "Class::Data::Inheritable" is empty.
# (Perhaps you need to 'use' the module which defines that package
+ first.)
# at /root/.cpan/build/DBomb-0.20/blib/lib/DBomb/DBH/Owner.pm line 14
# BEGIN failed--compilation aborted at t/04-object-select.t line 11.
# Compilation failed in require at (eval 8) line 3.
# ...propagated at /usr/lib/perl5/5.8.5/base.pm line 85.
# BEGIN failed--compilation aborted at /root/.cpan/build/DBomb-0.20/bl
+ib/lib/DBomb.pm line 15.
# Compilation failed in require at (eval 7) line 2.
# BEGIN failed--compilation aborted at (eval 7) line 2.
t/04-object-select......ok 5/42Can't locate object method "mk_classdat
+a" via package "DBomb::Base::Private" at /root/.cpan/build/DBomb-0.20
+/blib/lib/DBomb/Base/Private.pm line 32.
Compilation failed in require at (eval 16) line 3.
...propagated at /usr/lib/perl5/5.8.5/base.pm line 85.
BEGIN failed--compilation aborted at /root/.cpan/build/DBomb-0.20/blib
+/lib/DBomb/Base.pm line 23.
Compilation failed in require at (eval 13) line 3.
...propagated at /usr/lib/perl5/5.8.5/base.pm line 85.
BEGIN failed--compilation aborted at t/04-object-select.t line 30.
# Looks like you planned 42 tests but only ran 5.
# Looks like you failed 1 test of 5 run.
# Looks like your test died just after 5.
t/04-object-select......dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2, 6-42
Failed 38/42 tests, 9.52% okay
t/05-object-update......ok 1/22
+
# Failed test 'use DBomb;'
# at t/05-object-update.t line 11.
# Tried to use 'DBomb'.
# Error: Base class package "Class::Data::Inheritable" is empty.
# (Perhaps you need to 'use' the module which defines that package
+ first.)
# at /root/.cpan/build/DBomb-0.20/blib/lib/DBomb/DBH/Owner.pm line 14
# BEGIN failed--compilation aborted at t/05-object-update.t line 11.
# Compilation failed in require at (eval 8) line 3.
# ...propagated at /usr/lib/perl5/5.8.5/base.pm line 85.
# BEGIN failed--compilation aborted at /root/.cpan/build/DBomb-0.20/bl
+ib/lib/DBomb.pm line 15.
# Compilation failed in require at (eval 7) line 2.
# BEGIN failed--compilation aborted at (eval 7) line 2.
t/05-object-update......ok 6/22Can't locate object method "mk_classdat
+a" via package "DBomb::Base::Private" at /root/.cpan/build/DBomb-0.20
+/blib/lib/DBomb/Base/Private.pm line 32.
Compilation failed in require at (eval 17) line 3.
...propagated at /usr/lib/perl5/5.8.5/base.pm line 85.
BEGIN failed--compilation aborted at /root/.cpan/build/DBomb-0.20/blib
+/lib/DBomb/Base.pm line 23.
Compilation failed in require at (eval 14) line 3.
...propagated at /usr/lib/perl5/5.8.5/base.pm line 85.
BEGIN failed--compilation aborted at t/05-object-update.t line 31.
# Looks like you planned 22 tests but only ran 6.
# Looks like you failed 1 test of 6 run.
# Looks like your test died just after 6.
t/05-object-update......dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2, 7-22
Failed 17/22 tests, 22.73% okay
t/06-object-insert......ok 1/33
+
# Failed test 'use DBomb;'
# at t/06-object-insert.t line 11.
# Tried to use 'DBomb'.
# Error: Base class package "Class::Data::Inheritable" is empty.
# (Perhaps you need to 'use' the module which defines that package
+ first.)
# at /root/.cpan/build/DBomb-0.20/blib/lib/DBomb/DBH/Owner.pm line 14
# BEGIN failed--compilation aborted at t/06-object-insert.t line 11.
# Compilation failed in require at (eval 8) line 3.
# ...propagated at /usr/lib/perl5/5.8.5/base.pm line 85.
# BEGIN failed--compilation aborted at /root/.cpan/build/DBomb-0.20/bl
+ib/lib/DBomb.pm line 15.
# Compilation failed in require at (eval 7) line 2.
# BEGIN failed--compilation aborted at (eval 7) line 2.
t/06-object-insert......ok 7/33Can't locate object method "mk_classdat
+a" via package "DBomb::Base::Private" at /root/.cpan/build/DBomb-0.20
+/blib/lib/DBomb/Base/Private.pm line 32.
Compilation failed in require at (eval 18) line 3.
...propagated at /usr/lib/perl5/5.8.5/base.pm line 85.
BEGIN failed--compilation aborted at /root/.cpan/build/DBomb-0.20/blib
+/lib/DBomb/Base.pm line 23.
Compilation failed in require at (eval 15) line 3.
...propagated at /usr/lib/perl5/5.8.5/base.pm line 85.
BEGIN failed--compilation aborted at t/06-object-insert.t line 33.
# Looks like you planned 33 tests but only ran 7.
# Looks like you failed 1 test of 7 run.
# Looks like your test died just after 7.
t/06-object-insert......dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2, 8-33
Failed 27/33 tests, 18.18% okay
t/07-string-mangle......ok 1/15
+
# Failed test 'use DBomb;'
# at t/07-string-mangle.t line 9.
# Tried to use 'DBomb'.
# Error: Base class package "Class::Data::Inheritable" is empty.
# (Perhaps you need to 'use' the module which defines that package
+ first.)
# at /root/.cpan/build/DBomb-0.20/blib/lib/DBomb/DBH/Owner.pm line 14
# BEGIN failed--compilation aborted at t/07-string-mangle.t line 9.
# Compilation failed in require at (eval 7) line 3.
# ...propagated at /usr/lib/perl5/5.8.5/base.pm line 85.
# BEGIN failed--compilation aborted at /root/.cpan/build/DBomb-0.20/bl
+ib/lib/DBomb.pm line 15.
# Compilation failed in require at (eval 6) line 2.
# BEGIN failed--compilation aborted at (eval 6) line 2.
t/07-string-mangle......ok 5/15Can't locate object method "mk_classdat
+a" via package "DBomb::Base::Private" at /root/.cpan/build/DBomb-0.20
+/blib/lib/DBomb/Base/Private.pm line 32.
Compilation failed in require at (eval 15) line 3.
...propagated at /usr/lib/perl5/5.8.5/base.pm line 85.
BEGIN failed--compilation aborted at /root/.cpan/build/DBomb-0.20/blib
+/lib/DBomb/Base.pm line 23.
Compilation failed in require at (eval 12) line 3.
...propagated at /usr/lib/perl5/5.8.5/base.pm line 85.
BEGIN failed--compilation aborted at t/07-string-mangle.t line 26.
# Looks like you planned 15 tests but only ran 5.
# Looks like you failed 1 test of 5 run.
# Looks like your test died just after 5.
t/07-string-mangle......dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2, 6-15
Failed 11/15 tests, 26.67% okay
t/08-select-expr........ok 1/11
+
# Failed test 'use DBomb;'
# at t/08-select-expr.t line 9.
# Tried to use 'DBomb'.
# Error: Base class package "Class::Data::Inheritable" is empty.
# (Perhaps you need to 'use' the module which defines that package
+ first.)
# at /root/.cpan/build/DBomb-0.20/blib/lib/DBomb/DBH/Owner.pm line 14
# BEGIN failed--compilation aborted at t/08-select-expr.t line 9.
# Compilation failed in require at (eval 7) line 3.
# ...propagated at /usr/lib/perl5/5.8.5/base.pm line 85.
# BEGIN failed--compilation aborted at /root/.cpan/build/DBomb-0.20/bl
+ib/lib/DBomb.pm line 15.
# Compilation failed in require at (eval 6) line 2.
# BEGIN failed--compilation aborted at (eval 6) line 2.
t/08-select-expr........ok 5/11Can't locate object method "mk_classdat
+a" via package "DBomb::Base::Private" at /root/.cpan/build/DBomb-0.20
+/blib/lib/DBomb/Base/Private.pm line 32.
Compilation failed in require at (eval 15) line 3.
...propagated at /usr/lib/perl5/5.8.5/base.pm line 85.
BEGIN failed--compilation aborted at /root/.cpan/build/DBomb-0.20/blib
+/lib/DBomb/Base.pm line 23.
Compilation failed in require at (eval 12) line 3.
...propagated at /usr/lib/perl5/5.8.5/base.pm line 85.
BEGIN failed--compilation aborted at t/08-select-expr.t line 27.
# Looks like you planned 11 tests but only ran 5.
# Looks like you failed 1 test of 5 run.
# Looks like your test died just after 5.
t/08-select-expr........dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2, 6-11
Failed 7/11 tests, 36.36% okay
t/09-delete.............ok 1/27
+
# Failed test 'use DBomb;'
# at t/09-delete.t line 9.
# Tried to use 'DBomb'.
# Error: Base class package "Class::Data::Inheritable" is empty.
# (Perhaps you need to 'use' the module which defines that package
+ first.)
# at /root/.cpan/build/DBomb-0.20/blib/lib/DBomb/DBH/Owner.pm line 14
# BEGIN failed--compilation aborted at t/09-delete.t line 9.
# Compilation failed in require at (eval 7) line 3.
# ...propagated at /usr/lib/perl5/5.8.5/base.pm line 85.
# BEGIN failed--compilation aborted at /root/.cpan/build/DBomb-0.20/bl
+ib/lib/DBomb.pm line 15.
# Compilation failed in require at (eval 6) line 2.
# BEGIN failed--compilation aborted at (eval 6) line 2.
t/09-delete.............ok 5/27Can't connect to data source , no datab
+ase driver specified and DBI_DSN env var not set at t/09-delete.t lin
+e 17
# Looks like you planned 27 tests but only ran 5.
# Looks like you failed 1 test of 5 run.
# Looks like your test died just after 5.
t/09-delete.............dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2, 6-27
Failed 23/27 tests, 14.81% okay
| [reply] [d/l] |
# Error: Base class package "Class::Data::Inheritable" is empty.
I think I saw this error message in your first post. The first thing to do is to attend to it ... ie do whatever is necessary to eliminate it.
Someone else mentioned that you might need to install Class::Data::Inheritable (even though it's not specified as a pre-requisite, afaict). Have you done that ?
Cheers, Rob
| [reply] |
I've finally found my wayt o the end, thanks guys, truly, truly appreciated
Best,
Paul
| [reply] |
The first error Base class package "Class::Data::Inheritable" is empty. means that you didn't install Class::Data::Inheritable. All other errors seem to be related to this. So first make sure that you have Class::Data::Inheritable installed, best through CPAN via the cpan program or through perl -MCPAN -e 'install "Class::Data::Inheritable"' or through perl -MCPAN -eshell and then install Class::Data::Inheritable
| [reply] [d/l] [select] |
Great, thanks again!!
I've made progress, but now have a new base error to attend to. This is the first error sequence that comes up with the force Dbomb install:
t/02-create_database....ok 3/99"my" variable @binds masks earlier decl
+aration in same scope at t/02-create_database.t line 226.
Can't connect to data source , no database driver specified and DBI_DS
+N env var not set at t/02-create_database.t line 190
# Looks like you planned 99 tests but only ran 3.
# Looks like your test died just after 3.
t/02-create_database....dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 4-99
Failed 96/99 tests, 3.03% okay
t/03-execute_queries....ok 5/57Can't connect to data source , no datab
+ase driver specified and DBI_DSN env var not set at t/03-execute_quer
+ies.t line 17
# Looks like you planned 57 tests but only ran 5.
# Looks like your test died just after 5.
t/03-execute_queries....dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 6-57
Failed 52/57 tests, 8.77% okay
t/04-object-select......ok 5/42Can't connect to data source , no datab
+ase driver specified and DBI_DSN env var not set at t/04-object-selec
+t.t line 19
# Looks like you planned 42 tests but only ran 5.
# Looks like your test died just after 5.
t/04-object-select......dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 6-42
Failed 37/42 tests, 11.90% okay
t/05-object-update......ok 6/22Can't connect to data source , no datab
+ase driver specified and DBI_DSN env var not set at t/05-object-updat
+e.t line 20
# Looks like you planned 22 tests but only ran 6.
# Looks like your test died just after 6.
t/05-object-update......dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 7-22
Failed 16/22 tests, 27.27% okay
t/06-object-insert......ok 7/33Can't connect to data source , no datab
+ase driver specified and DBI_DSN env var not set at t/06-object-inser
+t.t line 21
# Looks like you planned 33 tests but only ran 7.
# Looks like your test died just after 7.
t/06-object-insert......dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 8-33
Failed 26/33 tests, 21.21% okay
t/07-string-mangle......ok 5/15Can't connect to data source , no datab
+ase driver specified and DBI_DSN env var not set at t/07-string-mangl
+e.t line 17
# Looks like you planned 15 tests but only ran 5.
# Looks like your test died just after 5.
t/07-string-mangle......dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 6-15
Failed 10/15 tests, 33.33% okay
t/08-select-expr........ok 5/11Can't connect to data source , no datab
+ase driver specified and DBI_DSN env var not set at t/08-select-expr.
+t line 17
# Looks like you planned 11 tests but only ran 5.
# Looks like your test died just after 5.
t/08-select-expr........dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 6-11
Failed 6/11 tests, 45.45% okay
t/09-delete.............ok 5/27Can't connect to data source , no datab
+ase driver specified and DBI_DSN env var not set at t/09-delete.t lin
+e 17
# Looks like you planned 27 tests but only ran 5.
# Looks like your test died just after 5.
t/09-delete.............dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 6-27
Failed 22/27 tests, 18.52% okay
t/10-object-delete......ok 4/52Can't connect to data source , no datab
+ase driver specified and DBI_DSN env var not set at t/10-object-delet
+e.t line 17
# Looks like you planned 52 tests but only ran 4.
# Looks like your test died just after 4.
t/10-object-delete......dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 5-52
Failed 48/52 tests, 7.69% okay
t/11-insert-select......ok 7/37Can't connect to data source , no datab
+ase driver specified and DBI_DSN env var not set at t/11-insert-selec
+t.t line 21
# Looks like you planned 37 tests but only ran 7.
# Looks like your test died just after 7.
t/11-insert-select......dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 8-37
Failed 30/37 tests, 18.92% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
----------------------------------------------------------------------
+---------
t/02-create_database.t 255 65280 99 192 193.94% 4-99
t/03-execute_queries.t 255 65280 57 104 182.46% 6-57
t/04-object-select.t 255 65280 42 74 176.19% 6-42
t/05-object-update.t 255 65280 22 32 145.45% 7-22
t/06-object-insert.t 255 65280 33 52 157.58% 8-33
t/07-string-mangle.t 255 65280 15 20 133.33% 6-15
t/08-select-expr.t 255 65280 11 12 109.09% 6-11
t/09-delete.t 255 65280 27 44 162.96% 6-27
t/10-object-delete.t 255 65280 52 96 184.62% 5-52
t/11-insert-select.t 255 65280 37 60 162.16% 8-37
Failed 10/12 test scripts, 16.67% okay. 343/438 subtests failed, 21.69
+% okay.
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK
Seems like it wants to have a datasource to look, not sure why it would need that on install ?
Thanks a ton guys, really appreciated.
Paul | [reply] [d/l] |