简体   繁体   English

如何在Windows的ActivePerl中手动安装DBD-Oracle 1.17?

[英]How can I manually Installing DBD-Oracle 1.17 in ActivePerl on Windows?

After installing Active Perl 5.8.8 Build 822 on WindowsXP, I do not see DBD-Oracle in "View All Packages" of Perl Package Manager. 在WindowsXP上安装Active Perl 5.8.8 Build 822后,在Perl软件包管理器的“查看所有软件包”中看不到DBD-Oracle。 The CPAN location of the same is http://search.cpan.org/dist/DBD-Oracle-1.17/ , but I don't know the process to manually install this tar(DBD-Oracle-1.17.tar.gz) in ActivePerl. 相同的CPAN位置是http://search.cpan.org/dist/DBD-Oracle-1.17/ ,但我不知道手动安装此tar(DBD-Oracle-1.17.tar.gz)的过程。在ActivePerl中。

Install Oracle Instant Client for Windows. 安装适用于Windows的Oracle Instant Client。

Do you really need to use ActivePerl 5.8.8 as the process is easier in 5.8.9.827 and above. 您是否真的需要使用ActivePerl 5.8.8,因为在5.8.9.827及更高版本中该过程更加容易。 Usually you just do: 通常,您只是这样做:

cpan P/PY/PYTHIAN/DBD-Oracle-1.17.tar.gz

and if you don't have Microsoft Visual C on your path it downloads MinGW and installs it. 如果您的路径上没有Microsoft Visual C,它将下载MinGW并进行安装。 I think if you are before 5.8.9 of ActivePerl you might have to install MinGW yourself with: 我认为,如果您未安装ActivePerl 5.8.9,则可能需要自己安装MinGW:

ppm install MinGW

but I think in 5.8.8 you will have to download, install and configure MinGW and dmake manually though, so you may not want to bother... 但我认为在5.8.8中,您将不得不手动下载,安装和配置MinGW和dmake,因此您可能不想打扰...

BTW, Do you really need to use DBD::Oracle 1.17? 顺便说一句,您真的需要使用DBD :: Oracle 1.17吗? That is really old now. 现在真的很老了。 1.26 is the latest. 最新的是1.26。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM