|go ahead... be a heretic|
Cannot install DBIby NeilF (Sexton)
|on Feb 01, 2006 at 14:13 UTC||Need Help??|
NeilF has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to do some simple MYSQL stuff on my Windows XP machine. Basically I'm trying to read into the VBulletin MYSQL database with perl.
I downloaded phptriad2-2-1.exe which set everything I needed MYSQL and PHP wise, but also has installed me another copy of apache. Any how... the main thing is I now have VBulleting and a database on my machine.
HOWEVER, when I now try running a perl script, the moment it gets to a "USE DBI;" statement it causes an Internel System Error, and the error log reports:-
Can't locate DBI.pm in @INC (@INC contains: c:/usr/lib c:/usr/site/lib .) at c:/blahblah/db.pl line 3.
This same error message occurs no matter which of the two version of apache I now have.
The interesting thing is I can see in "C:\usr\perl\site\lib" the following stuff:-
A "DBI" directory
I expect this other directory is from one of my numerous different perl/apache installs over the years?
Anyway, I tried installing DBI by using PPM but always get:- Error installing package 'DBD-Mysql': Could not local PPD file for package DBD-Mysql.
If I type "search" I get:-
Packages available from "http://ww.activestate.com/Packages/:" and nothing else...