Problems while installing WWW::Mechanize::Firefox

I am using the windows 8 operating system and I am trying to install the WWW::Mechanize::Firefox module in ActiveState Perl, from CPAN. I have successfully downloaded and installed all the dependencies and also installed the MozRepl module on Firefox. I do not have noScript running on my firefox and hence I am assuming that Javascript is enabled across all files (I am not sure how or where to check that). Here is my error message when I try to install the module.

在这里输入图像描述

I also constantly receive this error throughout the installation - "Subroutine-MozRepl-Load Plugins redefined at line 104." Any help is much appreciated ! Thank you !

EDIT - These are the errors - 在这里输入图像描述


As Kim suggested in comments, you will need Mozrepl and Firefox.

Please refer WWW::Mechanize::Firefox::Installation page for detailed instructions on how to install this module.

If you use ActiveStates package manager, you can find some pre-packaged but untested PPMs at https://github.com/Corion/www-mechanize-firefox/downloads .


I needed to use this module on Windows, and couldn't get it running with ActivePerl. So I installed http://strawberryperl.com/ and it worked. This version of perl seems to handle installs form the cpan command line utility better than Activestate, who expect you to use their perl package manager as the default module installer (and don't supply a dmake program). Strawberry Perl also comes with a C compiler so can build modules that are a mixture of Perl and C code.

And make sure mozrepl is running before you try to install.

链接地址: http://www.djcxy.com/p/57520.html

上一篇: 无法在无头模式下运行Firefox

下一篇: 安装WWW :: Mechanize :: Firefox时出现问题