Subject: | Doesn't compile on Redhat Enterprise ES 3 |
I'm using cpan2rpm.
Found: DBD-Mock-0.25.tar.gz
At: http://search.cpan.org//CPAN/authors/id/S/ST/STEVAN
perl, v5.8.0 built for i386-linux-thread-multi (with patch MAINT18379)
The errors I got were:
...
t/40_mock_statement_track..................ok
t/45_mock_statement_track_iterator.........ok
t/50_db_pool...............................# Failed test (t/50_db_pool.t at line 20)
# The object isn't a 'DBD::Mock::Pool::db' it's a 'DBI::db'
# Failed test (t/50_db_pool.t at line 23)
# The object isn't a 'DBD::Mock::Pool::db' it's a 'DBI::db'
# Failed test (t/50_db_pool.t at line 25)
# got: 'DBI::db=HASH(0x8064144)'
# expected: 'DBI::db=HASH(0x80642a0)'
# Failed test (t/50_db_pool.t at line 27)
# Failed test (t/50_db_pool.t at line 28)
# Failed test (t/50_db_pool.t at line 38)
# The object isn't a 'DBD::Mock::Pool::db' it's a 'DBI::db'
# Failed test (t/50_db_pool.t at line 42)
# Failed test (t/50_db_pool.t at line 48)
# The object isn't a 'DBD::Mock::Pool::db' it's a 'DBI::db'
# Failed test (t/50_db_pool.t at line 52)
# got: undef
# expected: 'ARRAY(0x8259384)'
# Failed test (t/50_db_pool.t at line 59)
# Failed test (t/50_db_pool.t at line 65)
# The object isn't a 'DBD::Mock::Pool::db' it's a 'DBI::db'
# Failed test (t/50_db_pool.t at line 69)
# got: 0
# expected: 1
Can't call method "statement" on an undefined value at t/50_db_pool.t line 71.
# Looks like you planned 16 tests but only ran 14.
# Looks like your test died just after 14.
t/50_db_pool...............................dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 3-16
Failed 14/16 tests, 12.50% okay
...
Hopefully this explains things a little.