This content has been marked as final. Show 5 replies
Can you please tell us which release of oracle you are trying to install 9i, 10g or 11g?
Why are you using cygwin to do that is the installation on a unix server? Please explain a bit more.
What is your perl command?
perl -MCPAN -e 'install DBI'
perl -MCPAN -e 'install DBD::Pg'
Have you added in your PATH "C:\Perl\lib;C:\Perl\site\lib" to the 'PATH' and/or 'PERL5LIB' environment variable ?
Please control that also.
Edited by: Hub on Oct 27, 2008 7:36 PM
Thanks for the prompt reply. Am connecting to 9i.
Here is the update, though not checked whether its working or not -
DOS> ppm install DBD::Oracle
--This didn't throw up any error. Also, when I do "ppm" on my DOS prompt it shows DBD::Oracle as installed !! Will try executing a query when I get to my Desktop.
you are welcome, have you ensured that all the variables are set on your clients?
can you please put the query you are trying?
Well the command --
"ppm install DBD::Oracle " -- from DOS
worked out ! I didn't have any need at all to set any variables !!
My current setup - Windows server, Perl scripts run on Cygwin, Oracle9i.
So your error
Can't locate DBI.pm in @INC (@INC contains: /usr/lib/perl5/5.8/cygwin ........
Does it still exist or is it fixed?
Please control also your PATH and variables in set in windows, the output would be appreciated.