I believe Jeff provided an answer to this.  Because you're using the
modules from a "local lib" directory, either you'll have to modify the
scripts with a: use lib '/path/goes/here';
or
PERL5LIB=/home/path/lib/goes/here
export PERL5LIB
or
call perl  -I/your/path/... module

I recommend the second approach.

To determine if perl is using your PERL5LIB, do perl -V

The simplest way to install to a local directory is
perl Makefile.PL lib=/path/to/your/lib

Tom

On Mon, Apr 15, 2002 at 06:00:42PM -0400, Ed Sickafus wrote:
> ***  Please, Help with install of DBD::CSV, Phase II ***
> 
> Following an earlier suggestion today, I (purged directories/files and)
> reinstalled modules in the following order:
>       DBI
>       Text::CSV_XS
>       SQL::Statement
>       DBD::CSV
> 
> Managed to get the first three installed, however, DBD::CSV didn't
> install...
>       Warning: prerequisite SQL::Statement 0.1011 not found at (eval 1) line 220.
>       Warning: prerequisite Text::CSV_XS 0.16 not found at (eval 1) line 220.
> 
> Found on the web that this problem had been solved sometime ago (?) by
> commenting out several lines of Makefile.P: that look for prerequesites.
> 
>       "Now I edit Makefile.PL and comment out these lines (about 20 lines down
> from
>       the top or so)
>       # $ok &&= CheckModule('DBI', '1.00');
>       # $ok &&= CheckModule('Text::CSV_XS', '0.16');
>       # $ok &&= CheckModule('SQL::Statement', '0.1011'); "
> 
> So I vi'd my Makefile.PL and found a similar, but different, section and
> proceded to comment out these lines:
> 
> if ($ExtUtils::MakeMaker::VERSION >= 5.43) {
>   $opts{'ABSTRACT_FROM'} = 'lib/DBD/CSV.pm';
>   $opts{'AUTHOR'} = 'Jeff Zucker ([EMAIL PROTECTED])';
> ##  $opts{'PREREQ_PM'} =
> ##    { 'DBI' => '1.00',
> ##     'Text::CSV_XS' => '0.16',
> ##      'SQL::Statement' => '0.1011'
> ##    };
> }
> 
> This got me through   perl Makefile.PL PREFIX=$HOME/perllib  but then failed
> on  make test
> 
>       YOU ARE MISSING REQUIRED MODULES: [ SQL::Statement Text_CSV ]
>       ...
>       FAILED before any test output arrived
>       FAILED--14 test scripts could be run, alas--no output ever seen
>       make: *** [test_dynamic] Error 29

-- 
Thomas A. Lowery
See DBI/FAQ http://xmlproj.dyndns.org/cgi-bin/fom

Reply via email to