简体   繁体   English

IIS 7上的Activestate Perl 5.14.2.1402和Perlfect搜索3.37 DB_File错误

[英]Activestate perl 5.14.2.1402 and Perlfect search 3.37 DB_File error on IIS 7

I am getting an error trying to install Perlfect search after I run setup.pl 运行setup.pl后尝试安装Perlfect搜索时出现错误

The required DB_File module was not found on your system

I've tried following the instructions from the Perlfect search readme and also from How do I install Perl 5.8 and Perlfect on IIS 7.5? 我尝试按照Perlfect搜索自述文件以及《 如何在IIS 7.5上安装Perl 5.8和Perlfect》中的说明进行操作。 on Serverfault but can't get past the step of running the setup.pl . 在Serverfault上运行,但无法超越运行setup.pl的步骤。

If you take a look at the DB_File PPM page you'll see that DB_File has not been built for Windows, either 32- or 64-bit. 如果查看DB_File PPM页面,您会看到尚未为Windows构建32位或64位DB_File If you look at one of the build logs you'll see that its because the build is disabled. 如果您查看其中一个构建日志,您会看到它是因为构建已禁用。 An older log reveals that it's disabled because ActiveState knows that Berkeley DB is not available, so the build will fail. 较旧的日志表明它已被禁用,因为ActiveState知道Berkeley DB不可用,因此构建将失败。

So, you'll need to either find a way to built it yourself, or alternatively see if you can get Strawberry Perl to work. 因此,您需要找到一种自行构建的方法,或者查看是否可以让Strawberry Perl工作。 According the the Win32 Perl Wiki entry Install DB File on Strawberry Perl that is fairly easy. 根据Win32 Perl Wiki条目, 在Strawberry Perl上安装DB File相当容易。

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

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