| Store | Cart

Please help

From: Tuu Hoang <tuuh...@yahoo.com>
Thu, 30 Jul 2009 11:35:32 -0700 (PDT)
I am new with Perl. I install Perl in my PC at work. I can run Perl script normally.

But, now I start writing Perl script using DBI. I get the following error message when running that script:

C:\DATA\Data_Management\Perl>perl Test_DBI_2.pl
install_driver(Oracle) failed: Can't locate DBD/Oracle.pm in @INC (@INC contains
: C:/DATA/perl/site/lib C:/DATA/perl/lib .) at (eval 4) line 3.
Perhaps the DBD::Oracle perl module hasn't been fully installed,
or perhaps the capitalisation of 'Oracle' isn't right.
Available drivers: DBM, ExampleP, File, Proxy, SQLite, Sponge.
 at Test_DBI_2.pl line 10
 
I do some research and follow the instruction to download PPM package and run ppm command. It ran but have the following error:

Synchronizing Database ... 
  Downloading ActiveState Package Repository packlist ... failed 500 Can't connect to ppm4.activestate.com:80 (connect: Unknown error)
Synchronizing Database done
 
I rerun the perl script and it still have the same problem. 

1. Please let me know if that ppm command fail to build because the connection fail to connect to  ppm4.activestate.com:80  ?
2. Our Oracle server is on Solaris. Should I use DBD:Oracle or DBD:ODBC when I try to use DBI on Windows ?

Thanks.

Tuu Hoang


      
Recent Messages in this Thread
Tuu Hoang Jul 30, 2009 06:35 pm