Re: Fwd: Question regarding DBI.pm for Perl, v5.6.1 built for MSWin32-x86 on Windows 2003.
[email protected] (John Scoles)
| Newsgroups | perl.dbi.users |
|---|---|
| Message-ID | <[email protected]> |
On 10/7/2010 10:20 AM, Mayank Gupta wrote: When in trouble with Activestate Perl for windows you best bet would be to 1) deinstall all of the Activestate products on your box 2) install only the free version of Perl from here http://www.activestate.com/activeperl/downloads 3) start again > 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 > [email protected] > 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> > > > *Version of Perl:* > > Microsoft Windows [Version 5.2.3790] > (C) Copyright 1985-2003 Microsoft Corp. > C:\Documents and Settings\mgupta>perl -v > This is perl, v5.6.1 built for MSWin32-x86-multi-thread This is also a very very old version of Perl > (with 1 registered patch, see perl -V for more detail) > Copyright 1987-2001, Larry Wall > Binary build 638 provided by ActiveState Corp. > http://www.ActiveState.com<http://www.activestate.com/> > ActiveState is a division of Sophos. > Built Apr 13 2004 19:24:21 > Perl may be copied only under the terms of either the Artistic License or > the > GNU General Public License, which may be found in the Perl 5 source kit. > Complete documentation for Perl, including FAQ lists, should be found on > this system using `man perl' or `perldoc perl'. If you have access to the > Internet, point your browser at http://www.perl.com/, the Perl Home Page. > > > Thanks much in advance for being so kind to help. I will appreciate a > response back. > > Kind Regards, > Mayank Gupta. > 703-677-6984. > > > > > > ---------- Forwarded message ---------- > From: Mayank Gupta<[email protected]> > Date: Wed, Oct 6, 2010 at 11:15 PM > Subject: Question regarding DBI.pm for Perl, v5.6.1 built for MSWin32-x86 on > Windows 2003. > To: [email protected] > > > Hello, > > > I have a question regarding DBI.pm and hoping you will be able to help me > with an answer. I am working with a perl script and when I tried executing > the script, I got 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? I am using Perl, v5.6.1 built for > MSWin32-x86-multi-thread on Windows 2003. > > > > Thanks much in advance for being so kind to help. > >