DBI - Installing module - tries to install on D drive

Posted on Fri Jan 13 03:15:05 2006 by dlarson
Installing module - tries to install on D drive
I downloaded PERL 5.8.7 and installed it at C:\PXPerl and am now trying to build a module from CPAN (DBI). But, I keep getting errors that PERL is trying to use the D:\ drive for some reason.

When I try to install using the command "cpan install Bundle::DBI", I get the following error:
CPAN: Storable loaded ok mkdir D:\PXPerl: Permission denied at C:/PXPerl/lib/CPAN.pm line 2342


When I try to install using the command "perl -MCPAN -e 'install Bundle::DBI'", I get the following error:
Can't find string terminator "'" anywhere before EOF at -e line 1.



And when I try "perl Makefile.PL", I get:

*** You are using a perl configured with threading enabled. *** You should be aware that using multiple threads is *** not recommended for production environments. Creating DBI::PurePerl test variant: t/zvpp_01basics.t Creating DBI::PurePerl test variant: t/zvpp_02dbidrv.t Creating DBI::PurePerl test variant: t/zvpp_03handle.t Creating DBI::PurePerl test variant: t/zvpp_04mods.t Creating DBI::PurePerl test variant: t/zvpp_05thrclone.t (use threads) Creating DBI::PurePerl test variant: t/zvpp_06attrs.t Creating DBI::PurePerl test variant: t/zvpp_07kids.t Creating DBI::PurePerl test variant: t/zvpp_08keeperr.t Creating DBI::PurePerl test variant: t/zvpp_09trace.t Creating DBI::PurePerl test variant: t/zvpp_10examp.t Creating DBI::PurePerl test variant: t/zvpp_11fetch.t Creating DBI::PurePerl test variant: t/zvpp_14utf8.t Creating DBI::PurePerl test variant: t/zvpp_15array.t Creating DBI::PurePerl test variant: t/zvpp_20meta.t Creating DBI::PurePerl test variant: t/zvpp_30subclass.t Creating DBI::PurePerl test variant: t/zvpp_40profile.t Creating DBI::PurePerl test variant: t/zvpp_41prof_dump.t Creating DBI::PurePerl test variant: t/zvpp_42prof_data.t Creating DBI::PurePerl test variant: t/zvpp_43profenv.t Creating DBI::PurePerl test variant: t/zvpp_50dbm.t Creating DBI::PurePerl test variant: t/zvpp_60preparse.t Creating DBI::PurePerl test variant: t/zvpp_70callbacks.t Creating DBI::PurePerl test variant: t/zvpp_72childhandles.t Creating DBI::PurePerl test variant: t/zvpp_80proxy.t Checking if your kit is complete... Looks good Error: Unable to locate installed Perl libraries or Perl source code. It is recommended that you install perl in a standard location before building extensions. Some precompiled versions of perl do not contain these header files, so you cannot build extensions. In such a case, please build and install your perl from a fresh perl distribution. It usually solves this kind of problem. (You get this message, because MakeMaker could not find "D:\PXPerl\BUILD\PERL-000000000000000000000 +00000000000000000000000000000\lib\CORE\perl.h") # Looks like your test died before it could output anything.


Any idea what's wrong and why it's trying to use the D:\ drive?

Thanks.
Write a response