[Dbix-class] install test failures

Ash Berlin ash_cpan at firemirror.com
Thu Oct 2 12:02:43 BST 2008


On 2 Oct 2008, at 11:37, Dave Howorth wrote:

> Zbigniew Lukasiak wrote:
>> better load the latest svn version from:
>> http://dev.catalyst.perl.org/repos/bast/DBIx-Class/0.08/trunk
>
> I tried that but am seeing a problem - I'm not very familiar with
> building Perl distributions except from CPAN. It seems to have
> downloaded correctly but when I try to build it I see this:
>
> .../trunk$ perl Makefile.PL
> Can't locate inc/Module/Install.pm in @INC (@INC contains:
> /home/dhoworth/progs/modules
> /usr/lib/perl5/5.8.6/i586-linux-thread-multi /usr/lib/perl5/5.8.6
> /usr/lib/perl5/site_perl/5.8.6/i586-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.8.6/i586-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl .) at
> Makefile.PL line 1.
> BEGIN failed--compilation aborted at Makefile.PL line 1.
>
> And I'm not sure what I should do.
>
> Thanks, Dave

When you are installing/building the SVN version, it wont have  
Module::Install embedded into it yet, so you need to install  
Module::Install from CPAN first:

$> sudo cpan Module::Install

(or replace that with what ever packaging system you usually use to  
install perl modules on your system.

Then try running the Makefile.PL from trunk again.

-ash



More information about the DBIx-Class mailing list