I am not much of an expert on this, but I thought I would pass along a few
hints from the list which were helpful to me in testing and installing DBI.
I got some very timely help from this list - for which I am very grateful
1.Specify the path where you want to install DBI - this should be the same
path where your other perl modules reside, which may or may not be the
default used in the installation.
>perl Makefile.PL PREFIX=~/whereYouWantItToGo
You'll also want to make sure that your installation does in fact have the
Time/HiRes.pm module somewhere....
2. You may need to specify where your modules are located, so that Makefile
can find them - the way I did it was to insert the 'use lib' directive
directly into the Makefile - Iknow that youare not suposed to do this, but
sometimes practicality has a way of interfering with elegance.
use lib('~/whereTheModulesAre');
This prepends the specified path to @INC.
t/40profile.........Can't locate Time/HiRes.pm in @INC (@INC contains:
blib/arch blib/lib /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd
/usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach
/usr/libdata/perl/5.00503 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd
/usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach
/usr/libdata/perl/5.00503) at t/40profile.t line 183.
BEGIN failed--compilation aborted at t/40profile.t line 183.
Use of uninitialized value at t/40profile.t line 35.
dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-56
Failed 56/56 tests, 0.00% okay