如何安装DBD :: Advantage

时间:2011-09-14 06:06:25

标签: windows linux perl dbi advantage-database-server

我尝试在Linux和Windows上使用DBD :: Advantage而没有运气。 Windows版本附带似乎是一个完整的安装程序,但它留下了DBD-Advantage-8.10.tar.gz。在Linux下,我完成了make && make test && make install系列,但无论我在两个平台上都遇到以下错误。

install_driver(Advantage) failed: Can't locate loadable object for module
DBD::Advantage in @INC (@INC contains: /usr/local/lib/perl5 /usr/local/share/perl5
/usr/lib/perl5 /usr/share/perl5 ...... several other folders.  
  • AdvantageDatabase 8.1
  • Perl版本在Linux上为5.12.4,在Win2008上为5.12.3 Strawberry Perl。

2 个答案:

答案 0 :(得分:1)

来自安装中包含的[readme.txt]:

==

Advantage DBI驱动程序包含在DBD-Advantage.X.XX.tar.gz文件中。您可以通过运行来提取它:      tar -zxvf DBD-Advantage.X.XX.tar.gz

==

在Windows上,您应该能够使用诸如winrar之类的实用程序提取文件

答案 1 :(得分:0)

如果在@INC路径中找不到该模块,则安装可能会失败。我尝试通过perl ./Makefile.PL手动添加包,看看是否失败。

如果@INC路径中的模块 ,则可能只是权限问题。

相关问题