WWW::Mechanize::Firefox - OpenSuse-Linux 版本 12.1 上的安装问题
美好的一天,亲爱的 Perl 程序员。
我在 OpenSuse 12.1(这是一个在欧洲使用的 Linux 系统)上安装 WWW::Mechanize::Firefox 时遇到严重的问题:请参阅我在命令行中注意到的问题:
cpan shell -- CPAN exploration and modules installation (v1.960001)
Enter 'h' for help.
cpan[1]> install WWW::Mechanize::Firefox;
Fetching with HTTP::Tiny:
http://artfiles.org/cpan.org/authors/01mailrc.txt.gz
Going to read '/root/.cpan/sources/authors/01mailrc.txt.gz'
............................................................................DONE
Fetching with HTTP::Tiny:
http://artfiles.org/cpan.org/modules/02packages.details.txt.gz
Going to read '/root/.cpan/sources/modules/02packages.details.txt.gz'
Database was generated on Thu, 09 Feb 2012 23:13:21 GMT
HTTP::Date not available
..............
New CPAN.pm version (v1.9800) available.
[Currently running version is v1.960001]
You might want to try
install CPAN
reload cpan
to both upgrade CPAN.pm and run the new version without leaving
the current session.
..............................................................DONE
Fetching with HTTP::Tiny:
http://artfiles.org/cpan.org/modules/03modlist.data.gz
Going to read '/root/.cpan/sources/modules/03modlist.data.gz'
............................................................................DONE
Going to write /root/.cpan/Metadata
Warning: Cannot install WWW::Mechanize::Firefox;, don't know what it is.
Try the command
i /WWW::Mechanize::Firefox;/
to find objects with matching identifiers.
好吧 - 程序想要什么告诉我?
我有点迷失
顺便说一句这是什么意思:我还需要安装mozRepl
更新看看更新 - 你做什么认为?
cpan[2]> ^Cinstall WWW::Mechanize::Firefox
Caught SIGINT, trying to continue
Running install for module 'WWW::Mechanize::Firefox'
Running make for C/CO/CORION/WWW-Mechanize-Firefox-0.58.tar.gz
Giving up on '/root/.cpan/sources/authors/id/C/CO/CORION/WWW-Mechanize-Firefox-0.58.tar.gz'
Note: Current database in memory was generated on Thu, 09 Feb 2012 23:13:21 GMT
cpan[3]>
good day dear fellow perl-programmers.
i have serious install-troubles with WWW::Mechanize::Firefox on OpenSuse 12.1 (which is a linux system that is used here in Europe): see the issues that i noticed in the command-line:
cpan shell -- CPAN exploration and modules installation (v1.960001)
Enter 'h' for help.
cpan[1]> install WWW::Mechanize::Firefox;
Fetching with HTTP::Tiny:
http://artfiles.org/cpan.org/authors/01mailrc.txt.gz
Going to read '/root/.cpan/sources/authors/01mailrc.txt.gz'
............................................................................DONE
Fetching with HTTP::Tiny:
http://artfiles.org/cpan.org/modules/02packages.details.txt.gz
Going to read '/root/.cpan/sources/modules/02packages.details.txt.gz'
Database was generated on Thu, 09 Feb 2012 23:13:21 GMT
HTTP::Date not available
..............
New CPAN.pm version (v1.9800) available.
[Currently running version is v1.960001]
You might want to try
install CPAN
reload cpan
to both upgrade CPAN.pm and run the new version without leaving
the current session.
..............................................................DONE
Fetching with HTTP::Tiny:
http://artfiles.org/cpan.org/modules/03modlist.data.gz
Going to read '/root/.cpan/sources/modules/03modlist.data.gz'
............................................................................DONE
Going to write /root/.cpan/Metadata
Warning: Cannot install WWW::Mechanize::Firefox;, don't know what it is.
Try the command
i /WWW::Mechanize::Firefox;/
to find objects with matching identifiers.
well - what does the programme want to tell me?
i am a bit lost
btw what does that mean: do i also need to install mozRepl
update see tbe update - what do ya think?
cpan[2]> ^Cinstall WWW::Mechanize::Firefox
Caught SIGINT, trying to continue
Running install for module 'WWW::Mechanize::Firefox'
Running make for C/CO/CORION/WWW-Mechanize-Firefox-0.58.tar.gz
Giving up on '/root/.cpan/sources/authors/id/C/CO/CORION/WWW-Mechanize-Firefox-0.58.tar.gz'
Note: Current database in memory was generated on Thu, 09 Feb 2012 23:13:21 GMT
cpan[3]>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您正在使用 Perl 系统。从标准存储库或
devel:languages:perl 安装首先。
如果模块尚未打包,则回退到 CPAN。
MozRepl。下次做这样的基本事情就用搜索引擎吧。
You are using the system Perl. Install from the standard repository or
devel:languages:perl
first.Fall back to CPAN if the module is not packaged yet.
MozRepl. Use a search engine next time for such a basic thing.
是的;这是使用 cpan 脚本安装模块的正确方法。重要的几行是:
它们声明
make
、make test
和make install
运行成功。Yes; that is the correct way to install a module using the
cpan
script. The important lines are:They state that
make
,make test
andmake install
ran successfully.