Re: problems in building perl-DBI

Re: problems in building perl-DBI

am 21.12.2005 17:21:26 von Tim.Bunce

On Wed, Dec 21, 2005 at 01:35:05PM +0100, Hugo Kelder wrote:
> Hi,
>
> I've downloaded the perl-DBI 1.50 environment for Solaris 2.9 and the first step in building went wrong.
>
> The next problem occurs:
> # perl Makefile.PL
> Can't locate Test/More.pm in @INC (@INC contains: lib /usr/perl5/5.6.1/lib/sun4-solaris-64int
> /usr/perl5/5.6.1/lib /usr/perl5/site_.

The Makefile.PL and META.yml files document the prerequisites you need
to build DBI. They include the Test::Simple distribution (which
includes the Test::More module).

If you use the CPAN module to download the DBI it would have looked
after that for you. Try using

perl -MCPAN -e shell

then, after a once-off configuration, just type 'install DBI'.

Tim.

p.s. perl 5.6.1 is very old. I recommend you upgrade.