Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

DBIx::Class::Schema::Loader installation fails

by epsilonZero (Novice)
on Apr 24, 2013 at 09:25 UTC ( [id://1030314]=perlquestion: print w/replies, xml ) Need Help??

epsilonZero has asked for the wisdom of the Perl Monks concerning the following question:

Well, I been trying to get this work for the past two days, re installing dependencies, updating modules, but I haven't found any solution. install command line:
$> cpan DBIx::Class::Schema::Loader
I get failed tests, such as:
GENEHACK/DBIx-Class-Schema-Loader-0.07035.tar.gz /usr/bin/make -- OK CPAN: YAML loaded ok (v0.84) Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_h +arness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/backcompat/0.04006 +/*.t t/01use.t ............................... ok t/02pod.t ............................... ok t/10_01sqlite_common.t .................. 6/294 # Failed test 'Correct number of warnings' # at t/lib/dbixcsl_common_tests.pm line 323. # got: '10' # expected: '9' # Column 'dbix_class_testcomponent' in table 'loader_test2' collides w +ith an inherited method. # See "COLUMN ACCESSOR COLLISIONS" in perldoc DBIx::Class::Schema::Loa +der::Base . # Column 'dbix_class_testcomponentmap' in table 'loader_test2' collide +s with an inherited method. # See "COLUMN ACCESSOR COLLISIONS" in perldoc DBIx::Class::Schema::Loa +der::Base . # Column 'testcomponent_fqn' in table 'loader_test2' collides with an +inherited method. # Column 'set_primary_key' in table 'loader_test2' collides with an in +herited method. # See "COLUMN ACCESSOR COLLISIONS" in perldoc DBIx::Class::Schema::Loa +der::Base . # Column 'set_primary_key' in table 'loader_test4' collides with an in +herited method. # See "COLUMN ACCESSOR COLLISIONS" in perldoc DBIx::Class::Schema::Loa +der::Base . # Column 'belongs_to' in table 'loader_test4' collides with an inherit +ed method. # See "COLUMN ACCESSOR COLLISIONS" in perldoc DBIx::Class::Schema::Loa +der::Base . # Relationship 'belongs_to' in source 'LoaderTest4' for columns 'belon +gs_to' collides with an inherited method. Renaming to 'belongs_to_rel +'. # See "RELATIONSHIP NAME COLLISIONS" in perldoc DBIx::Class::Schema::L +oader::Base . # stat(t/var/common_dump/DBIXCSL_Test/Schema/MyResult/LoaderTest1.pm): + No such file or directory at .cpan/build/DBIx-Class-Schema-Loader-0. +07035-Emrz71/blib/lib/DBIx/Class/Schema/Loader/Base.pm line 1370. # Dumping manual schema for DBIXCSL_Test::Schema to directory t/var/co +mmon_dump ... # Schema dump completed. t/10_01sqlite_common.t .................. 294/294 # Looks like you fai +led 1 test of 294. t/10_01sqlite_common.t .................. Dubious, test returned 1 (ws +tat 256, 0x100) Failed 1/294 subtests (less 2 skipped subtests: 291 okay) t/10_02mysql_common.t ................... skipped: You need to set the + DBICTEST_MYSQL_DSN, DBICTEST_MYSQL_USER, and DBICTEST_MYSQL_PASS env +ironment variables t/10_03pg_common.t ...................... skipped: You need to set the + DBICTEST_PG_DSN, _USER, and _PASS environment variables t/10_04db2_common.t ..................... skipped: You need to set the + DBICTEST_DB2_DSN, _USER, and _PASS environment variables t/10_05ora_common.t ..................... skipped: You need to set the + DBICTEST_ORA_DSN, _USER, and _PASS environment variables t/10_06sybase_common.t .................. skipped: You need to set the + DBICTEST_SYBASE_DSN, _USER, and _PASS environment variables t/10_07mssql_common.t ................... skipped: You need to set the + DBICTEST_MSSQL_DSN, _USER and _PASS and /or the DBICTEST_MSSQL_ODBC_ +DSN, _USER and _PASS environment variables t/10_08sqlanywhere_common.t ............. skipped: You need to set the + DBICTEST_SQLANYWHERE_DSN, _USER and _PASS and/or the DBICTEST_SQLANY +WHERE_ODBC_DSN, _USER and _PASS environment variables t/10_09firebird_common.t ................ skipped: You need to set the + DBICTEST_FIREBIRD_DSN, _USER and _PASS and/or the DBICTEST_FIREBIRD_ +INTERBASE_DSN and/or the DBICTEST_FIREBIRD_ODBC_DSN environment varia +bles t/10_10informix_common.t ................ skipped: You need to set the + DBICTEST_INFORMIX_DSN, _USER, and _PASS environment variables t/10_11msaccess_common.t ................ skipped: You need to set the + DBICTEST_MSACCESS_ODBC_DSN, and optionally _USER and _PASS and/or th +e DBICTEST_MSACCESS_ADO_DSN, and optionally _USER and _PASS environme +nt variables t/20invocations.t ....................... ok t/21misc_fatal.t ........................ ok t/22dump.t .............................. ok t/23dumpmore.t .......................... 1/? # Failed test 'DBICTest::Schema::_no_skip_load_external warning coun +t' # at t/lib/dbixcsl_dumper_tests.pm line 176. # got: '1' # expected: '0' # stat(t/var/dump/DBICTest/Schema/_no_skip_load_external/Foo.pm): No s +uch file or directory at .cpan/build/DBIx-Class-Schema-Loader-0.07035 +-Emrz71/blib/lib/DBIx/Class/Schema/Loader/Base.pm line 1370. t/23dumpmore.t .......................... 95/? make: *** wait: No chil +d processes. Stop.

Replies are listed 'Best First'.
Re: DBIx::Class::Schema::Loader installation fails (skip tests, force install)
by Anonymous Monk on Apr 24, 2013 at 11:34 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1030314]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-19 16:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found