A simple perl Makefile.PL will not install, but rather just put together a
Makefile.  You must also run nmake install, but for that you must have a
Visual C++ compiler installed.

But because you are using Windows 2000, this is easily done with the utility
that comes with it called PPM.  You can look at the docs for more info.

If you have an active internet connection, with no firewall/proxy, just go
to command prompt and say...

ppm install http://www.xmlproj.com/PPM/DBI-1_20.ppd

Then you must install the driver for you database before you can use DBI.
If you are using Oracle, then the latest version is also at XMLPROJ site.

ppm install http://www.xmlproj.com/PPM/DBD-Oracle-1_12.ppd


To install other drivers, like if you were using MySQL, they are on the
ActiveState's repository, so you can say...

ppm install DBD-MySQL

See perldoc DBI after you install DBI for info on different drivers for
different databases.

The reason you are getting the @INC error is because DBI is not installed.

Ilya

-----Original Message-----
From: rada
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: 1/11/02 10:29 AM
Subject: Can't locate object for module DBI in @INC !!

hi all,
           I am trying to learn perl  to do database applications with
Oracle.
I had installed Active prerl 5.6 version windows 2000, where i can work
out sample scripts .
Then i download DBI module v 1.2 to do database applications.I intalled
it using by typing   PERL Makefile.pl at command prompt. I think it is
installed .
After i installed DBD::Oracle module  version 1.2 and then i am trying
to install it by typing command prompt 
C:> perl makefile.pl ..it is giving error , the error are follows
     Can't locate loadable object for module DBI in @INC
contacins:c:/perl/.. at line 189 .    copiliation aborted at line 189 .

I Didn't get this error .Can any one help me out with this problem !!

If i want to reinstall perl with different versions or modules versions
for database application . Please give me the URL where can i get exact
versions of perl with DBI modules.

Advance thanks for your help !!

Regards ,

hari



Reply via email to