Installation DBD
am 26.10.2005 15:37:04 von pviltard
Hello,
I have an Oracle 9iR2 , ActivePerl 5.8.7.
I downloaded DBI First, and DBD::Oracle 1.16 on the site Active PPM.
I have an error :
There is no oracle client libraries currently available for your
platform (MSWin
32-x86-multi-thread) in
http://ppm.activestate.com/libs/oracle-instant-client at
install_script line 25.
unlink C:\Perl\bin\ora_explain
unlink C:\Perl\bin\ora_explain.bat
I have the InstantClient_10_2 on c:\oracle\Ora92.
I desintalled the package I downloaded DBD::Oracle 1.15.
No Problem :
My Perl Program :
use DBI;
my $dbh = DBI->connect('dbi:Oracle:dev01','sh','sh')
or die "Couldn't connect to database : " . DBI-errstr;
Best Regards
Pascal VIltard.
RE: Installation DBD
am 26.10.2005 17:02:40 von Ron.Reidy
Pascal,
If you are using a newer version of AS Perl (greater than 5.6.x), AS
will not have a good working version of DBI or DBD::Oracle. You should
install as follows:
ppm install ftp://ftp.esoftmatic.com/outgoing/DBI/5.8.3/DBI.ppd
ppm install ftp://ftp.esoftmatic.com/outgoing/DBI/5.8.3/DBD-Oracle.ppd
You should be good to go after this.
--
Ron Reidy
Lead DBA
Array BioPharma, Inc.
-----Original Message-----
From: Pascal VILTARD [mailto:pviltard@mag.fr]=20
Sent: Wednesday, October 26, 2005 7:37 AM
To: dbi-users@perl.org
Subject: Installation DBD
Hello,=20
I have an Oracle 9iR2 , ActivePerl 5.8.7.
I downloaded DBI First, and DBD::Oracle 1.16 on the site Active PPM.
I have an error :=20
There is no oracle client libraries currently available for your
platform (MSWin
32-x86-multi-thread) in
http://ppm.activestate.com/libs/oracle-instant-client at install_script
line 25. unlink C:\Perl\bin\ora_explain unlink
C:\Perl\bin\ora_explain.bat
I have the InstantClient_10_2 on c:\oracle\Ora92.=20
I desintalled the package I downloaded DBD::Oracle 1.15.
No Problem :
My Perl Program :=20
use DBI;
my $dbh =3D DBI->connect('dbi:Oracle:dev01','sh','sh')=20
or die "Couldn't connect to database : " . DBI-errstr;
Best Regards
Pascal VIltard.
This electronic message transmission is a PRIVATE communication which =
contains
information which may be confidential or privileged. The information is =
intended=20
to be for the use of the individual or entity named above. If you are =
not the=20
intended recipient, please be aware that any disclosure, copying, =
distribution=20
or use of the contents of this information is prohibited. Please notify =
the
sender of the delivery error by replying to this message, or notify us =
by
telephone (877-633-2436, ext. 0), and then delete it from your system.