[Catalyst] Catalyst::Model::DBIC::Schema Cpan Installation Error
Matt S Trout
dbix-class at trout.me.uk
Mon Mar 10 21:17:26 GMT 2008
On Thu, Feb 28, 2008 at 04:09:21PM -0500, MARK wrote:
> Hi,
>
> I just got Jonathan Rockway's Catalyst book and am trying to
> set up a Catalyst environment on my computer - a Mac G5 PowerPC
> running OS X 10.4.11 with Perl 5.8.6. I installed Catalyst using the
> Shadowcat Catalyst installer. Then I installed some individual
> modules mentioned in the book using, for example, sudo perl -MCPAN -e
> 'install DBD::SQLite'. I had no problem until I tried to install
> Catalyst::Model::DBIC::Schema and got an error. I'm not sure what to
> look for in the error message, but I think the following is the
> relevant bit:
>
> # Failed test 'use Catalyst::Model::DBIC::Schema;'
> # at t/01use.t line 4.
> # Tried to use 'Catalyst::Model::DBIC::Schema'.
> # Error: Base class package "Class::Data::Accessor" is empty.
> # (Perhaps you need to 'use' the module which defines that
> package first.)
> # at /Users/markyeager/.cpan/build/Catalyst-Model-DBIC-Schema-0.20-
> ky5tob/blib/lib/Catalyst/Model/DBIC/Schema.pm line 8
>
>
> I thought that might mean that it failed because
> Class::Data::Accessor wasn't on the system - though I also thought it
> would load it if it was needed - so I tried to install
> Class::Data::Accessor, and that also failed. Here is what I got from
> that:
>
> Running make test
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/*/*.t
> Can't open t/*/*.t. No such file or directory
> Cannot determine source for t/*/*.t at /System/Library/Perl/5.8.6/
> Test/Harness.pm line 168
> make: *** [test_dynamic] Error 255
> CLACO/Class-Data-Accessor-0.04001.tar.gz
Looks like 04002 is out, please try that.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director http://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform?
http://chainsawblues.vox.com/ http://www.shadowcat.co.uk/servers/
More information about the Catalyst
mailing list