On 07/10/10 15:20, Mayank Gupta wrote:
> Hi Tim,
> 
> I very new to Perl and have been put in a situation where I am supposed to
> figure out why a Perl code is not working. I have already written to
> dbi-users@perl.org
>  and am still awaiting a response. I just thought I would right to you too
> with a hope that you might be able to help me.
> 
> Issue is with the DBI module for Perl, v5.6.1 built for
> MSWin32-x86-multi-thread on Windows 2003. I am getting a syntax error: Can't
> locate DBI.pm in @INC. I checked the directories in @INC array and both the
> directories (C:\Perl\lib and C:\Perl\Site\lib) seem to miss DBI.pm. I also
> did the search in parent directory c:\Perl but could not find DBI.pm
> anywhere. Could be that DBI.pm module never got installed or got deleted by
> some other user accidentally.
> 
> Can you please suggest how can I fix this problem? Do I need to install DBI
> module again and if that is the case which version would it be and where can
> I install it from? Or better would be installing absolute new version of
> Perl?
> 
> *Also, following is what I tried in command line to install but didn't work:
> *
> 
> 
> PPM> install dbi
> Install package 'dbi?' (y/N): y
> Installing package 'dbi'...
> Downloading
> http://ppm.activestate.com/PPMPackages/5.6/MSWin32-x86-multi-thread/
> DBI-1.48.tar.gz ...
> Error installing package 'dbi': Error reading
> http://ppm.activestate.com/PPMPack
> ages/5.6/MSWin32-x86-multi-thread/DBI-1.48.tar.gz
> PPM>

I don't know much about ActiveState Perl but it looks as though something is 
going wrong obtaining the DBI package from ActiveState. When I use that URL it 
prompts for a password for the "ActiveState Business Edition". Guess you need 
to talk to ActiveState or someone in your organisation that knows about your 
ActiveState license/support or perhaps it is something really simple like your 
proxy settings are not correct.

Martin
-- 
Martin J. Evans
Easysoft Limited
http://www.easysoft.com

Reply via email to